Share via


ID3D11Device::CreateQuery Method

This interface encapsulates methods for querying information from the GPU.

Syntax

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

Parameter

Rückgabewert

Typ: 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.

Hinweise

Anforderungen

Header

D3D11.h

Bibliothek

D3D11.lib

Siehe auch

ID3D11Device