## Presentation Device Driver Reference for OS/2

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

### GreQueryCodePageVector Return Value - rc

rc (PUSHORT) - returns Return codes.

This function returns a pointer to the code page vector, or it returns GPI_ ERROR 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_EXCEEDS_MAX_SEG_LENGTH
PMERR_INSUFFICIENT_MEMORY
PMERR_INV_CODEPAGE

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