 |
PathRenameExtension ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Replaces the extension of a file name with a new extension. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL PathRenameExtension(
LPTSTR pszPath,
LPCTSTR pszExt
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER PathRenameExtension IN shlwapi;
STRING @ pszPath,;
STRING pszExt
|
 |
 |
 |
| Parameters: |
 |
pszPath
[in] Pointer to a null-terminated string of maximum length MAX_PATH in which to replace the extension.
pszExt
[in] Address of a character buffer that contains a "." followed by the new extension. |
 |
 |
| Return value: |
 |
| Returns nonzero if successful, or zero if the new path and extension would exceed MAX_PATH characters. |
 |
 |
| Word Index links for the PathRenameExtension : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-10-29 19:17:03 | | Modified: | 2001-11-26 16:03:52 | Visited in last 7 days: 17 |