hDC

The device context that has the palette that you want to get.