Desktop Functions: Smart Device Functions:
|
Search Results for "GetPath" in [All]gdi321: GetPath
ntdll2: NtCreateFile
GetPathFromFileReference(UInt64 frn) user32
public static string GetPathOfWallpaper() msiInterfaces6: IKnownFolder
[In, MarshalAs ( UnmanagedType.LPWStr )] string pszTargetPath, [In] uint cFolders,
[In, MarshalAs ( UnmanagedType.LPWStr )] string pszTargetPath, [In] uint cFolders, 8: IShellLinkA
void GetPath([Out(), MarshalAs(UnmanagedType.LPStr)] StringBuilder pszFile, int cchMaxPath
Sub GetPath(<Out(), MarshalAs(UnmanagedType.LPStr)> ByVal pszFile As StringBuilder, ByVal cchMaxPath As Integer, ByRef pfd As WIN32_FIND_DATAA, ByVal fFlags As UInteger) 9: IShellLinkW
void GetPath([Out(), MarshalAs(UnmanagedType.LPWStr)] StringBuilder pszFile, int cchMaxPath, out UnsafeNativeMethods.WIN32_FIND_DATAW pfd, UnsafeNativeMethods.SLGP_FLAGS fFlags);
<PreserveSig()> Function GetPath( _ 10: IUri
UInt32 GetPath([MarshalAs(UnmanagedType.BStr)][Out] out string sPath);
UInt32 GetPathAndQuery([MarshalAs(UnmanagedType.BStr)][Out] out string sPathAndQuery); Enums11: SLGP_FLAGS
/// <summary>IShellLink.GetPath fFlags: Flags that specify the type of path information to retrieve</summary> difxapi
public static extern Int32 DriverPackageGetPath([MarshalAs(UnmanagedType.LPTStr)] string DriverPackageInfPath, [MarshalAs(UnmanagedType.LPTStr)] string pDestInfPath, out Int32 pNumOfChars);
Public Declare Auto Function DriverPackageGetPath Lib "DIFxAPI.dll" (ByVal DriverPackageInfPath As String, ByVal pDestInfPath As String, ByRef pNumOfChars As Int32) As Int32
public static extern Int32 DriverPackageGetPath(
Int32 GetPathResult = DriverPackageGetPath(infFile, infDriverStorePath, out infDriverStorePathLength);
if (GetPathResult == ERROR_INSUFFICIENT_BUFFER)
GetPathResult = DriverPackageGetPath(infFile, infDriverStorePath, out infDriverStorePathLength);
Dim GetPathResult As Int32 = DriverPackageGetPath(infFile, infDriverStorePath, infDriverStorePathLength)
If GetPathResult = ERROR_INSUFFICIENT_BUFFER Then
GetPathResult = DriverPackageGetPath(infFile, infDriverStorePath, infDriverStorePathLength) 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); advapi32
retVal.connectionName = Path.GetPathRoot(localPath);
retVal.remainingPath = localPath.Substring(Path.GetPathRoot(localPath).Length); Public Sub GetPath()
_connect = IO.Path.GetPathRoot(_origpath) coredll
private string getPath(int folderCSIDL) netapi3218: NetShareGetInfo
static string NetShareGetPath(string serverName, string netName)
Console.WriteLine("path=" + NetShareGetPath("\\\\remote_server", "share_name")); kernel3219: DefineDosDevice
string lpTargetPath);
string lpTargetPath);
string lpTargetPath,uint ucchMax);
Dim sRootFolder As String = IO.Path.GetPathRoot(FolderPath) 21: QueryDosDevice
static extern uint QueryDosDevice(string lpDeviceName, IntPtr lpTargetPath, uint ucchMax);
static extern uint QueryDosDevice(string lpDeviceName, StringBuilder lpTargetPath, int ucchMax);
Public Shared Function QueryDosDevice(lpDeviceName As String, lpTargetPath As System.Text.StringBuilder, ucchMax As Integer) As Integer
string driveLetter = Path.GetPathRoot(path).Replace("\\", "");
realPath = Path.Combine(realRoot, path.Replace(Path.GetPathRoot(path), "")); |