## Presentation Device Driver Reference for OS/2

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

### GreResurrection Return Value - lResult

lResult (LONG) - returns Return codes.

On completion, the handling routine must return a LONG value (lResult):

0 Error.
1 The screen has been successfully redrawn.
2 The screen has not been completely redrawn; further action is required from the application.

Possible Errors Detected: When an error is detected, the handling routine must call WinSetErrorInfo to post the condition. Error codes for conditions that the handling routine is expected to check include:

PMERR_DEV_FUNC_NOT_INSTALLED
PMERR_INV_HDC