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 allready, 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". source.winehq.org/source/dlls/shlwapi/path.c

Debug channel "shell".


Copyright © 2005 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Aug 2005.