PathAddExtensionA.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

PathAddExtensionA (SHLWAPI.@)

SYNOPSIS

BOOL PathAddExtensionA
 (
  LPSTR  lpszPath,
  LPCSTR lpszExtension
 )

DESCRIPTION

Add a file extension to a path.

PARAMS

lpszPath [In/Out] Path to add extension to.

lpszExtension [In] Extension to add to lpszPath.

RETURNS

TRUE If the path was modified, FALSE If lpszPath or lpszExtension are invalid, lpszPath has an extension already, or the new path length is too big.

FIXME

What version of shlwapi.dll adds "exe" if lpszExtension is NULL? Win2k does not do this, so the behaviour was removed.

IMPLEMENTATION

Defined in "shlwapi.h".

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

Debug channel "shell".