|Microsoft DirectX 9.0|
The GetCaps method returns the capabilities of the surface. These are not necessarily related to the capabilities of the display device.
HRESULT GetCaps( LPDDSCAPS lpDDSCaps );
Points to a DDCAPS structure that will be filled in with the hardware capabilities of the surface.
|DD_OK||The method succeeded.|
|DDERR_INVALIDOBJECT||DirectDraw received a pointer that was an invalid DirectDraw object.|
|DDERR_INVALIDPARAMS||One or more of the input parameters is invalid.|