DXGK_BRIGHTNESS_INTERFACE_2 structure (dispmprt.h)

The DXGK_BRIGHTNESS_INTERFACE_2 structure contins pointers to functions in the Panel Brightness Control Interface Version 2. Used by Windows Display Driver Model (WDDM) 1.2 and later display miniport drivers that support adaptive and smooth brightness control.

Syntax

typedef struct {
  [in]  IN USHORT                                      Size;
  [in]  IN USHORT                                      Version;
  [in]  OUT PVOID                                      Context;
  [out] OUT PINTERFACE_REFERENCE                       InterfaceReference;
  [out] OUT PINTERFACE_DEREFERENCE                     InterfaceDereference;
  [out] OUT DXGK_BRIGHTNESS_GET_POSSIBLE               GetPossibleBrightness;
  [out] OUT DXGK_BRIGHTNESS_SET                        SetBrightness;
  [out] OUT DXGK_BRIGHTNESS_GET                        GetBrightness;
  [out] OUT DXGK_BRIGHTNESS_GET_CAPS                   GetBrightnessCaps;
  [out] OUT DXGK_BRIGHTNESS_SET_STATE                  SetBrightnessState;
  [out] OUT DXGK_BRIGHTNESS_SET_BACKLIGHT_OPTIMIZATION SetBacklightOptimization;
  [out] OUT DXGK_BRIGHTNESS_GET_BACKLIGHT_REDUCTION    GetBacklightReduction;
} DXGK_BRIGHTNESS_INTERFACE_2, *PDXGK_BRIGHTNESS_INTERFACE_2;

Members

[in] Size

The size, in bytes, of this structure.

[in] Version

The version number of the brightness interface. Version number constants are defined in Dispmprt.h (for example, DXGK_BRIGHTNESS_INTERFACE_VERSION_2).

[in] Context

A pointer to a private context block.

[out] InterfaceReference

A pointer to an interface reference function that is implemented by the display miniport driver.

[out] InterfaceDereference

A pointer to an interface dereference function that is implemented by the display miniport driver.

[out] GetPossibleBrightness

A pointer to the display miniport driver's DxgkDdiGetPossibleBrightness function.

[out] SetBrightness

A pointer to the display miniport driver's DxgkDdiSetBrightness function.

[out] GetBrightness

A pointer to the display miniport driver's DxgkDdiGetBrightness function.

[out] GetBrightnessCaps

A pointer to the display miniport driver's DxgkDdiGetBrightnessCaps function. This function is available starting with Windows 8.

[out] SetBrightnessState

A pointer to the display miniport driver's DxgkDdiSetBrightnessState function. This function is available starting with Windows 8.

[out] SetBacklightOptimization

A pointer to the display miniport driver's DxgkDdiSetBacklightOptimization function. This function is available starting with Windows 8.

[out] GetBacklightReduction

A pointer to the display miniport driver's DxgkDdiGetBacklightReduction function. This function is available starting with Windows 8.

Remarks

This structure provides additional members, beyond those in the DXGK_BRIGHTNESS_INTERFACE interface, that point to driver-implemented functions that control, measure, and optimize display panel brightness and allow smooth brightness control.

For more information on this interface, see Brightness Control Interface V. 2 (Adaptive and Smooth Brightness Control).

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header dispmprt.h (include Dispmprt.h)

See also

DXGK_BRIGHTNESS_INTERFACE