The RemovePalette method deletes the existing logical palette and calls CBaseWindow::UnsetPalette on the CBaseWindow object.
Syntax
HRESULT RemovePalette(void);
Return Value
Returns S_OK.
See Also