hdc (HDC) - input
ulStart (ULONG) - input
cclr (ULONG) - input
pclr (PULONG) - input
pInstance (PVOID) - input
lFunction (ULONG) - input
rc (ULONG) - returns
This function returns the count of the palette entries.
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_DC