Important: The information in this document is obsolete and should not be used for new development.
DisposeMessageGlobals
You can use theDisposeMessageGlobals
function to dispose of globals and deallocate their memory blocks.
OSErr DisposeMessageGlobals (void);
- function result
- An error of type
OSErr indicating that the globals are not disposed of.
DESCRIPTION
TheDisposeMessageGlobals
function disposes of all globals and deallocates the memory used by your printing extension or printer driver for globals. You should use this function to free memory whenever your printing extension or printer driver no longer requires globals.SEE ALSO
Global data and the A5 world are discussed in the sections "Global Data Storage for Printing Extensions and Printer Drivers" beginning on page 6-7 and "Allocating Memory for and Disposing of Global Data" beginning on page 6-8.To allocate memory for globals, use the
NewMessageGlobals
function described in the previous section.