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

# PathRemoveExtensionA(3w)

## NAME

**PathRemoveExtensionA** (SHLWAPI.@)

## SYNOPSIS

void PathRemoveExtensionA\
  (\
   LPSTR *lpszPath*\
  )

## DESCRIPTION

Remove the file extension from a path.

## PARAMS

*lpszPath* **\[In/Out\]**  Path to remove the extension from.

## NOTES

The **NUL** terminator must be written only if extension exists and if the pointed character is not already **NUL**.

## RETURNS

Nothing.

## IMPLEMENTATION

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

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

Debug channel **"shell"**.
