Important: The information in this document is obsolete and should not be used for new development.
DBDisposeQuery
When you are finished using a query record, callDBDisposeQuery
to dispose of the query record.
FUNCTION DBDisposeQuery (query: QueryHandle): OSErr;
query
- A handle to the query record to dispose.
DESCRIPTION
TheDBDisposeQuery
function disposes of a query record and frees all the memory that the Data Access Manager allocated when it created the query record.SPECIAL CONSIDERATIONS
TheDBDisposeQuery
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 theDBDisposeQuery
function are
Trap macro Selector _DBDisposeQuery $0210 RESULT CODES
noErr 0 No error rcDBPackNotInited -813 The InitDBPack
function has not yet been calledSEE ALSO
See Listing 12-1 beginning on page 12-18 for an example of the use of theDBDisposeQuery
function in the high-level interface. For a description of the query record, see page 12-57.