Using Win32 functions in Visual FoxPro Image Gallery
File Management
..msdn
CopyFile
CopyFileTransacted
CreateDirectory
CreateFile
CreateFileTransacted
CreateHardLink
CreateSymbolicLink
DeleteFile
DeleteFileTransacted
FindClose
FindCloseChangeNotification
FindFirstChangeNotification
FindFirstFile
FindNextChangeNotification
FindNextFile
FlushFileBuffers
GetBinaryType
GetCurrentDirectory
GetDriveType
GetFileAttributes
GetFileAttributesEx
GetFileInformationByHandle
GetFileType
GetFullPathName
GetLongPathName
GetShortPathName
GetTempFileName
GetTempPath
LockFile
MoveFile
MoveFileTransacted
OpenFile
QueryDosDevice
ReadDirectoryChangesW
ReadFile
RemoveDirectory
RemoveDirectoryTransacted
ReplaceFile
SearchPath
SetCurrentDirectory
SetEndOfFile
SetFileAttributes
SetFilePointer
SetFilePointerEx
SetSearchPathMode
UnlockFile
WriteFile
_lclose
_lopen
Code examples:
Using named pipes for interprocess communication
FlushFileBuffers
..msdn    Add comment     W32 Constants      Translate this page
Flushes the buffers of a specified file and causes all buffered data to be written to a file.
Code examples:
Using named pipes for interprocess communication
Declaration:
BOOL FlushFileBuffers(
    HANDLE hFile
);
FoxPro declaration:
DECLARE INTEGER FlushFileBuffers IN kernel32;
    INTEGER hFile

Parameters:
hFile
[in] A handle to an open file.
Return value:
If the function succeeds, the return value is nonzero.
My comment:
Parameter hFile is different from the handle returned by VFP low-level file functions FOPEN() and FCREATE().

Typically the WriteFile and WriteFileEx functions write data to an internal buffer that the OS writes to a disk on a regular basis. The FlushFileBuffers function writes to a disk all the buffered information for a specified file.
Word Index links for the FlushFileBuffers :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2007-01-16 17:58:10
Modified: 2007-01-16 18:02:24
Visited in last 7 days: 28
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.162.166.214)
9 sec.Function: 'Sleep'
Function group: 'Process and Thread'
17 sec.Function: 'GetTempFileName'
Function group: 'File Management'
26 sec.Function: 'CeCreateDatabase'
Function group: 'Remote Application Programming (RAPI)'
34 sec.Function: 'IsZoomed'
Function group: 'Window'
42 sec.Function: 'ConnectNamedPipe'
Function group: 'Pipe'
51 sec.
Function group: 'Cursor'
1 min.Function: 'CeGetFileSize'
Function group: 'Remote Application Programming (RAPI)'
1.15 min.
Function group: 'Keyboard Input'
1.3 min.Function: 'CreateJobObject'
Function group: 'Process and Thread'
1.45 min.
Function group: 'Kernel Transaction Manager'
Google
Advertise here!