KMTQUERYADAPTERINFOTYPE enumeration (d3dkmthk.h)
Each KMTQUERYADAPTERINFOTYPE value correlates to a specific piece of adapter information being retrieved by D3DKMQueryAdapterInfo.
Syntax
typedef enum _KMTQUERYADAPTERINFOTYPE {
KMTQAITYPE_UMDRIVERPRIVATE,
KMTQAITYPE_UMDRIVERNAME,
KMTQAITYPE_UMOPENGLINFO,
KMTQAITYPE_GETSEGMENTSIZE,
KMTQAITYPE_ADAPTERGUID,
KMTQAITYPE_FLIPQUEUEINFO,
KMTQAITYPE_ADAPTERADDRESS,
KMTQAITYPE_SETWORKINGSETINFO,
KMTQAITYPE_ADAPTERREGISTRYINFO,
KMTQAITYPE_CURRENTDISPLAYMODE,
KMTQAITYPE_MODELIST,
KMTQAITYPE_CHECKDRIVERUPDATESTATUS,
KMTQAITYPE_VIRTUALADDRESSINFO,
KMTQAITYPE_DRIVERVERSION,
KMTQAITYPE_ADAPTERTYPE,
KMTQAITYPE_OUTPUTDUPLCONTEXTSCOUNT,
KMTQAITYPE_WDDM_1_2_CAPS,
KMTQAITYPE_UMD_DRIVER_VERSION,
KMTQAITYPE_DIRECTFLIP_SUPPORT,
KMTQAITYPE_MULTIPLANEOVERLAY_SUPPORT,
KMTQAITYPE_DLIST_DRIVER_NAME,
KMTQAITYPE_WDDM_1_3_CAPS,
KMTQAITYPE_MULTIPLANEOVERLAY_HUD_SUPPORT,
KMTQAITYPE_WDDM_2_0_CAPS,
KMTQAITYPE_NODEMETADATA,
KMTQAITYPE_CPDRIVERNAME,
KMTQAITYPE_XBOX,
KMTQAITYPE_INDEPENDENTFLIP_SUPPORT,
KMTQAITYPE_MIRACASTCOMPANIONDRIVERNAME,
KMTQAITYPE_PHYSICALADAPTERCOUNT,
KMTQAITYPE_PHYSICALADAPTERDEVICEIDS,
KMTQAITYPE_DRIVERCAPS_EXT,
KMTQAITYPE_QUERY_MIRACAST_DRIVER_TYPE,
KMTQAITYPE_QUERY_GPUMMU_CAPS,
KMTQAITYPE_QUERY_MULTIPLANEOVERLAY_DECODE_SUPPORT,
KMTQAITYPE_QUERY_HW_PROTECTION_TEARDOWN_COUNT,
KMTQAITYPE_QUERY_ISBADDRIVERFORHWPROTECTIONDISABLED,
KMTQAITYPE_MULTIPLANEOVERLAY_SECONDARY_SUPPORT,
KMTQAITYPE_INDEPENDENTFLIP_SECONDARY_SUPPORT,
KMTQAITYPE_PANELFITTER_SUPPORT,
KMTQAITYPE_PHYSICALADAPTERPNPKEY,
KMTQAITYPE_GETSEGMENTGROUPSIZE,
KMTQAITYPE_MPO3DDI_SUPPORT,
KMTQAITYPE_HWDRM_SUPPORT,
KMTQAITYPE_MPOKERNELCAPS_SUPPORT,
KMTQAITYPE_MULTIPLANEOVERLAY_STRETCH_SUPPORT,
KMTQAITYPE_GET_DEVICE_VIDPN_OWNERSHIP_INFO,
KMTQAITYPE_QUERYREGISTRY,
KMTQAITYPE_KMD_DRIVER_VERSION,
KMTQAITYPE_BLOCKLIST_KERNEL,
KMTQAITYPE_BLOCKLIST_RUNTIME,
KMTQAITYPE_ADAPTERGUID_RENDER,
KMTQAITYPE_ADAPTERADDRESS_RENDER,
KMTQAITYPE_ADAPTERREGISTRYINFO_RENDER,
KMTQAITYPE_CHECKDRIVERUPDATESTATUS_RENDER,
KMTQAITYPE_DRIVERVERSION_RENDER,
KMTQAITYPE_ADAPTERTYPE_RENDER,
KMTQAITYPE_WDDM_1_2_CAPS_RENDER,
KMTQAITYPE_WDDM_1_3_CAPS_RENDER,
KMTQAITYPE_QUERY_ADAPTER_UNIQUE_GUID,
KMTQAITYPE_NODEPERFDATA,
KMTQAITYPE_ADAPTERPERFDATA,
KMTQAITYPE_ADAPTERPERFDATA_CAPS,
KMTQUITYPE_GPUVERSION,
KMTQAITYPE_DRIVER_DESCRIPTION,
KMTQAITYPE_DRIVER_DESCRIPTION_RENDER,
KMTQAITYPE_SCANOUT_CAPS,
KMTQAITYPE_DISPLAY_UMDRIVERNAME,
KMTQAITYPE_PARAVIRTUALIZATION_RENDER,
KMTQAITYPE_SERVICENAME,
KMTQAITYPE_WDDM_2_7_CAPS,
KMTQAITYPE_TRACKEDWORKLOAD_SUPPORT,
KMTQAITYPE_HYBRID_DLIST_DLL_SUPPORT,
KMTQAITYPE_DISPLAY_CAPS,
KMTQAITYPE_WDDM_2_9_CAPS,
KMTQAITYPE_CROSSADAPTERRESOURCE_SUPPORT,
KMTQAITYPE_WDDM_3_0_CAPS,
KMTQAITYPE_WSAUMDIMAGENAME,
KMTQAITYPE_VGPUINTERFACEID,
KMTQAITYPE_WDDM_3_1_CAPS,
KMTQAITYPE_HYBRID_DLIST_DLL_MUX_SUPPORT
} KMTQUERYADAPTERINFOTYPE;
Constants
KMTQAITYPE_UMDRIVERPRIVATE The buffer that pPrivateDriverData points to is populated with private driver data in a vendor-specific format. To read and process the private data, a tight coupling between user mode driver and the display miniport driver must exist. |
KMTQAITYPE_UMDRIVERNAME The pPrivateDriverData member points to a D3DKMT_UMDFILENAMEINFO structure that is filled with the name of the OpenGL ICD that depends on the particular version of DirectX. Non-DirectX applications can use this name to call the OpenGL ICD directly, although such usage is not recommended. |
KMTQAITYPE_UMOPENGLINFO pPrivateDriverData points to a D3DKMT_OPENGLINFO structure that contains information about the OpenGL ICD. |
KMTQAITYPE_GETSEGMENTSIZE pPrivateDriverData points to a D3DKMT_SEGMENTSIZEINFO structure that contains information about the size of memory and aperture segments. |
KMTQAITYPE_ADAPTERGUID pPrivateDriverData points to a variable that contains the GUID for the adapter. |
KMTQAITYPE_FLIPQUEUEINFO pPrivateDriverData points to a D3DKMT_FLIPQUEUEINFO structure that contains information about the queue of flip operations. |
KMTQAITYPE_ADAPTERADDRESS pPrivateDriverData points to a D3DKMT_ADAPTERADDRESS structure that contains information about the physical location on the PCI bus of the adapter. |
KMTQAITYPE_SETWORKINGSETINFO pPrivateDriverData points to a D3DKMT_WORKINGSETINFO structure that contains information about the working set. |
KMTQAITYPE_ADAPTERREGISTRYINFO pPrivateDriverData points to a D3DKMT_ADAPTERREGISTRYINFO structure that contains registry information about the graphics adapter. |
KMTQAITYPE_CURRENTDISPLAYMODE pPrivateDriverData points to a D3DKMT_CURRENTDISPLAYMODE structure that contains the current display mode. |
KMTQAITYPE_MODELIST pPrivateDriverData points to an array of D3DKMT_DISPLAYMODE structures for the list of display modes. |
KMTQAITYPE_CHECKDRIVERUPDATESTATUS pPrivateDriverData points to the driver update status. |
KMTQAITYPE_VIRTUALADDRESSINFO pPrivateDriverData points to a D3DKMT_VIRTUALADDRESSINFO structure. Returns information about virtual addressing support. Supported starting with Windows 7. |
KMTQAITYPE_DRIVERVERSION pPrivateDriverData points to a variable that contains a D3DKMT_DRIVERVERSION-typed value that indicates the version of the display driver model that the display miniport driver supports. Supported starting with Windows 7. |
KMTQAITYPE_ADAPTERTYPE pPrivateDriverData points to a D3DKMT_ADAPTERTYPE structure that specifies the graphics adapter type. Supported starting with Windows 8. |
KMTQAITYPE_OUTPUTDUPLCONTEXTSCOUNT pPrivateDriverData points to a D3DKMT_OUTPUTDUPLCONTEXTSCOUNT structure that specifies the number of current Desktop Duplication API (DDA) clients that are attached to a given video present network (VidPN). Supported starting with Windows 8. |
KMTQAITYPE_WDDM_1_2_CAPS pPrivateDriverData points to a D3DKMT_WDDM_1_2_CAPS structure that specifies the WDDM 1.2 and later capabilities of the graphics adapter and display miniport driver. Supported starting with Windows 8. |
KMTQAITYPE_UMD_DRIVER_VERSION pPrivateDriverData points to a D3DKMT_UMD_DRIVER_VERSION structure that specifies the user-mode driver version. Supported starting with Windows 8. |
KMTQAITYPE_DIRECTFLIP_SUPPORT pPrivateDriverData points to a D3DKMT_DIRECTFLIP_SUPPORT structure that specifies whether the user-mode driver supports Direct Flip operations. Supported starting with Windows 8. |
KMTQAITYPE_MULTIPLANEOVERLAY_SUPPORT Reserved for future use. Supported starting with Windows 8.1. |
KMTQAITYPE_DLIST_DRIVER_NAME Supported starting with Windows 8.1. |
KMTQAITYPE_WDDM_1_3_CAPS pPrivateDriverData points to a D3DKMT_WDDM_1_3_CAPS structure with information about supported WDDM 1.3 caps. Supported starting with Windows 8.1. |
KMTQAITYPE_MULTIPLANEOVERLAY_HUD_SUPPORT |
KMTQAITYPE_WDDM_2_0_CAPS |
KMTQAITYPE_NODEMETADATA |
KMTQAITYPE_CPDRIVERNAME |
KMTQAITYPE_XBOX |
KMTQAITYPE_INDEPENDENTFLIP_SUPPORT |
KMTQAITYPE_MIRACASTCOMPANIONDRIVERNAME |
KMTQAITYPE_PHYSICALADAPTERCOUNT |
KMTQAITYPE_PHYSICALADAPTERDEVICEIDS |
KMTQAITYPE_DRIVERCAPS_EXT |
KMTQAITYPE_QUERY_MIRACAST_DRIVER_TYPE |
KMTQAITYPE_QUERY_GPUMMU_CAPS |
KMTQAITYPE_QUERY_MULTIPLANEOVERLAY_DECODE_SUPPORT |
KMTQAITYPE_QUERY_HW_PROTECTION_TEARDOWN_COUNT |
KMTQAITYPE_QUERY_ISBADDRIVERFORHWPROTECTIONDISABLED |
KMTQAITYPE_MULTIPLANEOVERLAY_SECONDARY_SUPPORT |
KMTQAITYPE_INDEPENDENTFLIP_SECONDARY_SUPPORT |
KMTQAITYPE_PANELFITTER_SUPPORT |
KMTQAITYPE_PHYSICALADAPTERPNPKEY |
KMTQAITYPE_GETSEGMENTGROUPSIZE |
KMTQAITYPE_MPO3DDI_SUPPORT |
KMTQAITYPE_HWDRM_SUPPORT |
KMTQAITYPE_MPOKERNELCAPS_SUPPORT |
KMTQAITYPE_MULTIPLANEOVERLAY_STRETCH_SUPPORT |
KMTQAITYPE_GET_DEVICE_VIDPN_OWNERSHIP_INFO |
KMTQAITYPE_QUERYREGISTRY pPrivateDriverData points to a D3DDDI_QUERYREGISTRY_INFO structure, where the last field is actually variable-sized by the caller. This type queries the registry for information that is commonly cached during driver installation. User mode components must use this technique to support paravirtualized adapters, instead of relying on native OS methods. Support for this type started with Windows 10 version 1803. |
KMTQAITYPE_KMD_DRIVER_VERSION |
KMTQAITYPE_BLOCKLIST_KERNEL |
KMTQAITYPE_BLOCKLIST_RUNTIME |
KMTQAITYPE_ADAPTERGUID_RENDER |
KMTQAITYPE_ADAPTERADDRESS_RENDER |
KMTQAITYPE_ADAPTERREGISTRYINFO_RENDER |
KMTQAITYPE_CHECKDRIVERUPDATESTATUS_RENDER |
KMTQAITYPE_DRIVERVERSION_RENDER |
KMTQAITYPE_ADAPTERTYPE_RENDER |
KMTQAITYPE_WDDM_1_2_CAPS_RENDER |
KMTQAITYPE_WDDM_1_3_CAPS_RENDER |
KMTQAITYPE_QUERY_ADAPTER_UNIQUE_GUID |
KMTQAITYPE_NODEPERFDATA |
KMTQAITYPE_ADAPTERPERFDATA |
KMTQAITYPE_ADAPTERPERFDATA_CAPS |
KMTQUITYPE_GPUVERSION |
KMTQAITYPE_DRIVER_DESCRIPTION |
KMTQAITYPE_DRIVER_DESCRIPTION_RENDER |
KMTQAITYPE_SCANOUT_CAPS |
KMTQAITYPE_DISPLAY_UMDRIVERNAME |
KMTQAITYPE_PARAVIRTUALIZATION_RENDER |
KMTQAITYPE_SERVICENAME |
KMTQAITYPE_WDDM_2_7_CAPS |
KMTQAITYPE_TRACKEDWORKLOAD_SUPPORT |
KMTQAITYPE_HYBRID_DLIST_DLL_SUPPORT pPrivateDriverData points to a D3DKMT_HYBRID_DLIST_DLL_SUPPORT structure. Supported starting with Windows 10, version 2004. |
KMTQAITYPE_DISPLAY_CAPS |
KMTQAITYPE_WDDM_2_9_CAPS pPrivateDriverData points to a D3DKMT_WDDM_2_9_CAPS structure with information about supported WDDM 2.9 caps. Supported starting with Windows Server 2022. |
KMTQAITYPE_CROSSADAPTERRESOURCE_SUPPORT pPrivateDriverData points to a D3DKMT_CROSSADAPTERRESOURCE_SUPPORT structure. Supported starting with Windows Server 2022. |
KMTQAITYPE_WDDM_3_0_CAPS pPrivateDriverData points to a D3DKMT_WDDM_3_0_CAPS structure with information about supported WDDM 3.0 caps. Supported starting with Windows 11, version 21H2. |
KMTQAITYPE_WSAUMDIMAGENAME |
KMTQAITYPE_VGPUINTERFACEID |
KMTQAITYPE_WDDM_3_1_CAPS pPrivateDriverData points to a D3DKMT_WDDM_3_1_CAPS structure with information about supported WDDM 3.1 caps. Supported starting with Windows 11, version 22H2. |
Remarks
Each enum value denotes how to interpret the other fields of D3DKMT_QUERYADAPTERINFO, especially D3DKMT_QUERYADAPTERINFO::pPrivateDriverData. pPrivateDriverData is commonly reinterpreted as a unique structure, corresponding to each enum value. Exceptions do exist, as detailed above.
Requirements
Requirement | Value |
---|---|
Header | d3dkmthk.h |