NAME

CreateMappedBitmap  (COMCTL32.8)

SYNOPSIS

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

DESCRIPTION

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 "include/commctrl.h". gitlab.winehq.org/wine/wine/blob/master/include/commctrl.h

Implemented in "dlls/comctl32/commctrl.c". gitlab.winehq.org/wine/wine/blob/master/dlls/comctl32/commctrl.c

Debug channel "commctrl".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.