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

# PathCombineA(3w)

## NAME

**PathCombineA** (SHLWAPI.@)

## SYNOPSIS

LPSTR PathCombineA\
  (\
   LPSTR  *lpszDest*,\
   LPCSTR *lpszDir*,\
   LPCSTR *lpszFile*\
  )

## DESCRIPTION

Combine two paths together.

## PARAMS

*lpszDest* **\[Out\]**  Destination for combined path.

*lpszDir* **\[In\]**  Directory path.

*lpszFile* **\[In\]**  File path.

## RETURNS

**Success:** The output path

**Failure:** **NULL**, if inputs are invalid.

## NOTES

*lpszDest* should be at least **MAX\_PATH** in size, and may point to the same memory location as *lpszDir*. The combined path is canonicalised.

## IMPLEMENTATION

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

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

Debug channel **"shell"**.
