展開 最小化

DXGK_BRIGHTNESS_INTERFACE structure

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 {
  USHORT                       Size;
  USHORT                       Version;
  PVOID                        Context;
  PINTERFACE_REFERENCE         InterfaceReference;
  PINTERFACE_DEREFERENCE       InterfaceDereference;
  DXGK_BRIGHTNESS_GET_POSSIBLE GetPossibleBrightness;
  DXGK_BRIGHTNESS_SET          SetBrightness;
  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

Version

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

 

 

Send comments about this topic to Microsoft

表示:
© 2014 Microsoft