Simulation support:

None. This function is mandatory for all drivers.

Description:

GreDeviceSelectBitmap informs the presentation driver that a new bit map is selected into the device context. See also GreSelectBitmap.

This function must be supported by the presentation driver.

#define INCL_GRE_BITMAPS
#include <os2.h>

HDC      hdc;        /*  Device context handle. */
ULONG    hbm;        /*  Device bit-map handle. */
PVOID    pInstance;  /*  Pointer to instance data. */
ULONG    lFunction;
BOOL     rc;         /*  Return Codes. */

rc = GreDeviceSelectBitmap(hdc, hbm, pInstance,
       lFunction);


[Back: GreDeviceSelectBitmap]
[Next: GreDeviceSelectBitmap Parameter - hdc]