Desktop Functions: Smart Device Functions:
|
Search Results for "SHGetPathFromIDList" in [All]shell32
// static extern uint SHGetPathFromIDList(IntPtr pidl, [MarshalAs(UnmanagedType.LPWStr)]
static extern bool SHGetPathFromIDList(IntPtr pidl, IntPtr pszPath);
if (SHGetPathFromIDList(lp, pathPtr))
if (true != SHGetPathFromIDList(pidl, bufferAddress))
/// Converts an item identifier list to a file system path. (Note: SHGetPathFromIDList calls the ANSI version, must call SHGetPathFromIDListW for .NET)
public static extern bool SHGetPathFromIDListW(IntPtr pidl, [MarshalAs(UnmanagedType.LPTStr)] StringBuilder pszPath);
''' Converts an item identifier list to a file system path. (Note: SHGetPathFromIDList calls the ANSI version, must call SHGetPathFromIDListW for .NET)
<DllImport("shell32.dll", EntryPoint:="SHGetPathFromIDListW", SetLastError:=true, CharSet:=CharSet.Unicode)> _
Public Function SHGetPathFromIDList(pidl As IntPtr, _
Public Declare Function SHGetPathFromIDList Lib "shell32.dll" Alias "SHGetPathFromIDListA" _
if (true == SHGetPathFromIDListW(ptrDirVideo, sbDirVideo))
public static extern bool SHGetPathFromIDListW(IntPtr pidl, [MarshalAs(UnmanagedType.LPTStr)] StringBuilder pszPath); |