Click or drag to resize

SystemImageListGetFileIconHandle Method (ItemIdList, SystemImageListSize, Boolean, Boolean)

Returns the handle of the icon for the specified ItemIdList.

Namespace:  Jam.Shell
Assembly:  ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.1
Syntax
public static IntPtr GetFileIconHandle(
	ItemIdList pItemIdList,
	SystemImageListSize pSize,
	bool pAddOverlays,
	bool pOpened
)

Parameters

pItemIdList
Type: Jam.ShellItemIdList
The absolute ItemIdList of the element.
pSize
Type: Jam.ShellSystemImageListSize
If set to SystemImageListSize.SmallIcons small icons are returned, large icons in all other cases
pAddOverlays
Type: SystemBoolean
if true icons include the links overlay
pOpened
Type: SystemBoolean
if true returns the opened icon for folders.

Return Value

Type: IntPtr
The icon of the specified path with the given parameters.
See Also