HRESULT GetCaps(LPDDSCAPS lpDDSCaps);
Returns the capabilities of the surface. These capabilities are not necessarily related to the capabilities of the display device.
·Returns DD_OK if successful, or one of the following error values otherwise:
DDERR_INVALIDOBJECT DDERR_INVALIDPARAMS
lpDDCaps
Address of a DDCAPS structure that will be filled in with the hardware capabilities of the surface.