Scroll to navigation

SetDIBits(3w) Wine API SetDIBits(3w)

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

Declared in "gdi_private.h".
Implemented in "dlls/gdi32/dib.c".
Debug channel "bitmap".
Oct 2012 Wine API