// d3dkmdt.h
typedef struct _DXGK_BRIGHTNESS_SET_IN {
UINT32 BrightnessMillinits;
UINT32 TransitionTimeMs;
DXGK_BRIGHTNESS_SENSOR_DATA SensorReadings;
} DXGK_BRIGHTNESS_SET_IN, *PDXGK_BRIGHTNESS_SET_IN;
View the official Windows Driver Kit DDI referenceNo description available.
Contains input parameters for the DxgkBrightnessSet3 callback function.
BrightnessMillinitsThe brightness level in millinits to transition to. If the driver has not set DXGK_BRIGHTNESS_CAPS.NitsBrightness, then this value means the brightness level in uncalibrated thousandths of a percent.
For example, if BrightnessMillinits is set to 60500 and NitsBrightness is set, this means 60.5 nits luminance. If NitsBrightness is not set, this means 60.5%.
TransitionTimeMsHow long the transition should take in milliseconds.
SensorReadingsA DXGK_BRIGHTNESS_SENSOR_DATA structure that contains sensor readings the driver can use to determine the best way to achieve the desired brightness under current lighting conditions. Not all devices will support all or any sensor readings, and the driver should not fail if any are missing.