HRESULT GetCaps(LPDWORD lpdwCaps);
Returns the capabilities of this palette object.
·Returns DD_OK if successful, or one of the following error values otherwise:
DDERR_INVALIDOBJECT DDERR_INVALIDPARAMS
lpdwCaps
Flags from the dwPalCaps member of the DDCAPS structure that define palette capabilities.
DDPCAPS_4BIT
DDPCAPS_8BIT
DDPCAPS_8BITENTRIES
DDPCAPS_ALLOW256
DDPCAPS_PRIMARYSURFACE
DDPCAPS_PRIMARYSURFACELEFT
DDPCAPS_VSYNC