Expand Minimize

D3DHAL_DP2DELETEQUERY structure

DirectX 9.0 and later versions only.

One or more D3DHAL_DP2DELETEQUERY structures are parsed from the command buffer by the D3dDrawPrimitives2 callback when the D3DHAL_DP2COMMAND structure's bCommand member is set to D3DDP2OP_DELETEQUERY, and are used to release resources for queries.

Syntax


typedef struct _D3DHAL_DP2DELETEQUERY {
  DWORD dwQueryID;
} D3DHAL_DP2DELETEQUERY, *LPD3DHAL_DP2DELETEQUERY;

Members

dwQueryID

Identifies the query for which the driver releases resources.

Remarks

The runtime uses D3DHAL_DP2DELETEQUERY to identify each query. The driver's D3dDrawPrimitives2 callback must process wPrimitiveCount D3DHAL_DP2DELETEQUERY structures from the command buffer. The value of wPrimitiveCount is specified in the D3DHAL_DP2COMMAND structure. The driver parses these structures and releases resources for the queries that they represent.

Requirements

Header

D3dhal.h (include D3dhal.h)

See also

D3DDP2OP_DELETEQUERY
D3dDrawPrimitives2
D3DHAL_DP2COMMAND
D3DHAL_DP2CREATEQUERY

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.