* retrieving bits from the compatible bitmap into a buffer * as a device-independent bitmap (DIB) with a BitsPerPixel value * as one of the printer device context lcBInfo = InitBitmapInfo(hPrnDC) lpBitsArray = InitBitsArray() = GetDIBits (hMemDC, hMemBmp, 0, pnHeight,; lpBitsArray, @lcBInfo, DIB_RGB_COLORS)