Partager via


ImageList_ExtractIcon (Windows Embedded CE 6.0)

1/6/2010

This macro calls the ImageList_GetIcon function 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_ExtractIcon macro to create an icon, not a cursor.

ImageList_ExtractIcon is not supported for emulation.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Image List Macros
ImageList_GetIcon