|Microsoft DirectX 9.0|
The GetCaps method fills in the raw (not remaining) capabilities of the device driver (the hardware) and/or the Hardware Emulation Layer (HEL).
HRESULT GetCaps( LPDDCAPS lpDDDriverCaps, LPDDCAPS lpDDHELCaps );
Points to a DDCAPS structure that will be filled in with the capabilities of the hardware (as reported by the device driver).
Points to a DDCAPS structure that will be filled in with the capabilities of the Hardware Emulation Layer (HEL).
|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.|