## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### GreQueryFonts Return Value - rc

rc (LONG) - returns Return codes.

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_COORDINATE_OVERFLOW
PMERR_DEV_FUNC_NOT_INSTALLED
PMERR_HDC_BUSY
PMERR_INV_COORD_SPACE
PMERR_INV_HDC
PMERR_INV_LENGTH_OR_COUNT
PMERR_INV_OR_INCOMPAT_OPTIONS

Refer to the "Error Explanations" section of the Presentation Manager Programming Reference for further explanation.