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

# PathBuildRootA(3w)

## NAME

**PathBuildRootA** (SHLWAPI.@)

## SYNOPSIS

LPSTR PathBuildRootA\
  (\
   LPSTR *lpszPath*,\
   int   *drive*\
  )

## DESCRIPTION

Create a root *drive* string (e.g. **"A:**

## PARAMS

*lpszPath* **\[Out\]**  Destination for the *drive* string.

## RETURNS

*lpszPath*.

## NOTES

If *lpszPath* is **NULL** or *drive* is invalid, nothing is written to *lpszPath*.

## IMPLEMENTATION

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

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

Debug channel **"shell"**.
