CD3D11_QUERY_DESC::CD3D11_QUERY_DESC(D3D11_QUERY,UINT) function (d3d11.h)

Instantiates a new instance of a CD3D11_QUERY_DESC structure that is initialized with info for a query.

Syntax

void CD3D11_QUERY_DESC(
  D3D11_QUERY query,
  UINT        miscFlags
);

Parameters

query

Type: D3D11_QUERY

A D3D11_QUERY-typed value that specifies the type of query.

miscFlags

Type: UINT

A combination of D3D11_QUERY_MISC_FLAG-typed values that are combined by using a bitwise OR operation. The resulting value specifies miscellaneous query behavior.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11.h
Library D3D11.lib

See also

CD3D11_QUERY_DESC