PathAddExtensionA (SHLWAPI.@)
BOOL PathAddExtensionA ( LPSTR lpszPath, LPCSTR lpszExtension )
Add a file extension to a path.
lpszPath | [In/Out] | Path to add extension to. |
lpszExtension | [In] | Extension to add to lpszPath. |
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.
What version of shlwapi.dll adds "exe" if lpszExtension is NULL? Win2k does not do this, so the behaviour was removed.
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.