Important: The information in this document is obsolete and should not be used for new development.
GDeviceChanged
If you modify the content of aGDevicerecord (described in the chapter "Graphics Devices" in this book), use theGDeviceChangedprocedure.
PROCEDURE GDeviceChanged (gdh: GDHandle);DESCRIPTION
TheGDeviceChangedprocedure notifies Color QuickDraw that your application has changed theGDevicerecord specified in thegdhparameter.If your application changes the
pmTablefield of thePixMaprecord specified in aGDevicerecord, your application should callGDeviceChanged. If your application changes the content of theColorTablerecord referenced by thePixMaprecord, it should callGDeviceChangedandCTabChangedas well.SPECIAL CONSIDERATIONS
TheGDeviceChangedprocedure may move or purge memory in the application heap. Your application should not call theGDeviceChangedprocedure at interrupt time.Your application should never need to directly modify a
GDevicerecord and use theGDeviceChangedprocedure; instead, your application should use the QuickDraw routines described in this book for manipulating the values in aGDevicerecord.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theGDeviceChangedprocedure are
Trap macro Selector _QDExtensions $0004000A