IDirectDraw::GetCaps

HRESULT GetCaps(LPDDCAPS lpDDDriverCaps,

LPDDCAPS lpDDHELCaps);

Fills in the raw, not remaining, capabilities of the device driver for the hardware and the hardware emulation layer (HEL).

·Returns DD_OK if successful, or one of the following error values otherwise:

DDERR_INVALIDOBJECT DDERR_INVALIDPARAMS

lpDDDriverCaps

Address of a DDCAPS structure to be filled in with the capabilities of the hardware, as reported by the device driver.

lpDDHELCaps

Address of a DDCAPS structure to be filled in with the capabilities of the HEL.