Returns the palette associated with the specified vector handle.
#include "ltvkrn.h"
L_LVKRN_API L_HPALETTE L_VecGetPalette(pVector)
Pointer to the vector handle.
Returns the handle to the logical palette
You can use this palette to allow proper drawing of vector image colors in a paletteized system.
For an example, refer to L_VecSetPalette.
L_LTVKRNTEX_API L_INT VecGetPaletteExample(
pVECTORHANDLE pVector,
HPALETTE* phPalette)
{
*phPalette = L_VecGetPalette( pVector );
return SUCCESS;
}