rc (ULONG) - returns
On completion, this function returns the handle to the device palette (hdevpal).
Possible Errors Detected: When an error is detected, the handling routine must call WinSetErrorInfo to post the condition. Error codes for conditions that the handling routine is expected to check include:
PMERR_INV_IN_AREA
PMERR_INV_IN_PATH