Expand Minimize

ID3D10Device::CreateQuery method

This interface encapsulates methods for querying information from the GPU.

Syntax


HRESULT CreateQuery(
  [in]   const D3D10_QUERY_DESC *pQueryDesc,
  [out]  ID3D10Query **ppQuery
);

Parameters

pQueryDesc [in]

Type: const D3D10_QUERY_DESC*

Pointer to a query description (see D3D10_QUERY_DESC).

ppQuery [out]

Type: ID3D10Query**

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

Return value

Type: HRESULT

This method returns one of the following Direct3D 10 Return Codes.

Remarks

Requirements

Header

D3D10.h

Library

D3D10.lib

See also

ID3D10Device Interface

 

 

Community Additions

ADD
Show:
© 2014 Microsoft