FlushFileBuffers (kernel32)
Last changed: -68.115.43.6

.
Summary

C# Signature:

[DllImport("kernel32.dll")]
static extern bool FlushFileBuffers(IntPtr hFile);

    or

[DllImport("kernel32.dll", SetLastError=true)]
[return: MarshalAs(UnmanagedType.Bool)]
static extern bool FlushFileBuffers(SafeFileHandle hFile);

VB.Net Signature

<DllImport("kernel32.dll", SetLastError:=True)> Private Shared Function FlushFileBuffers(ByVal hFile As IntPtr) As Boolean
End Function

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation