Click or drag to resize

SystemImageListGetIconHandle(Int32) Method

Gets icon handle for the image index.

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

Parameters

pIconIndex  Int32
Zero-based index of the icon.

Return Value

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