## Presentation Device Driver Reference for OS/2

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

### GreGetHandle Return Value - rc

rc (LONG) - returns Return code.

On completion, the graphics engine returns the handle requested hHandle), or 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

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