Using Win32 functions in Visual FoxPro Image Gallery
Shell Functions
..msdn
AssocQueryString
DllGetVersion
DragAcceptFiles
DragFinish
DragQueryFile
DragQueryPoint
FileIconInit
FindExecutable
GetFileNameFromBrowse
GetMenuContextHelpId
GetWindowContextHelpId
InetIsOffline
IsUserAnAdmin
LoadUserProfile
PathMakeUniqueName
PathYetAnotherMakeUniqueName
RealDriveType
RestartDialog
SHAddToRecentDocs
SHBrowseForFolder
SHCreateDirectory
ShellAbout
ShellExecute
ShellExecuteEx
Shell_GetImageLists
Shell_NotifyIcon
SHEmptyRecycleBin
SHFileOperation
SHFormatDrive
SHGetFileInfo
SHGetFolderPath
SHGetPathFromIDList
SHGetSpecialFolderLocation
SHGetStockIconInfo
SHParseDisplayName
SHQueryRecycleBin
SHSimpleIDListFromPath
UnloadUserProfile
WinHelp
Code examples:
Creating a unique filename based on existing filename
PathYetAnotherMakeUniqueName
    Add comment     W32 Constants      Translate this page
Creates a unique filename based on an existing filename.
Code examples:
Creating a unique filename based on existing filename
Declaration:
BOOL PathYetAnotherMakeUniqueName(
    LPWSTR pszUniqueName,
    LPCWSTR pszPath,
    LPCWSTR pszShort,
    LPCWSTR pszFileSpec
);
FoxPro declaration:
DECLARE INTEGER PathYetAnotherMakeUniqueName IN shell32;
    STRING @ pszUniqueName,;
    STRING   pszPath,;
    STRING   pszShort,;
    STRING   pszFileSpec
Parameters:
pszUniqueName
[out] A string buffer that receives a NULL-terminated Unicode string that contains the fully qualified path of the unique file name.

pszPath
[in] A NULL-terminated Unicode string containing the fully qualified path of folder that will contain the new file.

pszShort
[in] A NULL-terminated Unicode string containing the short file name that the unique name will be based on.

pszFileSpec
[in] A NULL-terminated Unicode string containing the long file name that the unique name will be based on.
Return value:
Returns TRUE if a unique name was successfully created, FALSE if not.
My comment:
See also PathMakeUniqueName function.
Word Index links for the PathYetAnotherMakeUniqueName :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2003-03-17 11:01:49
Modified: 2003-03-17 11:04:36
Visited in last 7 days: 31
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 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.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.91.171.137)
13 sec.
Function group: 'Region'
28 sec.Function: 'sndPlaySound'
42 sec.Function: 'SetSearchPathMode'
57 sec.Function: 'GetNamedSecurityInfo'
1.17 min.Function: 'SQLGetInstalledDrivers'
Google
Advertise here!