Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Interapplication Communication /
Chapter 12 - Data Access Manager / Data Access Manager Reference
Data Access Manager Routines / Installing and Removing Result Handlers


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 macroSelector
_DBRemoveResultHandler$0215

RESULT CODES
noErr0No error
rcDBNoHandler-811There is no handler for this data type installed for the current application
rcDBPackNotInited-813The 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.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996