PathIsUNCServer Determines if a string is a valid UNC (universal naming convention) for a server path only.
VB4-32,5,6
Declare Function PathIsUNCServer Lib "shlwapi.dll" Alias "PathIsUNCServerA" (ByVal pszPath As String) As Long |
Operating Systems Supported |
Requires Windows 2000 (or Windows NT 4.0 with Internet Explorer 4.0 or later); Requires Windows 98 (or Windows 95 with Internet Explorer 4.0 or later) |
- pszPath
Address of the path to validate. |
Returns TRUE if the string is a valid UNC path for a server only (no share name), or FALSE otherwise. |
|