Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
This macro calls the ImageList_GetIconfunction to create an icon based on an image and mask in an image list.
Syntax
HICON WINAPI ImageList_ExtractIcon( HINSTANCE hi, HIMAGELIST himl, int i ); |
Parameters
- hi
-
[in] Not used; set to 0.
- himl
-
[in] Handle to the image list.
- i
-
[in] Index of the image.
Return Value
The handle of the icon indicates success. NULL indicates failure.
Remarks
In Windows Embedded CE, you can only use the ImageList_ExtractIconmacro to create an icon, not a cursor.
ImageList_ExtractIconis not supported for emulation.
Requirements
Header | commctrl.h |
Windows Embedded CE | Windows CE 1.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |