GetDIBits (GDI32.@)
INT GetDIBits ( HDC hdc, HBITMAP hbitmap, UINT startscan, UINT lines, LPVOID bits, BITMAPINFO* info, UINT coloruse )
hdc | [In] | Handle to device context. |
hbitmap | [In] | Handle to bitmap. |
startscan | [In] | First scan line to set in dest bitmap. |
lines | [In] | Number of scan lines to copy. |
bits | [Out] | Address of array for bitmap bits. |
info | [Out] | Address of structure with bitmap data. |
coloruse | [In] | RGB or palette index. |
Retrieves bits of bitmap and copies to buffer.
Success: Number of scan lines copied from bitmap
Failure: 0
Defined in "wingdi.h".
Implemented in "dlls/gdi32/dib.c". source.winehq.org/source/dlls/gdi32/dib.c
Debug channel "bitmap".
Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jul 2008.