Expand Minimize

D3D10DDIARG_CREATEQUERY structure

The D3D10DDIARG_CREATEQUERY structure describes the query to create.

Syntax


typedef struct D3D10DDIARG_CREATEQUERY {
  D3D10DDI_QUERY Query;
  UINT           MiscFlags;
} D3D10DDIARG_CREATEQUERY;

Members

Query

[in] A D3D10DDI_QUERY-typed value that identifies the type of query to create.

MiscFlags

[in] A valid bitwise OR of flag values for the query. Currently, the Direct3D runtime supports only the D3D10DDI_QUERY_MISCFLAG_PREDICATEHINT (0x1) flag. This flag is set along with a D3DQUERYTYPE_OCCLUSIONPREDICATE query type to indicate that the predicate query is a hint. If a predicate query is indicated as a hint (versus guaranteed), no result is ever propagated back to the calling application.

Remarks

The Direct3D runtime calls the user-mode display driver's CreateQuery(D3D10) function with a query type to create resources for a query. For information about the type of resources the user-mode display driver creates, see the values of the D3D10DDI_QUERY enumeration.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3d10umddi.h (include D3d10umddi.h)

See also

CalcPrivateQuerySize
CreateQuery(D3D10)
D3D10DDI_QUERY

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft