Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

 

 

Show:
© 2017 Microsoft