###User Defined Function###
_WinAPI_FlushFileBuffers

###Description###
Flushes the buffers of a specified file and causes all buffered data to be written

###Syntax###
#include <WinAPI.au3>
_WinAPI_FlushFileBuffers ( $hFile )


###Parameters###
@@ParamTable@@
$hFile
	Handle to an open file. The file handle must have the $GENERIC_WRITE access right. If hFile is
	a handle to a communications device, the function only flushes the transmit buffer. If hFile is a handle to
	the server end of a named pipe the function does not return until the client has read all buffered data from
	the pipe.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	True
Failure:	False, call <a href="_WinAPI_GetLastError.htm">_WinAPI_GetLastError()</a> to get extended error information
@@End@@


###Remarks###
None.


###Related###
_WinAPI_CloseHandle, _WinAPI_CreateFile, _WinAPI_GetFileSizeEx, _WinAPI_ReadFile, _WinAPI_SetEndOfFile, _WinAPI_SetFilePointer, _WinAPI_WriteFile


###See Also###
@@MsdnLink@@ FlushFileBuffers
