HRESULT GetStats(LPD3DSTATS lpD3DStats);
Retrieves statistics about a device.
·Returns D3D_OK if successful, or an error otherwise, which may be one of the following values:
lpD3DStats
Address of a D3DSTATS structure that will be filled with the statistics.