PathRenameExtensionA(3w)

PathRenameExtensionA3w

Usage

BOOL PathRenameExtensionA
(
LPSTR lpszPath,
LPCSTR lpszExt
)

Overview

Swap the file extension in a path with another extension.

Params

lpszPath [In/Out] Path to swap the extension in.

lpszExt [In] The new extension.

Returns

TRUE if lpszPath was modified, FALSE if lpszPath or lpszExt is NULL, or the new path is too long

Implementation

Declared in "shlwapi.h".

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

Debug channel "shell".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.