FolderParseDisplayName Method (IntPtr, IBindCtx, String, Int32, IntPtr, SFGAO, 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 public int ParseDisplayName(
IntPtr hwnd,
IBindCtx bindContext,
string displayName,
out int eaten,
out IntPtr relativePidl,
ref SFGAO attributes,
bool throwOnError = true
)
Parameters
- hwnd
- Type: SystemIntPtr
A window handle. - bindContext
- Type: System.Runtime.InteropServices.ComTypesIBindCtx
An optional bind context used to pass parameters as inputs and outputs to the parsing function. - displayName
- Type: SystemString
A string with the display name. - eaten
- Type: SystemInt32
Receives the number of characters of the display name that was parsed. - relativePidl
- Type: SystemIntPtr
The PIDL for the object. - attributes
- Type: ShellBoost.Core.WindowsShellSFGAO
To query for one or more attributes, initialize this parameter with the SFGAO flags that represent the attributes of interest. On return, those attributes that are true and were requested will be set. - throwOnError (Optional)
- Type: SystemBoolean
true to throw error; otherwise false.
Return Value
Type:
Int32An error number or 0.
See Also