DXGKARG_QUERYADAPTERINFO structure

The DXGKARG_QUERYADAPTERINFO structure contains parameters for a query.

Syntax

typedef struct _DXGKARG_QUERYADAPTERINFO {
  DXGK_QUERYADAPTERINFOTYPE  Type;
  VOID                       *pInputData;
  UINT                       InputDataSize;
  VOID                       *pOutputData;
  UINT                       OutputDataSize;
  DXGK_QUERYADAPTERINFOFLAGS Flags;
  HANDLE                     hKmdProcessHandle;
} DXGKARG_QUERYADAPTERINFO;

Members

Type

[in] A DXGK_QUERYADAPTERINFOTYPE-typed value that indicates the type of information to retrieve.

pInputData

[in] A pointer to input information for the query.

When Type specifies DXGKQAITYPE_UMDRIVERPRIVATE, pInputData points to a proprietary buffer that contains information about the query. When Type specifies DXGKQAITYPE_QUERYSEGMENT, pInputData points to a DXGK_QUERYSEGMENTIN structure. When Type specifies DXGKQAITYPE_POWERCOMPONENTINFO, pInputData points to an input buffer that contains the power component index.

An input buffer is not required when Type specifies the DXGKQAITYPE_DRIVERCAPS value.

InputDataSize

[in] The size, in bytes, of the input data that pInputData points to.

pOutputData

[out] A pointer to an output buffer that the display miniport driver fills with the required information.

Value of Type Contents of output buffer pointed to by pOutputData
DXGKQAITYPE_UMDRIVERPRIVATE Proprietary buffer
DXGKQAITYPE_DRIVERCAPS Populated DXGK_DRIVERCAPS structure
DXGKQAITYPE_QUERYSEGMENT Populated DXGK_QUERYSEGMENTOUT structure
DXGKQAITYPE_QUERYSEGMENT3 Populated DXGK_QUERYSEGMENTOUT3 structure
DXGKQAITYPE_NUMPOWERCOMPONENTS A UINT value that specifies the number of power components used by the display miniport driver.
DXGKQAITYPE_POWERCOMPONENTINFO Populated DXGK_POWER_RUNTIME_COMPONENT structure that provides information about the nth power component, where n is the component index specified by pInputData in a call to the DxgkDdiQueryAdapterInfo function.

OutputDataSize

[in] The size, in bytes, of the output data that pOutputData points to.

Flags

[in] A set of DXGK_QUERYADAPTERINFOFLAGS-typed flags that indicates the query of graphics information.

hKmdProcessHandle

[in] A handle, return by the KMD from DxgkDdiCreateProcess. The driver must check the value for NULL. Note that hKmdProcessHandle is created when the first DXG device is created for the adapter, and destroyed when the last adapter handle in the process is closed.

Requirements

   
Minimum supported client Available starting with Windows Vista.
Header d3dkmddi.h (include D3dkmddi.h)

See Also

DXGK_DRIVERCAPS

DXGK_POWER_P_COMPONENT

DXGK_POWER_RUNTIME_COMPONENT

DXGK_QUERYADAPTERINFOTYPE

DXGK_QUERYSEGMENTIN

DXGK_QUERYSEGMENTOUT

DXGK_QUERYSEGMENTOUT3

DxgkDdiQueryAdapterInfo