// d3dkmthk.h
typedef struct _D3DKMT_BRIGHTNESS_INFO {
D3DKMT_BRIGHTNESS_INFO_TYPE Type;
ULONG ChildUid;
union {
D3DKMT_BRIGHTNESS_POSSIBLE_LEVELS PossibleLevels;
UCHAR Brightness;
DXGK_BRIGHTNESS_CAPS BrightnessCaps;
DXGK_BRIGHTNESS_STATE BrightnessState;
DXGK_BACKLIGHT_OPTIMIZATION_LEVEL OptimizationLevel;
DXGK_BACKLIGHT_INFO ReductionInfo;
BOOLEAN VerboseLogging;
DXGK_BRIGHTNESS_GET_NIT_RANGES_OUT NitRanges;
DXGK_BRIGHTNESS_GET_OUT GetBrightnessMillinits;
DXGK_BRIGHTNESS_SET_IN SetBrightnessMillinits;
D3DKMT_BRIGHTNESS_INTERFACE_VERSION BrightnessInterfaceSupported;
};
} D3DKMT_BRIGHTNESS_INFO;
View the official Windows Driver Kit DDI referenceNo description available.
Contains information about the brightness of an integrated display panel.
TypeA value of type D3DKMT_BRIGHTNESS_INFO_TYPE that indicates the type of brightness information to retrieve or set.
PossibleLevelsA D3DKMT_BRIGHTNESS_POSSIBLE_LEVELS structure that contains information about all possible brightness levels that the integrated display panel supports.
BrightnessThe current brightness level.
BrightnessCapsA DXGK_BRIGHTNESS_CAPS structure that represents the brightness control capabilities of the integrated display panel.
BrightnessStateA DXGK_BRIGHTNESS_STATE structure that represents the smooth brightness control capabilities of the integrated display panel.
OptimizationLevelA DXGK_BACKLIGHT_OPTIMIZATION_LEVEL structure that represents the optimization level of brightness control.
ReductionInfoA value of type DXGK_BACKLIGHT_INFO that provides the current absolute level of backlight reduction.
VerboseLoggingA boolean value that indicates whether Event Tracing for Windows (ETW) logging of brightness information should be verbose.
NitRangesList of supported nit ranges.
GetBrightnessMillinitsQueries the driver for the current brightness level, in millinits.
SetBrightnessMillinitsDirects the driver to linearly ramp the brightness from its current brightness level to a target brightness level over a specified length of time.
ChildUidAn integer that uniquely identifies the child device.
D3DKMT_BRIGHTNESS_POSSIBLE_LEVELS
DXGK_BACKLIGHT_OPTIMIZATION_LEVEL