hdc (HDC) - input
lRange (ULONG) - input
Valid ranges are:
LCID_RANGE_GPI
pInstance (PVOID) - input
lFunction (ULONG) - input
fSuccess (LONG) - returns
This function returns the number of lcids, or it returns GPI_ALTERROR if an error occurs.
Possible Errors Detected: When an error is detected, the graphics engine calls WinSetErrorInfo to post the condition. Reasons for failure of this function include:
PMERR_HDC_BUSY PMERR_INV_HDC
PMERR_INV_SETID
PMERR_INV_SETID_TYPE