Click or drag to resize

ShellUtilitiesGetIconLocation Method (String, IBindCtx, GILIN, String, Int32, GILOUT)

Gets the icon location from a shell item path.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static bool GetIconLocation(
	string path,
	IBindCtx bindContext,
	GILIN inFlags,
	out string iconLocationPath,
	out int index,
	out GILOUT outFlags
)

Parameters

path
Type: SystemString
The file path.
bindContext
Type: System.Runtime.InteropServices.ComTypesIBindCtx
A bind context that controls the parsing operation.
inFlags
Type: callback.ShellBoost.Core.WindowsShellGILIN
Input flags.
iconLocationPath
Type: SystemString
The icon location path.
index
Type: SystemInt32
The icon index.
outFlags
Type: callback.ShellBoost.Core.WindowsShellGILOUT
Output flags.

Return Value

Type: Boolean
true if the icon location path and index was retrieved successfully, false otherwise.
Exceptions
ExceptionCondition
ArgumentNullExceptionpath is null.
See Also