CreateMappedBitmap(3w)

CreateMappedBitmap3w

Usage

HBITMAP CreateMappedBitmap
(
HINSTANCE hInstance,
INT_PTR idBitmap,
UINT wFlags,
LPCOLORMAP lpColorMap,
INT iNumMaps
)

Overview

Loads a bitmap resource using a colour map.

Params

hInstance [In] Handle to the module containing the bitmap.

idBitmap [In] The bitmap resource ID.

wFlags [In] CMB_MASKED for using bitmap as a mask or 0 for normal.

lpColorMap [In] Colour information needed for the bitmap or NULL (uses system colours).

iNumMaps [In] Number of COLORMAP's pointed to by lpColorMap.

Returns

Success: handle to the new bitmap

Failure: 0

Implementation

Declared in "commctrl.h".

Implemented in "dlls/comctl32/commctrl.c".

Debug channel "commctrl".

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.