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

# PathAddBackslashA(3w)

## NAME

**PathAddBackslashA** (SHLWAPI.@)

## SYNOPSIS

LPSTR PathAddBackslashA\
  (\
   LPSTR *lpszPath*\
  )

## DESCRIPTION

Append a backslash (**'´**) to a path if one doesn't exist.

## PARAMS

*lpszPath* **\[In/Out\]**  The path to append a backslash to.

## RETURNS

**Success:** The position of the last backslash in the path.

**Failure:** **NULL**, if *lpszPath* is **NULL** or the path is too large.

## IMPLEMENTATION

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

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

Debug channel **"shell"**.
