## Presentation Device Driver Reference for OS/2

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

### GreSetScreenBits Return Value - rc

rc (LONG) - returns This function returns one of the following:

1 The supplied data is successfully decompressed in the memory bit map.

0 An error occurred.

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_BITMAP_NOT_SELECTED
PMERR_INCOMPAT_COLOR_FORMAT
PMERR_INV_DC_TYPE
PMERR_INV_IMAGE_DIMENSION
PMERR_INV_IN_AREA
PMERR_INV_IN_PATH
PMERR_INV_LENGTH_OR_COUNT
PMERR_INV_RECT

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