Expand Minimize

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;
} 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 TypeContents of output buffer pointed to by pOutputData
DXGKQAITYPE_UMDRIVERPRIVATEProprietary buffer
DXGKQAITYPE_DRIVERCAPSPopulated DXGK_DRIVERCAPS structure
DXGKQAITYPE_QUERYSEGMENTPopulated DXGK_QUERYSEGMENTOUT structure
DXGKQAITYPE_QUERYSEGMENT3Populated DXGK_QUERYSEGMENTOUT3 structure
DXGKQAITYPE_NUMPOWERCOMPONENTSA UINT value that specifies the number of power components used by the display miniport driver
DXGKQAITYPE_POWERCOMPONENTINFOPopulated 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.

Requirements

Version

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

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft