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:
Pocket PC: custom RAPI class for operating with files and folders on mobile device
CeCopyFile
..msdn    Add comment     W32 Constants      Translate this page
This function copies an existing file to a new file.
Code examples:
Pocket PC: custom RAPI class for operating with files and folders on mobile device
Declaration:
BOOL CeCopyFile(
  LPCWSTR lpExistingFileName, 
  LPCWSTR lpNewFileName, 
  BOOL bFailIfExists
);
FoxPro declaration:
DECLARE INTEGER CeCopyFile IN rapi;
    STRING  lpExistingFileName,;
    STRING  lpNewFileName,;
    INTEGER bFailIfExists

Parameters:
lpExistingFileName
[in] Long pointer to a null-terminated string that specifies the name of an existing file.

lpNewFileName
[in] Long pointer to a null-terminated string that specifies the name of the new file.

bFailIfExists
[in] Boolean value that specifies how this operation is to proceed if a file of the same name as that indicated by lpNewFileName already exists.
Return value:
Nonzero indicates success.
My comment:
See also CeMoveFile and CeDeleteFile functions.
Word Index links for the CeCopyFile :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-08-21 15:47:03
Modified: 2004-08-21 15:48:47
Visited in last 7 days: 8
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2014 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.68), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Google
Advertise here!