DXGK_BRIGHTNESS_STATE structure (d3dkmdt.h)

Used to enable smooth brightness control for an integrated display panel. The display miniport driver must enable smooth brightness control when its DxgkDdiSetBrightnessState function is called and BrightnessState->SmoothBrightness is set to 1.Used by Windows Display Driver Model (WDDM) 1.2 and later display miniport drivers.

Syntax

typedef struct _DXGK_BRIGHTNESS_STATE {
  union {
    struct {
      UINT SmoothBrightness : 1;
      UINT Reserved : 31;
    };
    [in] UINT Value;
  };
} DXGK_BRIGHTNESS_STATE;

Members

[in] SmoothBrightness

If set, the display miniport driver must enable smooth brightness control on the display panel.

Setting this member is equivalent to setting the first bit of a 32-bit value (0x00000001).

[in] Reserved

This member is reserved and should be set to zero. Setting this member is equivalent to setting the remaining 31 bits (0xFFFFFFFE) of a 32-bit value to zeros.

[in] Value

A member in the union that DXGK_BRIGHTNESS_STATE contains that can hold one 32-bit value that identifies information about whether the display miniport driver must support smooth brightness control.

Remarks

Do not assume that the SmoothBrightness members of DXGK_BRIGHTNESS_STATE and DXGK_BRIGHTNESS_CAPS are the same. DXGK_BRIGHTNESS_STATE.SmoothBrightness is used to enable smooth brightness control on an integrated display panel. DXGK_BRIGHTNESS_CAPS.SmoothBrightness is used to query smooth brightness control capabilities of the display panel.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header d3dkmdt.h

See also

DxgkDdiSetBrightnessState