Reference

CreateBitmap(3w)

NAME

CreateBitmap (GDI32.@)

SYNOPSIS

HBITMAP CreateBitmap
(
INT width,
INT height,
UINT planes,
UINT bpp,
LPCVOID bits
)

DESCRIPTION

Creates a bitmap with the specified info.

PARAMS

width [In] bitmap width.

height [In] bitmap height.

planes [In] Number of color planes.

bpp [In] Number of bits to identify a color.

bits [In] Pointer to array containing color data.

RETURNS

Success: Handle to bitmap

Failure: 0

IMPLEMENTATION

Declared in "gdiplusenums.h".

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

Debug channel "bitmap".

History