DIB_DibToDevice

WORD DIB_DibToDevice(LPPDEVICE lpDestDev, WORD X, WORD Y, WORD iScan,
    WORD cScans, LPRECT lpClipRect, LPDRAWMODE lpDrawMode,
    LPSTR lpDIBits, LPBITMAPINFO lpBitmapInfo, LPINT lpTranslate)
 

Copies device-independent bitmap data directly to the given device. The function converts the bitmap data to the appropriate device-specific format and copies the resulting bits to the device.

lpDestDev
Address of a PDEVICE structure specifying the device to receive the device-independent bitmap.
X and Y
The x- and y-coordinates in device units to receive the top left corner of the device-independent bitmap.
iScan
The starting scan line.
cScans
The number of scan lines to copy.
lpClipRect
Address of a RECT structure specifying the clip rectangle.
lpDrawMode
Address of a DRAWMODE structure specifying the background mode and background color to use while copying the bitmap.
lpDIBits
Address of a buffer containing the device-independent bitmap bits.
lpBitmapInfo
Address of a BITMAPINFO structure specifying the dimensions and format of the device-independent bitmap. If the RLE_FORMAT_4 or RLE_FORMAT_8 values are set in the biCompression member, the bitmap is in run-length-encoded (RLE) format. In this case, the function must decode the data as it retrieves it from the buffer pointed to by the lpDIBits parameter.
lpTranslate
Address of an array of color-translation values for converting palette colors to actual device colors. This parameter is ignored by devices that do not use color palettes.

The export ordinal for this function is 21.