Important: The information in this document is obsolete and should not be used for new development.
dspCLRemove
ThedspCLRemove
routine closes a connection end used as a connection listener. You use thePBControl
function to call thedspCLRemove
routine. See "Routines" on page 5-43 for a description of thePBControl
function.
--> ioCompletion ProcPtr A pointer to a completion routine. <-- ioResult OSErr The function result. --> ioCRefNum Integer The driver reference number. --> csCode Integer Always dspCLRemove
for this function.--> ccbRefNum Integer The CCB reference number. --> abort Byte A value specifying to abort outstanding
requests if not 0.
Field Description
csCode
- The routine selector, always
dspCLRemove
for this routine.ccbRefNum
- The connection control block (CCB) reference number that the
dspCLInit
routine returned.abort
- A value directing ADSP whether or not to cancel any outstanding listen and deny requests. If this value is nonzero, ADSP cancels outstanding
dspCLListen
anddspCLDeny
requests. If this value is 0, ADSP does not cancel these requests.DESCRIPTION
ThedspCLRemove
routine closes a connection end used as a connection listener. After you call thedspCLRemove
routine, you can release the memory that you allocated for the CCB if you do not intend to reopen the connection end.ASSEMBLY-LANGUAGE INFORMATION
To execute thedspCLRemove
routine from assembly language, call the_Control
trap macro with a value ofdspCLRemove
in thecsCode
field of the parameter block.RESULT CODES
noErr 0 No error errRefNum -1280 Bad connection reference number