Click or drag to resize

SystemImageListGetIconHandle Method (Int32)

Gets icon handle for the image index.

Namespace:  Jam.Shell
Assembly:  ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.1
Syntax
public IntPtr GetIconHandle(
	int pIconIndex
)

Parameters

pIconIndex
Type: SystemInt32
Zero-based index of the icon.

Return Value

Type: IntPtr
The icon handle.
Remarks
The returned icon handle must be released using DestroyIcon(IntPtr) when the handle is not needed anymore to avoid GDI leaks.
See Also