Edit

Share via


DXGK_BRIGHTNESS_INTERFACE structure (dispmprt.h)

The DXGK_BRIGHTNESS_INTERFACE structure contains pointers to the kernel-mode display driver's (KMD) functions for Version 1 of the Panel Brightness Control Interface.

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

[in] The size, in bytes, of this structure.

Version

[in] The version number of the brightness interface. Must be DXGK_BRIGHTNESS_INTERFACE_VERSION_1 for this structure. Version number constants are defined in Dispmprt.h.

Context

[out] A pointer to a private context block.

InterfaceReference

[out] A pointer to an interface reference function that is implemented by the KMD.

InterfaceDereference

[out] A pointer to an interface dereference function that is implemented by the KMD.

GetPossibleBrightness

[out] A pointer to the KMD's DxgkDdiGetPossibleBrightness function.

SetBrightness

[out] A pointer to the KMD's DxgkDdiSetBrightness function.

GetBrightness

[out] A pointer to the KMD's DxgkDdiGetBrightness function.

Remarks

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

For more information, see Supporting brightness controls on integrated display panels.

Requirements

Requirement Value
Minimum supported client Windows Vista
Header dispmprt.h (include Dispmprt.h)

See also

DXGK_BRIGHTNESS_INTERFACE_3

DXGK_BRIGHTNESS_INTERFACE_2

DxgkDdiGetBrightness

DxgkDdiGetPossibleBrightness

DxgkDdiQueryInterface

DxgkDdiSetBrightness

QUERY_INTERFACE