Reference

ImageList_AddIcon(3w)

NAME

ImageList_AddIcon (COMCTL32.@)

SYNOPSIS

INT ImageList_AddIcon
(
HIMAGELIST himl,
HICON hIcon
)

DESCRIPTION

Adds an icon to an image list.

PARAMS

himl [In] handle to image list.

hIcon [In] handle to icon.

RETURNS

Success: index of the new image

Failure: -1

IMPLEMENTATION

Declared in "commctrl.h".

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

Debug channel "imagelist".

History