Click or drag to resize

FolderDesktopParseDisplayName Method (String, IntPtr, IBindCtx, Boolean)

Translates the display name of a file object or a folder into a PIDL.

Namespace:  ShellBoost.Core.WindowsShell
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static int DesktopParseDisplayName(
	string displayName,
	out IntPtr relativePidl,
	IBindCtx bindContext = null,
	bool throwOnError = true
)

Parameters

displayName
Type: SystemString
A string with the display name.
relativePidl
Type: SystemIntPtr
The PIDL for the object.
bindContext (Optional)
Type: System.Runtime.InteropServices.ComTypesIBindCtx
A optional bind context used to pass parameters as inputs and outputs to the parsing function.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: Int32
An error number or 0.
See Also