Microsoft DirectX 8.1 (C++)

CDrawImage::GetPaletteVersion

The GetPaletteVersion method retrieves the current palette version.

Syntax

LONG GetPaletteVersion(void);

Return Value

Returns the palette version.

Remarks

This member function is applicable only when using samples allocated through a CImageAllocator (or derived class) object. For more information about working with palettes, see the CDrawImage::UpdateColourTable member function.

See Also