PANEL_SET_BRIGHTNESS structure (ntddvdeo.h)

Directs the driver to linearly ramp the brightness from its current brightness level to a target brightness level over a specified length of time.

Syntax

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;

Members

Version

The target version. This value should always be DXGK_BRIGHTNESS_INTERFACE_VERSION_3.

Level

The optimization level of brightness control.

Millinits

The brightness level in millinits to transition to.

TransitionTimeInMs

How long the transition should take.

SensorData

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.

Requirements

Requirement Value
Header ntddvdeo.h