Bewerken

Delen via


DXGKARG_QUERYADAPTERINFO structure (d3dkmddi.h)

The DXGKARG_QUERYADAPTERINFO structure contains parameters for a DXGKDDI_QUERYADAPTERINFO query.

Syntax

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

Members

[in] Type

A DXGK_QUERYADAPTERINFOTYPE-typed value that indicates the type of information to retrieve. This value determines what pInputData and pOutputData point to.

[in] pInputData

A pointer to input information for the query. The following table describes the input buffer for Type values requiring input. Other types don't require input, so pInputData is NULL.

Value of Type Contents of pInputData
DXGKQAITYPE_UMDRIVERPRIVATE A proprietary buffer that contains information about the query.
DXGKQAITYPE_QUERYSEGMENT A DXGK_QUERYSEGMENTIN structure.
DXGKQAITYPE_POWERCOMPONENTINFO Buffer containing the power component index.
DXGKQAITYPE_DIRTYBITTRACKINGSEGMENTCAPS Buffer containing the driver's segment ID. The driver should fill out the output caps for this particular segment.
DXGKQAITYPE_SCATTER_RESERVE A DXGK_QUERYSCATTERRESERVEIN structure.
DXGKQAITYPE_PAGINGPROCESSGPUVASIZE A UNIT value that specifies the physical adapter index in an LDA configuration. It's set to zero for non-LDA configurations.

[in] InputDataSize

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

[out] pOutputData

A pointer to an output buffer that the display miniport driver fills with the required information. See DXGK_QUERYADAPTERINFOTYPE for the type of structure that pOutputData points to.

[in] OutputDataSize

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

[in] Flags

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

[in] hKmdProcessHandle

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

Requirement Value
Minimum supported client Windows Vista
Header d3dkmddi.h (include D3dkmddi.h)

See also

DXGK_DRIVERCAPS

DXGK_QUERYADAPTERINFOFLAGS

DXGK_QUERYADAPTERINFOTYPE

DxgkDdiQueryAdapterInfo