Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

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))

.
Summary
SHGetPathFromIDList - Gets a path from a ID List
.

/// 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" _

.
Documentation
SHGetPathFromIDList @msdn on MSDN
.

            if (true == SHGetPathFromIDListW(ptrDirVideo, sbDirVideo))

.

        public static extern bool SHGetPathFromIDListW(IntPtr pidl, [MarshalAs(UnmanagedType.LPTStr)] StringBuilder pszPath);


 
Access PInvoke.net directly from VS: