Click or drag to resize

SystemImageListGetFileIconHandle(String, SystemImageListSize, Boolean, Boolean) Method

Returns the handle of the icon for the specified filePath.

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

Parameters

pName  String
full path of the file
pSize  SystemImageListSize
If set to SystemImageListSize.SmallIcons small icons are returned, large icons in all other cases
pAddOverlays  Boolean
if true the icon will contain overlays.
pOpened  Boolean
if true returns the opened icon for folders.

Return Value

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