DXGK_BRIGHTNESS_INTERFACE structure (dispmprt.h)

The DXGK_BRIGHTNESS_INTERFACE structure contains pointers to functions in the Panel Brightness Control Interface, which is implemented by the display miniport driver.

Syntax

typedef struct {
  IN USHORT                        Size;
  IN USHORT                        Version;
  OUT PVOID                        Context;
  OUT PINTERFACE_REFERENCE         InterfaceReference;
  OUT PINTERFACE_DEREFERENCE       InterfaceDereference;
  OUT DXGK_BRIGHTNESS_GET_POSSIBLE GetPossibleBrightness;
  OUT DXGK_BRIGHTNESS_SET          SetBrightness;
  OUT DXGK_BRIGHTNESS_GET          GetBrightness;
} DXGK_BRIGHTNESS_INTERFACE, *PDXGK_BRIGHTNESS_INTERFACE;

Members

Size

The size, in bytes, of this structure.

Version

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

Context

A pointer to a private context block.

InterfaceReference

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

InterfaceDereference

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

GetPossibleBrightness

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

SetBrightness

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

GetBrightness

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

Remarks

A kernel-mode component that must use the brightness interface initiates a call to the display miniport driver's DxgkDdiQueryInterface function to retrieve the interface and passes GUID_DEVINTERFACE_BRIGHTNESS in the InterfaceType member of the QUERY_INTERFACE structure that the QueryInterface parameter points to.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header dispmprt.h (include Dispmprt.h)

See also

DXGK_BRIGHTNESS_INTERFACE_2

DxgkDdiGetBrightness

DxgkDdiGetPossibleBrightness

DxgkDdiQueryInterface

DxgkDdiSetBrightness

QUERY_INTERFACE