Important: The information in this document is obsolete and should not be used for new development.
dspCLRemove
ThedspCLRemoveroutine closes a connection end used as a connection listener. You use thePBControlfunction to call thedspCLRemoveroutine. See "Routines" on page 5-43 for a description of thePBControlfunction.
--> ioCompletion ProcPtr A pointer to a completion routine. <-- ioResult OSErr The function result. --> ioCRefNum Integer The driver reference number. --> csCode Integer Always dspCLRemovefor 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
dspCLRemovefor this routine.ccbRefNum- The connection control block (CCB) reference number that the
dspCLInitroutine 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
dspCLListenanddspCLDenyrequests. If this value is 0, ADSP does not cancel these requests.DESCRIPTION
ThedspCLRemoveroutine closes a connection end used as a connection listener. After you call thedspCLRemoveroutine, 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 thedspCLRemoveroutine from assembly language, call the_Controltrap macro with a value ofdspCLRemovein thecsCodefield of the parameter block.RESULT CODES
noErr 0 No error errRefNum -1280 Bad connection reference number