IDirect3DQuery9

Applications use the methods of the IDirect3DQuery9 interface to perform asynchronous queries on a driver.

IDirect3DQuery9 Members

Method Description
IDirect3DQuery9::GetData Polls a queried resource to get the query state or a query result. For more information about queries, see Queries.
IDirect3DQuery9::GetDataSize Gets the number of bytes in the query data.
IDirect3DQuery9::GetDevice Gets the device that is being queried.
IDirect3DQuery9::GetType Gets the query type.
IDirect3DQuery9::Issue Issue a query.

Remarks

The LPDIRECT3DQUERY9 and PDIRECT3DQUERY9 types are defined as pointers to the IDirect3DQuery9 interface.

typedef struct IDirect3DQuery9 *LPDIRECT3DQUERY9, *PDIRECT3DQUERY9;

Requirements

Header: Declared in D3d9.h.

Import Library: Use D3d9.lib.