Using Win32 functions in Visual FoxPro Image Gallery
Shell Lightweight Utility APIs -- Path Functions
..msdn
PathBuildRoot
PathCombine
PathCompactPathEx
PathFileExists
PathFindExtension
PathFindFileName
PathFindOnPath
PathGetDriveNumber
PathGetShortPath
PathIsDirectory
PathIsNetworkPath
PathIsRelative
PathIsRoot
PathIsURL
PathRenameExtension
PathSearchAndQualify
UrlEscape
UrlGetPart
UrlHash
UrlUnescape
Code examples:
Using Path functions from Shell Lightweight Utility APIs (shlapi.dll)
PathRenameExtension
..msdn    Add comment     W32 Constants      Translate this page
Replaces the extension of a file name with a new extension.
Code examples:
Using Path functions from Shell Lightweight Utility APIs (shlapi.dll)
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:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-10-29 19:17:03
Modified: 2001-11-26 16:03:52
Visited in last 7 days: 17
User Contributed Notes:
There are no notes on this subject.


Copyright © 2001-2013 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (23.22.212.158)
2.67 hrs.Example: 'Compressing and decompressing files with Windows API Runtime Library routines'
5.05 hrs.Example: 'HOWTO: Use the Win32 API to Access File Dates and Times'
 Function: 'SHEnumKeyEx'
 Example: 'List of addresses in the AutoDial mapping database'
11.93 hrs.Function: 'EnumProcessModules'
 Example: 'Testing if a connection to an Url can be established'
 Example: 'Retrieving long values associated with the class of the VFP window'
13.74 hrs.Example: 'Using Multimedia Command Strings to play MIDI files'
 Example: 'Reading the structure of VFP main menu'
 Example: 'Copying picture of the active form to the Clipboard using Enhanced Metafile API functions'
Google
Advertise here!