hdc (HDC) - input
pszFileName (PSZ) - input
pcFonts (PULONG) - input
Pointer to a count of the maximum number of family and face name pairs to be returned. On completion, this count is updated to the number of pairs actually returned.
paszNames (PSZ) - input
Pointer to an array of family and face name pairs whose size is 2 x pcFonts. The family name is the first in each pair.
pInstance (PVOID) - input
lFunction (ULONG) - input
rc (ULONG) - returns
This function returns the number of fonts not returned, 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_BASE_ERROR PMERR_INV_FONT_FILE_DATA