This topic has not yet been rated - Rate this topic

ID3D11Device::CreateQuery method

Applies to: desktop apps | Metro style apps

This interface encapsulates methods for querying information from the GPU.

Syntax

HRESULT CreateQuery(
  [in]   const D3D11_QUERY_DESC *pQueryDesc,
  [out]  ID3D11Query **ppQuery
);

Parameters

pQueryDesc [in]

Type: const D3D11_QUERY_DESC*

Pointer to a query description (see D3D11_QUERY_DESC).

ppQuery [out]

Type: ID3D11Query**

Address of a pointer to the query object created (see ID3D11Query).

Return value

Type: HRESULT

This method returns E_OUTOFMEMORY if there is insufficient memory to create the query object. See Direct3D 11 Return Codes for other possible return values.

Remarks

Requirements

Header

D3D11.h

Library

D3D11.lib

See also

ID3D11Device

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ