Expand Minimize

D3DKMT_QUERYADAPTERINFO structure

The D3DKMT_QUERYADAPTERINFO structure contains information that describes the graphics adapter.

Syntax


typedef struct _D3DKMT_QUERYADAPTERINFO {
  D3DKMT_HANDLE           hAdapter;
  KMTQUERYADAPTERINFOTYPE Type;
  VOID                    *pPrivateDriverData;
  UINT                    PrivateDriverDataSize;
} D3DKMT_QUERYADAPTERINFO;

Members

hAdapter

[in] A handle to the graphics adapter that information is retrieved about.

Type

[in] A value of type KMTQUERYADAPTERINFOTYPE that indicates the type of information to retrieve. The following table lists the possible values.

ValueMeaning

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 the OpenGL installable client driver (ICD) 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 graphics 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 of the graphics 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

Reserved for future use.

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

Reserved for future use.

Supported starting with Windows 8.1.

KMTQAITYPE_WDDM_1_3_CAPS

Reserved for future use.

Supported starting with Windows 8.1.

 

pPrivateDriverData

[out] A pointer to a buffer that the display miniport driver can fill with the requested information.

PrivateDriverDataSize

[in/out] The size, in bytes, of the buffer that pPrivateDriverData points to.

Requirements

Version

Supported starting with Windows Vista.

Header

D3dkmthk.h (include D3dkmthk.h)

See also

D3DKMT_ADAPTERADDRESS
D3DKMT_ADAPTERREGISTRYINFO
D3DKMT_ADAPTERTYPE
D3DKMT_CURRENTDISPLAYMODE
D3DKMT_DIRECTFLIP_SUPPORT
D3DKMT_DISPLAYMODE
D3DKMT_DRIVERVERSION
D3DKMT_FLIPQUEUEINFO
D3DKMT_OPENGLINFO
D3DKMT_OUTPUTDUPLCONTEXTSCOUNT
D3DKMT_SEGMENTSIZEINFO
D3DKMT_UMD_DRIVER_VERSION
D3DKMT_UMDFILENAMEINFO
D3DKMT_WDDM_1_2_CAPS
D3DKMT_WORKINGSETINFO
D3DKMTQueryAdapterInfo

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.