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
CeWriteFile
..msdn    Add comment     W32 Constants      Translate this page
This function writes data to a file on remote Windows CE device.
Code examples:
Pocket PC: custom RAPI class for operating with files and folders on mobile device
Declaration:
BOOL CeWriteFile( 
  HANDLE hFile, 
  LPCVOID lpBuffer, 
  DWORD nNumberOfBytesToWrite, 
  LPDWORD lpNumberOfBytesWritten, 
  LPOVERLAPPED lpOverlapped
);
FoxPro declaration:
DECLARE INTEGER CeWriteFile IN rapi;
    INTEGER   hFile,;
    STRING  @ lpBuffer,;
    INTEGER   nBytesToWrite,;
    INTEGER @ lpBytesWritten,;
    INTEGER   lpOverlapped

Parameters:
hFile
[in] Handle to the file to be written to. The file handle must have been created with GENERIC_WRITE access to the file.

lpBuffer
[in] Pointer to the buffer containing the data to be written to the file.

nNumberOfBytesToWrite
[in] Number of bytes to write to the file.

lpNumberOfBytesWritten
[out] Pointer to the number of bytes written by this function call.

lpOverlapped
[in] Unsupported; set to NULL.
Return value:
Nonzero indicates success.
My comment:
See also CeSetFilePointer, CeReadFile and CeCloseHandle functions.
Word Index links for the CeWriteFile :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-08-21 15:49:35
Modified: 2004-08-21 15:53:26
Visited in last 7 days: 21
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.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.224.75.202)
2 sec.Function: 'GetDefaultPrinter'
5 sec.Function: 'GdipSetImageAttributesColorKeys'
6 sec.Function: 'CryptCreateHash'
9 sec.Function: 'GetFileSizeEx'
11 sec.Function: 'FindNextVolumeMountPoint'
14 sec.Function: 'EndPath'
17 sec.Function: 'GdipRotateWorldTransform'
19 sec.Function: 'DwmExtendFrameIntoClientArea'
23 sec.Function: 'CeRegQueryInfoKey'
26 sec.Function: 'GdipResetWorldTransform'
Google
Advertise here!