// ntddvdeo.h
typedef struct _PANEL_SET_BRIGHTNESS {
BRIGHTNESS_INTERFACE_VERSION Version;
union {
UCHAR Level;
struct {
ULONG Millinits;
ULONG TransitionTimeInMs;
PANEL_BRIGHTNESS_SENSOR_DATA SensorData;
};
};
} PANEL_SET_BRIGHTNESS, *PPANEL_SET_BRIGHTNESS;
View the official Windows Driver Kit DDI referenceNo description available.
Directs the driver to linearly ramp the brightness from its current brightness level to a target brightness level over a specified length of time.
MillinitsThe brightness level in millinits to transition to.
TransitionTimeInMsHow long the transition should take.
SensorDataContains 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.
LevelThe optimization level of brightness control.
VersionThe target version. This value should always be DXGK_BRIGHTNESS_INTERFACE_VERSION_3.