Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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;
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
Requirement | Value |
---|---|
Header | d3dhal.h (include D3dhal.h) |
See also
D3DDP2OP_DELETEQUERY