OSErrGetGammaTable(GDHandlegd,GammaTblPtr*ppTableGammaOut);// Returns the device gamma table pointer in ppDeviceTable
PtrCreateEmptyGammaTable(shortchannels,shortentries,shortbits);// creates an empty gamma table of a given size, assume no formula data will be used
PtrCopyGammaTable(GammaTblPtrpTableGammaIn);// given a pointer toa device gamma table properly iterates and copies
voidDisposeGammaTable(PtrpGamma);// disposes gamma table returned from GetGammaTable, GetDeviceGamma, or CopyGammaTable
PtrGetDeviceGamma(GDHandlehGD);// returns pointer to copy of orginal device gamma table in native format
voidRestoreDeviceGamma(GDHandlehGD,PtrpGammaTable);// sets device to saved table
// 5/20/99: (GGS) added system wide gamma get and restore
PtrGetSystemGammas(void);// returns a pointer to a set of all current device gammas in native format
// (returns NULL on failure, which means reseting gamma will not be possible)
voidRestoreSystemGammas(PtrpSystemGammas);// restores all system devices to saved gamma setting
voidDisposeSystemGammas(Ptr*ppSystemGammas);// iterates through and deletes stored gamma settings
BooleanGetDeviceGammaRampGD(GDHandlehGD,PtrpRamp);// retrieves the gamma ramp from a graphics device (pRamp: 3 arrays of 256 elements each)
BooleanGetDeviceGammaRampGW(GWorldPtrpGW,PtrpRamp);// retrieves the gamma ramp from a graphics device associated with a GWorld pointer (pRamp: 3 arrays of 256 elements each)
BooleanGetDeviceGammaRampCGP(CGrafPtrpGraf,PtrpRamp);// retrieves the gamma ramp from a graphics device associated with a CGraf pointer (pRamp: 3 arrays of 256 elements each)
BooleanSetDeviceGammaRampGD(GDHandlehGD,PtrpRamp);// sets the gamma ramp for a graphics device (pRamp: 3 arrays of 256 elements each (R,G,B))
BooleanSetDeviceGammaRampGW(GWorldPtrpGW,PtrpRamp);// sets the gamma ramp for a graphics device associated with a GWorld pointer (pRamp: 3 arrays of 256 elements each (R,G,B))
BooleanSetDeviceGammaRampCGP(CGrafPtrpGraf,PtrpRamp);// sets the gamma ramp for a graphics device associated with a CGraf pointer (pRamp: 3 arrays of 256 elements each (R,G,B))