Click or drag to resize

SystemImageListGetFileIconHandle Method (String, SystemImageListSize, Boolean, Boolean)

Returns the handle of the icon for the specified filePath.

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

Parameters

pName
Type: SystemString
full path of the file
pSize
Type: Jam.ShellSystemImageListSize
If set to SystemImageListSize.SmallIcons small icons are returned, large icons in all other cases
pAddOverlays
Type: SystemBoolean
if true the icon will contain overlays.
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