IDirectDraw2::GetCaps

HRESULT GetCaps(LPDDCAPS lpDDDriverCaps, LPDDCAPS lpDDHELCaps);

Fills in the 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 that will be filled with the capabilities of the hardware, as reported by the device driver.

lpDDHELCaps

Address of a DDCAPS structure that will be filled with the capabilities of the HEL.