Important: The information in this document is obsolete and should not be used for new development.
DBKill
Use theDBKill
function to cancel the execution of an asynchronous routine.
FUNCTION DBKill (asyncPB: DBAsyncParmBlkPtr): OSErr;
asyncPB
- A pointer to an asynchronous parameter block.
DESCRIPTION
TheDBKill
function cancels the execution of the asynchronous call specified by theasyncPB
parameter.SPECIAL CONSIDERATIONS
TheDBKill
function may move or purge memory. You should not call this routine from within an interrupt, such as in a completion routine or a VBL task.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theDBKill
function are
Trap macro Selector _DBKill $020E RESULT CODES
noErr 0 No error rcDBError -802 Error canceling routine rcDBBadAsynchPB -810 Invalid parameter block specified rcDBPackNotInited -813 The InitDBPack
function has not yet been calledSEE ALSO
For a description of the asynchronous parameter block, see page 12-56.