private SHParseDisplayName ( [ pszName, |
||
pszName | [ | |
pbc | ||
ppidl | ||
sfgaoIn | ShellFileGetAttributesOptions | |
psfgaoOut | ShellFileGetAttributesOptions | |
Результат | int |
internal static IntPtr PidlFromParsingName(string name) { var retCode = ShellNativeMethods.SHParseDisplayName( name, IntPtr.Zero, out var pidl, 0, out var sfgao); return(CoreErrorHelper.Succeeded(retCode) ? pidl : IntPtr.Zero); }
internal static IntPtr PidlFromParsingName(string name) { IntPtr pidl; ShellNativeMethods.ShellFileGetAttributesOptions sfgao; int retCode = ShellNativeMethods.SHParseDisplayName( name, IntPtr.Zero, out pidl, (ShellNativeMethods.ShellFileGetAttributesOptions) 0, out sfgao); return(CoreErrorHelper.Succeeded(retCode) ? pidl : IntPtr.Zero); }