The ImageList_GetIcon function creates an icon or cursor based on an image and mask in an image list.
HICON ImageList_GetIcon(
HIMAGELIST himl, |
|
int i, |
|
UINT flags |
|
); |
If the function succeeds, the return value is the handle of the icon or cursor.
If the function fails, the return value is NULL.