HRESULT GetCaps(LPD3DDEVICEDESC lpD3DHWDevDesc,
LPD3DDEVICEDESC lpD3DHELDevDesc);
Retrieves the capabilities of the Direct3DDevice object.
·Returns D3D_OK if successful, or an error otherwise, which may be one of the following values:
lpD3DHWDevDesc
Address of the D3DDEVICEDESC structure that will contain the hardware features of the device.
lpD3DHELDevDesc
Address of the D3DDEVICEDESC structure that will contain the software emulation being provided.
This method does not retrieve the capabilities of the display device. To retrieve this information, use the IDirectDraw2::GetCaps method.