---
name: "PathIsSameRootA"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/PathIsSameRootA"
---

# PathIsSameRootA(3w)

## NAME

**PathIsSameRootA** (SHLWAPI.@)

## SYNOPSIS

BOOL PathIsSameRootA\
  (\
   LPCSTR *lpszPath1*,\
   LPCSTR *lpszPath2*\
  )

## DESCRIPTION

Determine if two paths share the same root.

## PARAMS

*lpszPath1* **\[In\]**  Source path.

*lpszPath2* **\[In\]**  Path to compare with.

## RETURNS

**TRUE** If both paths are valid and share the same root. **FALSE** If either path is invalid or the paths do not share the same root.

## IMPLEMENTATION

Declared in **"shlwapi.h"**.

Implemented in **"dlls/shlwapi/path.c"**.

Debug channel **"shell"**.
