GetDIBits(3w)

GetDIBits3w

Usage

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.

Overview

Retrieves bits of bitmap and copies to buffer.

Returns

Success: Number of scan lines copied from bitmap

Failure: 0

Implementation

Declared in "wingdi.h".

Implemented in "dlls/gdi32/dib.c".

Debug channel "bitmap".

Releases

5 releases since Debian 2.1 (Slink); the text changed 4 times.

  1. 2.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.