| Microsoft DirectX 9.0 |
The GetCaps method returns the capabilities of this palette object.
Syntax
HRESULT GetCaps(
LPDWORD lpdwCaps
);
Parameters
lpdwCaps
Flags for dwPalCaps.
| Flag | Description |
| DDPCAPS_4BIT | Four-bit palette. |
| DDPCAPS_8BITENTRIES | Eight-bit palette entries. |
| DDPCAPS_8BIT | Eight-bit palette. |
| DDPCAPS_ALLOW256 | This palette can have all 256 entries defined. |
| DDPCAPS_PRIMARYSURFACE | Allow vertical sync. |
| DDPCAPS_PRIMARYSURFACELEFT | This palette is the one attached to the primary surface left. Changing this table has an immediate effect on the display for the left eye unless DDPSETPAL_VSYNC is specified and supported. |
| DDPCAPS_VSYNC | This palette can have modifications to it synced with the monitor's refresh rate. |
Return Values
| Value | Description |
| DD_OK | The method succeeded. |
| DDERR_INVALIDPARAMS | One or more of the parameters passed to the function are incorrect. |
See Also