Simulation support:
This function is simulated by a handling routine in Revision 2.0 (or higher) of the graphics engine and can be hooked by the presentation driver.
Description:
GreDrawBits draws a rectangle of bits.
#define INCL_GRE_BITMAPS #include <os2.h> HDC hdc; /* Device context handle. */ PBYTE pBitmap; /* Pointer to bit map data. */ PBITMAPINFO pInfo; LONG cPoints; /* Number of (X, Y) pairs in paptlPoint. */ PPOINTL paptlPoint; /* Pointer to an array of (X, Y) coordinate pairs. */ LONG lRop; /* Raster operation code. */ ULONG flOptions; PVOID pInstance; /* Pointer to instance data. */ ULONG lFunction; ULONG rc; /* Return Codes. */ rc = GreDrawBits(hdc, pBitmap, pInfo, cPoints, paptlPoint, lRop, flOptions, pInstance, lFunction);