Platform SDK: DirectX |
The DirectDrawPalette.GetCaps method retrieves the capabilities of this palette object.
object.GetCaps() As CONST_DDPCAPSFLAGS
If the method succeeds, it returns one of the constants of the CONST_DDPCAPSFLAGS enumeration indicating the capabilities of the palette object.
If the method fails, it raises an error, and Err.Number can be set to one of the following values:
DDERR_INVALIDOBJECT |
DDERR_INVALIDPARAMS |