ImageList_ExtractIcon (Windows CE 5.0)

Send Feedback

This macro calls the ImageList_GetIcon function to create an icon based on an image and mask in an image list.

HICONWINAPIImageList_ExtractIcon(HINSTANCEhi, HIMAGELISThiml, inti );

Parameters

  • hi
    [in] Not used; set to 0.
  • himl
    [in] Handle to the image list.
  • i
    [in] Index of the image.

Return Values

The handle of the icon indicates success. NULL indicates failure.

Remarks

In Windows CE, you can only use the ImageList_ExtractIcon macro to create an icon, not a cursor.

ImageList_ExtractIcon is not supported for emulation.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

ImageList_GetIcon

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.