PathIsUNCServerShare Determines if a string is a valid universal naming convention (UNC) share path, \\server\share.
VB4-32,5,6
Declare Function PathIsUNCServerShare Lib "shlwapi.dll" Alias "PathIsUNCServerShareA" (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
Pointer to a string with the path to be validated. |
Returns TRUE if the string is in the form \\server\share, or FALSE otherwise. |
|