PathIsNetworkPath (shlwapi)
Last changed: -131.107.0.72

.
Summary
Determines whether a path string represents a network resource.

C# Signature:

[DllImport("shlwapi.dll")]
[return: MarshalAs(UnmanagedType.Bool)]
static extern bool PathIsNetworkPath(string pszPath);

VB.NET Signature

''' <summary>
''' Determines whether a path string represents a network resource.
''' </summary>
''' <param name="pszPath">A pointer to a null-terminated string of maximum length MAX_PATH that contains the path.</param>
''' <returns>Returns TRUE if the string represents a network resource, or FALSE otherwise.</returns>
<DllImport("shlwapi.dll", EntryPoint:="PathIsNetworkPathW",  SetLastError:=True, CharSet:=CharSet.Unicode)> _
Public Function PathIsNetworkPath(<MarshalAs(UnmanagedType.LPTStr)>pszPath As String) As <MarshalAs(UnmanagedType.Bool)>Boolean

End Function

VB Signature:

Public Declare Function PathIsNetworkPath Lib "shlwapi" Alias "PathIsNetworkPathA" _
        (ByVal pszPath As String) As Long

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation