HRESULT GetCaps(LPDDSCAPS lpDDSCaps);
Retrieves 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:
lpDDSCaps
Address of a DDSCAPS structure that will be filled with the hardware capabilities of the surface.