## Presentation Device Driver Reference for OS/2

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

### GreGetBitmapBits Return Value - rc

rc (LONG) - returns Return Code.

On completion, the handling routine must return a LONG value (lLines), indicating the number of lines transferred, or GPI_ALTERROR if 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_DEV_FUNC_NOT_INSTALLED
PMERR_INCORRECT_DC_TYPE
PMERR_INV_HBITMAP
PMERR_INV_IN_AREA
PMERR_INV_IN_PATH
PMERR_INV_INFO_TABLE
PMERR_INV_LENGTH_OR_COUNT
PMERR_INV_SCAN_START

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