Important: The information in this document is obsolete and should not be used for new development.
GDeviceChanged
If you modify the content of aGDevice
record (described in the chapter "Graphics Devices" in this book), use theGDeviceChanged
procedure.
PROCEDURE GDeviceChanged (gdh: GDHandle);DESCRIPTION
TheGDeviceChanged
procedure notifies Color QuickDraw that your application has changed theGDevice
record specified in thegdh
parameter.If your application changes the
pmTable
field of thePixMap
record specified in aGDevice
record, your application should callGDeviceChanged
. If your application changes the content of theColorTable
record referenced by thePixMap
record, it should callGDeviceChanged
andCTabChanged
as well.SPECIAL CONSIDERATIONS
TheGDeviceChanged
procedure may move or purge memory in the application heap. Your application should not call theGDeviceChanged
procedure at interrupt time.Your application should never need to directly modify a
GDevice
record and use theGDeviceChanged
procedure; instead, your application should use the QuickDraw routines described in this book for manipulating the values in aGDevice
record.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theGDeviceChanged
procedure are
Trap macro Selector _QDExtensions $0004000A