DirectX SDK

DirectDraw7.GetCaps

The DirectDraw7.GetCaps method fills in the capabilities of the device driver for the hardware and the hardware emulation layer (HEL).

object.GetCaps(hwCaps As DDCAPS, helCaps As DDCAPS)

Parameters

object
Object expression that resolves to a DirectDraw7 object.
hwCaps
DDCAPS type to be filled with the capabilities of the hardware, as reported by the device driver.
helCaps
DDCAPS type to be filled with the capabilities of the HEL.

Error Codes

If the method fails, it raises an error, and Err.Number can be set to one of the following values:

DDERR_INVALIDOBJECT
DDERR_INVALIDPARAMS