|
PathAddExtension Adds a file extension to a path string. VB4-32,5,6 Declare Function PathAddExtension Lib "shlwapi.dll" Alias "PathAddExtensionA" (ByVal pszPath As String, ByVal pszExt As String) As Long |
Operating Systems Supported |
Requires Windows 2000 (or Windows NT 4.0 with Internet Explorer 4.0 or later); Requires Windows 98 (or Windows 95 with Internet Explorer 4 |
· pszPath [in/out] Pointer to a buffer with the NULL-terminated string to which the file extension will be appended. The size of this buffer should be set to MAX_PATH to ensure that it is large enough to hold the returned string.
· pszExtension [in] Pointer to the string that contains the file extension. |
Returns TRUE if an extension was added, or FALSE otherwise. |
|
|
|