Using Win32 functions in Visual FoxPro Image Gallery
Remote Application Programming (RAPI)
..msdn
CeCloseHandle
CeCopyFile
CeCreateDatabase
CeCreateDirectory
CeCreateFile
CeCreateProcess
CeDeleteDatabase
CeDeleteFile
CeDeleteRecord
CeEnumDBVolumes
CeFindAllFiles
CeFindFirstDatabaseEx
CeFindFirstFile
CeFindNextDatabaseEx
CeGetFileSize
CeGetLastError
CeGetSpecialFolderPath
CeGetStoreInformation
CeGetSystemInfo
CeGetSystemPowerStatusEx
CeGetTempPath
CeGetVersionEx
CeGlobalMemoryStatus
CeMoveFile
CeOidGetInfoEx
CeOpenDatabase
CeRapiFreeBuffer
CeRapiGetError
CeRapiInit
CeRapiInitEx
CeRapiInvoke
CeRapiUninit
CeReadFile
CeReadRecordProps
CeRegCloseKey
CeRegCreateKeyEx
CeRegDeleteKey
CeRegDeleteValue
CeRegEnumKeyEx
CeRegEnumValue
CeRegOpenKeyEx
CeRegQueryInfoKey
CeRegQueryValueEx
CeRegSetValueEx
CeRemoveDirectory
CeSeekDatabase
CeSetFilePointer
CeWriteFile
CeWriteRecordProps
Code examples:
CeGetTempPath
..msdn    Add comment     W32 Constants      Translate this page
This function gets the path to the directory designated for temporary files.
Code examples:
Declaration:
DWORD CeGetTempPath( 
  DWORD nBufferLength, 
  LPWSTR lpBuffer
);
FoxPro declaration:
DECLARE INTEGER CeGetTempPath IN rapi;
    INTEGER nBufferLength,;
    LONG    lpBuffer
Parameters:
nBufferLength
[in] Size of lpBuffer in characters.

lpBuffer
[out] Long pointer to the buffer for the folder path. The returned string ends in a backslash (\).
Return value:
The return value is the length, in characters, of the string copied to lpBuffer, not including the terminating null character.
My comment:
If CeGetTempPath fails, the return value is 0. To determine if a function failed because of RAPI errors, call CeRapiGetError. To determine if a function failed because of non-RAPI errors, call CeGetLastError.
Word Index links for the CeGetTempPath :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-06-20 13:33:57
Modified: 2004-06-20 13:35:27
Visited in last 7 days: 18
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.83.122.227)
7 sec.Function: 'CreateMD5SSOHash'
14 sec.Function: 'CryptEnumProviderTypes'
22 sec.Function: 'CopyIcon'
29 sec.Function: 'SetErrorMode'
37 sec.Function: 'SizeofResource'
46 sec.Function: 'GetSystemRegistryQuota'
53 sec.Function: 'CreateSolidBrush'
1.02 min.Function: 'StretchDIBits'
1.15 min.Function: 'WTSUnRegisterSessionNotification'
1.28 min.Function: 'SHGetStockIconInfo'
Google
Advertise here!