Platform SDK: DirectX

DirectDrawPalette.GetCaps

The DirectDrawPalette.GetCaps method retrieves the capabilities of this palette object.

object.GetCaps() As CONST_DDPCAPSFLAGS

Parameters

object
Object expression that resolves to a DirectDrawPalette object.

Return Values

If the method succeeds, it returns one of the constants of the CONST_DDPCAPSFLAGS enumeration indicating the capabilities of the palette object.

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