DBRemoveResultHandler
You can use the DBRemoveResultHandler function to remove an application result handler.
FUNCTION DBRemoveResultHandler (dataType: DBType): OSErr;
dataType
- The type of result handler to remove.
DESCRIPTION
The DBRemoveResultHandler function removes from memory the specified application result handler. This function cannot remove a system result handler.
SPECIAL CONSIDERATIONS
The DBRemoveResultHandler 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 the DBRemoveResultHandler function are
| Trap macro | Selector |
| _DBRemoveResultHandler | $0215 |
RESULT CODES
| noErr | 0 | No error |
| rcDBNoHandler | -811 | There is no handler for this data type installed for the current application |
| rcDBPackNotInited | -813 | The InitDBPack function has not yet been called |
SEE ALSO
For a discussion of result handlers, see "Converting Query Results to Text" beginning on page 12-43.