Hardware Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize

DXGK_QUERYADAPTERINFOTYPE enumeration

The DXGK_QUERYADAPTERINFOTYPE enumeration indicates the type of information to retrieve.

Syntax


typedef enum _DXGK_QUERYADAPTERINFOTYPE { 
  DXGKQAITYPE_UMDRIVERPRIVATE               = 0,
  DXGKQAITYPE_DRIVERCAPS                    = 1,
  DXGKQAITYPE_QUERYSEGMENT                  = 2,
#if (DXGKDDI_INTERFACE_VERSION >= DXGKDDI_INTERFACE_VERSION_WIN7)
  DXGKQAITYPE_ALLOCATIONGROUP               = 3,
  DXGKQAITYPE_QUERYSEGMENT2                 = 4,
#endif 
#if (DXGKDDI_INTERFACE_VERSION >= DXGKDDI_INTERFACE_VERSION_WIN8)
  DXGKQAITYPE_QUERYSEGMENT3                 = 5,
  DXGKQAITYPE_NUMPOWERCOMPONENTS            = 6,
  DXGKQAITYPE_POWERCOMPONENTINFO            = 7,
  DXGKQAITYPE_PREFERREDGPUNODE              = 8,
#endif 
#if (DXGKDDI_INTERFACE_VERSION >= DXGKDDI_INTERFACE_VERSION_WDDM1_3)
  DXGKQAITYPE_POWERCOMPONENTPSTATEINFO      = 9,
  DXGKQAITYPE_HISTORYBUFFERPRECISION        = 10,
#endif 
#if (DXGKDDI_INTERFACE_VERSION >= DXGKDDI_INTERFACE_VERSION_WDDM2_0)
  DXGKQAITYPE_QUERYSEGMENT4                 = 11,
  DXGKQAITYPE_SEGMENTMEMORYSTATE            = 12,
  DXGKQAITYPE_GPUMMUCAPS                    = 13,
  DXGKQAITYPE_PAGETABLELEVELDESC            = 14,
  DXGKQAITYPE_PHYSICALADAPTERCAPS           = 15,
  DXGKQAITYPE_DISPLAY_DRIVERCAPS_EXTENSION  = 16

#endif } DXGK_QUERYADAPTERINFOTYPE;

Constants

DXGKQAITYPE_UMDRIVERPRIVATE

Indicates private data for the user-mode display driver.

DXGKQAITYPE_DRIVERCAPS

Indicates the driver capabilities in a DXGK_DRIVERCAPS structure.

DXGKQAITYPE_QUERYSEGMENT

Indicates memory-segment information in a DXGK_QUERYSEGMENTOUT structure.

DXGKQAITYPE_ALLOCATIONGROUP

Reserved for system use. Do not use in your driver. Note that this constant occurs starting with Windows 7.

DXGKQAITYPE_QUERYSEGMENT2

Reserved for system use. Do not use in your driver. Note that this constant occurs starting with Windows 7.

DXGKQAITYPE_QUERYSEGMENT3

Indicates memory-segment information in a DXGK_QUERYSEGMENTOUT3 structure.

Supported starting with Windows 8.

DXGKQAITYPE_NUMPOWERCOMPONENTS

Indicates the number of power components used by the display miniport driver. For more information, see Remarks.

Supported starting with Windows 8.

DXGKQAITYPE_POWERCOMPONENTINFO

Indicates information about power components used by the display miniport driver. For more information, see Remarks.

Supported starting with Windows 8.

DXGKQAITYPE_PREFERREDGPUNODE

Reserved for system use. Do not use in your driver.

Supported starting with Windows 8.

DXGKQAITYPE_POWERCOMPONENTPSTATEINFO

Reserved for system use. Do not use in your driver.

Supported starting with Windows 8.1.

DXGKQAITYPE_HISTORYBUFFERPRECISION

Indicates info about the precision of history buffer data used by the display miniport driver. For more information, see Remarks.

Supported starting with Windows 8.1.

DXGKQAITYPE_QUERYSEGMENT4

Indicates memory-segment information in a DXGK_QUERYSEGMENTOUT4 structure.

Supported starting with Windows 10.

DXGKQAITYPE_SEGMENTMEMORYSTATE

Indicates bad memory ranges in a DXGK_MEMORYRANGE structure.

Supported starting with Windows 10.

DXGKQAITYPE_GPUMMUCAPS

Indicates physical adapter GPU capabilities.

Supported starting with Windows 10.

DXGKQAITYPE_PAGETABLELEVELDESC

Reserved for system use. Do not use in your driver.

DXGKQAITYPE_PHYSICALADAPTERCAPS

Reserved for system use. Do not use in your driver.

DXGKQAITYPE_DISPLAY_DRIVERCAPS_EXTENSION

Reserved for system use. Do not use in your driver.

Remarks

The display miniport driver must fill the buffer pointed to by the pOutputData member of the DXGKARG_QUERYADAPTERINFO structure as follows:

Value of DXGKARG_QUERYADAPTERINFO.TypeContents of output buffer pointed to by DXGKARG_QUERYADAPTERINFO.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 DXGKARG_QUERYADAPTERINFO.pInputData in a call to the DxgkDdiQueryAdapterInfo function
DXGKQAITYPE_HISTORYBUFFERPRECISIONPopulated DXGKARG_HISTORYBUFFERPRECISION structure

 

Requirements

Version

Available starting with Windows Vista.

Header

D3dkmddi.h (include D3dkmddi.h)

See also

DXGK_DRIVERCAPS
DXGK_POWER_RUNTIME_COMPONENT
DXGK_QUERYSEGMENTOUT
DXGK_QUERYSEGMENTOUT3
DXGKARG_HISTORYBUFFERPRECISION
DXGKARG_QUERYADAPTERINFO
DxgkDdiQueryAdapterInfo

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft