Microsoft DirectX 9.0

IDirectDraw::GetCaps

The GetCaps method fills in the raw (not remaining) capabilities of the device driver (the hardware) and/or the Hardware Emulation Layer (HEL).

Syntax

HRESULT GetCaps(
  LPDDCAPS lpDDDriverCaps,
  LPDDCAPS lpDDHELCaps
  );

Parameters

lpDDDriverCaps

Points to a DDCAPS structure that will be filled in with the capabilities of the hardware (as reported by the device driver).

lpDDHELCaps

Points to a DDCAPS structure that will be filled in with the capabilities of the Hardware Emulation Layer (HEL).

Return Values

Value Description
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.

See Also