## Presentation Device Driver Reference for OS/2

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

### GreCreateBitmap Return Value - rc

rc (HBITMAP) - returns Return codes.

On completion, the handling routine must return the handle of the bit map ( hbm), or 0 if an error occurs.

Possible Errors Detected: Error codes posted by the engine for this function include:

PMERR_DEV_FUNC_NOT_INSTALLED
PMERR_HDC_BUSY
PMERR_INSUFFICIENT_MEMORY
PMERR_INV_BITMAP_DIMENSION
PMERR_INV_HDC
PMERR_INV_INFO_TABLE
PMERR_INV_LENGTH_OR_COUNT
PMERR_INV_SCAN_START
PMERR_INV_USAGE_PARM

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