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, callDBDisposeQueryto dispose of the query record.
FUNCTION DBDisposeQuery (query: QueryHandle): OSErr;
query- A handle to the query record to dispose.
DESCRIPTION
TheDBDisposeQueryfunction disposes of a query record and frees all the memory that the Data Access Manager allocated when it created the query record.SPECIAL CONSIDERATIONS
TheDBDisposeQueryfunction 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 theDBDisposeQueryfunction are
Trap macro Selector _DBDisposeQuery $0210 RESULT CODES
noErr 0 No error rcDBPackNotInited -813 The InitDBPackfunction has not yet been calledSEE ALSO
See Listing 12-1 beginning on page 12-18 for an example of the use of theDBDisposeQueryfunction in the high-level interface. For a description of the query record, see page 12-57.