Description
GreSelectBitmap selects a bit map into a memory DC or (if called with a NULL bit-map handle) deselects the existing bit map from the DC.
This function is supported by the graphics engine.
#define INCL_GRE_DEVSUPPORT #include <os2.h> HDC hdc; /* Device context handle. */ HBITMAP hbm; /* Bit-map handle. */ PVOID pInstance; /* Pointer to instance data. */ ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreSelectBitmap. */ HBITMAP rc; /* On completion, this function returns an HBITMAP value: */ rc = GreSelectBitmap(hdc, hbm, pInstance, lFunction);