ICM_DRAW_GET_PALETTE

wParam = 0;
lParam = 0;
 

Requests a rendering driver to return a palette.