NAME

GetDIBits  (GDI32.@)

SYNOPSIS

 INT GetDIBits
 (
  HDC         hdc,
  HBITMAP     hbitmap,
  UINT        startscan,
  UINT        lines,
  LPVOID      bits,
  BITMAPINFO* info,
  UINT        coloruse
 )

PARAMS

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.

DESCRIPTION

Retrieves bits of bitmap and copies to buffer.

RETURNS

Success: Number of scan lines copied from bitmap

Failure: 0.

http://msdn.Microsoft®.com/library/default.asp?url=/library/en-us/gdi/bitmaps_87eb.asp

IMPLEMENTATION

Defined in "wingdi.h".

Implemented in "dlls/gdi/dib.c". source.winehq.org/source/dlls/gdi/dib.c

Debug channel "bitmap".


Copyright © 2005 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Aug 2005.