Important: The information in this document is obsolete and should not be used for new development.
DisposeGDevice
Although your application generally should never need to use this routine, theDisposeGDevice
procedure disposes of aGDevice
record, releases the space allocated for it, and disposes of all the data structures allocated for it. TheDisposeGDevice
procedure is also available as theDisposGDevice
procedure.
PROCEDURE DisposeGDevice (gdh: GDHandle);
gdh
- A handle to the
GDevice
record.DESCRIPTION
TheDisposeGDevice
procedure disposes of aGDevice
record, releases the space allocated for it, and disposes of all the data structures allocated for it. Color QuickDraw calls this procedure when appropriate.SEE ALSO
When your application uses theDisposeGWorld
procedure to dispose of an offscreen graphics world,DisposeGDevice
disposes of itsGDevice
record. See the chapter "Offscreen Graphics Worlds" in this book for a description ofDisposeGWorld
.