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

# PathCompactPathW(3w)

## NAME

**PathCompactPathW** (SHLWAPI.@)

## SYNOPSIS

BOOL PathCompactPathW\
  (\
   HDC    *hDC*,\
   LPWSTR *lpszPath*,\
   UINT   *dx*\
  )

## DESCRIPTION

See **[PathCompactPathA(3w)](/PathCompactPathA/3w.md)**.

## IMPLEMENTATION

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

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

Debug channel **"shell"**.
