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

# PathUnExpandEnvStringsA(3w)

## NAME

**PathUnExpandEnvStringsA** (SHLWAPI.@)

## SYNOPSIS

BOOL PathUnExpandEnvStringsA\
  (\
   LPCSTR *pszPath*,\
   LPSTR  *pszBuf*,\
   UINT   *cchBuf*\
  )

## DESCRIPTION

Substitute folder names in a path with their corresponding environment strings.

## PARAMS

*pszPath* **\[In\]**  Buffer containing the path to unexpand.

*pszBuf* **\[Out\]**  Buffer to receive the unexpanded path.

*cchBuf* **\[In\]**  Size of *pszBuf* in characters.

## RETURNS

**Success:** **TRUE**

**Failure:** **FALSE**

## IMPLEMENTATION

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

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

Debug channel **"shell"**.
