PathIsSameRoot Compares two paths to determine if they have a common root component.
VB4-32,5,6
Declare Function PathIsSameRoot Lib "shlwapi.dll" Alias "PathIsSameRootA" (ByVal pszPath1 As String, ByVal pszPath2 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) |
- pszPath1
Address of the first path to be compared.
- pszPath2
Address of the second path to be compared. |
Returns TRUE if both strings have the same root component, or FALSE otherwise. |
|