The required GetGray routine describes the behavior of subsequent SetEntries control calls to indexed devices.
OSErr = Status(theDeviceRefNum, cscGetGray, &theVDGrayRecord );
The csMode parameter returns 0 if luminance mapping is disabled or 1 if it is enabled.