// d3dhal.h
typedef struct _D3DHAL_DP2RESPONSE {
BYTE bCommand;
BYTE bReserved;
WORD wStateCount;
DWORD dwTotalSize;
} D3DHAL_DP2RESPONSE, *LPD3DHAL_DP2RESPONSE;
View the official Windows Driver Kit DDI referenceNo description available.
DirectX 9.0 and later versions only.
One or more D3DHAL_DP2RESPONSE structures are parsed from the response buffer that the D3dDrawPrimitives2 callback returns to the runtime. Each structure specifies the availability of responses to previously issued queries.
bCommandSpecifies a response token. This member can be either D3DDP2OP_RESPONSECONTINUE or D3DDP2OP_RESPONSEQUERY of the D3DHAL_DP2OPERATION enumerated type.
bReservedReserved for system use and should be ignored by the driver.
wStateCountSpecifies the number of responses (that is, the number of D3DHAL_DP2RESPONSEQUERY structures) that follow this D3DHAL_DP2RESPONSE structure. If the driver sets bCommand to D3DDP2OP_RESPONSECONTINUE, the driver should set this member to zero. However, the runtime ignores this member when bCommand is set to D3DDP2OP_RESPONSECONTINUE; this member is only valid when the driver sets bCommand to D3DDP2OP_RESPONSEQUERY.
dwTotalSizeSpecifies the total size, in bytes, of the responses associated with this D3DHAL_DP2RESPONSE structure. The driver also includes the size of this D3DHAL_DP2RESPONSE structure in the total size to let the runtime skip over this D3DHAL_DP2RESPONSE structure when parsing the response buffer.
D3DDP2OP_RESPONSECONTINUE
D3DDP2OP_RESPONSEQUERY