DIB_BitmapBits

BOOL DIB_BitmapBits(LPPDEVICE lpDevice, DWORD fFlags, DWORD dwCount,
    LPSTR lpBits)
 

Sets, retrieves, or copies bitmap data.

lpDevice
Address of a PDEVICE or PBITMAP structure specifying a device or memory bitmap.
fFlags
Flag specifying whether data is set, retrieved, or copied.
Value Meaning
DBB_SET Sets bitmap bits by copying data from the buffer pointed to by the lpBits parameter to the specified device.
DBB_SETWITHFILLER Identical to DDB_SET unless the bitmap is larger than 64K bytes (as specified by the lpDevice member of the PBITMAP structure). If the bitmap is larger than 64K bytes, scanlines are never broken across segments. Instead, the last bytes of each segment are used for padding and should be ignored by the driver.
DBB_GET Retrieves bitmap bits by copying data from the specified device to the buffer pointed to by lpBits.
DBB_COPY Copies bitmap bits from the bitmap pointed to by lpBits to the specified device.

dwCount
The number of bits to copy.
lpBits
Address of a buffer or a bitmap, depending on the value of the fFlags parameter. If fFlags is DBB_SET or DBB_GET, this parameter points to a buffer that contains or receives the bits for the specified bitmap. If fFlags is DBB_COPY, this parameter points to a device bitmap.

The export ordinal for this function is 30.