# Function Reference

# _WinAPI_PathIsSameRoot

Compares two paths to determine if they have a common root component

#include <WinAPIShPath.au3>
_WinAPI_PathIsSameRoot ( $sPath1, $sPath2 )

## Parameters

$sPath1 | The first path to be compared.
$sPath2 | The second path to be compared.

## Return Value

True: | both strings have the same root component.
False: | both strings does not have the same root component.

## See Also

Search PathIsSameRoot in MSDN Library.