NAME

ImageList_AddMasked  (COMCTL32.@)

SYNOPSIS

 INT ImageList_AddMasked
 (
  HIMAGELIST himl,
  HBITMAP    hBitmap,
  COLORREF   clrMask
 )

DESCRIPTION

Adds an image or images to an image list and creates a mask from the specified bitmap using the mask color.

PARAMS

himl [In] handle to image list.
hBitmap [In] handle to bitmap.
clrMask [In] mask color.

RETURNS

Success: Index of the first new image.

Failure: -1

IMPLEMENTATION

Declared in "include/commctrl.h". gitlab.winehq.org/wine/wine/blob/master/include/commctrl.h

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

Debug channel "imagelist".


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