This instance method is called the set palette information.
#define INCL_WINWORKPLACE #include <os2.h> WPPalette *somSelf; /* Pointer to the object on which the method is being invoked. */ PPALINFO pPalInfo; /* Pointer to a PALINFO structure. */ BOOL rc; /* Success indicator. */ rc = _wpSetPaletteInfo(somSelf, pPalInfo);