Scroll to navigation

ImageList_AddMasked(3w) Wine API ImageList_AddMasked(3w)

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 "commctrl.h".
Implemented in "dlls/comctl32/imagelist.c".
Debug channel "imagelist".
Oct 2012 Wine API