DXGK_BRIGHTNESS_SET_IN - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dkmdt-_dxgk_brightness_set_in)

_DXGK_BRIGHTNESS_SET_IN structure

Description

Contains input parameters for the DxgkBrightnessSet3 callback function.

Members

BrightnessMillinits

The 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%.

TransitionTimeMs

How long the transition should take in milliseconds.

SensorReadings

A 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.