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: QuickDraw GX Environment and Utilities /
Chapter 6 - Message Manager / Message Manager Reference
Functions / Allocating Memory for and Disposing of Global Data


DisposeMessageGlobals

You can use the DisposeMessageGlobals 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
The DisposeMessageGlobals 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.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996