// d3dkmdt.h
typedef struct _DXGK_BRIGHTNESS_SENSOR_DATA {
UINT32 Size;
union {
struct {
UINT AlsReadingValid : 1;
UINT ChromaticityValid : 1;
UINT ColorTemperatureValid : 1;
UINT Reserved : 29;
} Flags;
UINT ValidSensorValues;
};
float AlsReading;
DXGK_BRIGHTNESS_SENSOR_DATA_CHROMATICITY Chromaticity;
float ColorTemperature;
} DXGK_BRIGHTNESS_SENSOR_DATA;
View the official Windows Driver Kit DDI referenceNo description available.
Describes the sensor data brightness.
FlagsFlags that represent the type of brightness for the sensor data.
Flags.AlsReadingValidThe ALS reading is valid.
Flags.ChromaticityValidThe chromaticity is valid.
Flags.ColorTemperatureValidThe color temperature is valid.
Flags.ReservedReserved.
ValidSensorValuesA bitmask that represents which sensor values are valid. The valid flags may change between calls. Not all devices will support all or any of the sensor types.
SizeThe size of the structure. Fields for new sensor types will always be added to the end of the structure if it is revised in future updates.
AlsReadingLuminance in lux, measured by an ALS sensor.
ChromaticityA DXGK_BRIGHTNESS_SENSOR_DATA_CHROMATICITY structure that contains CIE 1931 chromaticity coordinates from a color sensor.
ColorTemperatureColor temperature in Kelvin, measured by a color sensor.