GetDIBits.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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

IMPLEMENTATION

Defined in "gdi_private.h".

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

Debug channel "bitmap".