Bewerken

Delen via


D3D10DDIARG_CREATEQUERY structure (d3d10umddi.h)

The D3D10DDIARG_CREATEQUERY structure describes the query to create.

Syntax

typedef struct D3D10DDIARG_CREATEQUERY {
  [in] D3D10DDI_QUERY Query;
  [in] UINT           MiscFlags;
} D3D10DDIARG_CREATEQUERY;

Members

[in] Query

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

[in] MiscFlags

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

Requirement Value
Minimum supported client 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