IDirectDrawPalette::GetCaps

HRESULT GetCaps(LPDWORD lpdwCaps);

Retrieves the capabilities of this palette object.

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

DDERR_INVALIDOBJECT

DDERR_INVALIDPARAMS

lpdwCaps

Flag from the dwPalCaps member of the DDCAPS structure that defines palette capabilities:

DDPCAPS_4BIT

DDPCAPS_8BIT

DDPCAPS_8BITENTRIES

DDPCAPS_ALLOW256

DDPCAPS_PRIMARYSURFACE

DDPCAPS_PRIMARYSURFACELEFT

DDPCAPS_VSYNC