SetDIBits.3w

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

SetDIBits (GDI32.@)

SYNOPSIS

INT SetDIBits
 (
  HDC               hdc,
  HBITMAP           hbitmap,
  UINT              startscan,
  UINT              lines,
  LPCVOID           bits,
  const BITMAPINFO* info,
  UINT              coloruse
 )

DESCRIPTION

Sets pixels in a bitmap using colors from DIB.

PARAMS

hdc [In] Handle to device context.

hbitmap [In] Handle to bitmap.

startscan [In] Starting scan line.

lines [In] Number of scan lines.

bits [In] Array of bitmap bits.

info [In] Address of structure with data.

coloruse [In] Type of color indexes to use.

RETURNS

Success: Number of scan lines copied

Failure: 0

IMPLEMENTATION

Defined in "gdi_private.h".

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

Debug channel "bitmap".