hDevice

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