ComCtl32ImageList_GetIcon Method

Creates an icon from an image and mask in an image list.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("ComCtl32.dll")]
public static IntPtr ImageList_GetIcon(
	IntPtr hImageList,
	int index,
	uint flags
)

Parameters

hImageList  IntPtr
A handle to the image list.
index  Int32

[Missing <param name="index"/> documentation for "M:DevCase.Win32.NativeMethods.ComCtl32.ImageList_GetIcon(System.IntPtr,System.Int32,System.UInt32)"]

flags  UInt32
A combination of flags that specify the drawing style.

Return Value

IntPtr
Returns the handle to the icon if successful, or Zero otherwise.

Remarks

See Also