Reference

NtFlushBuffersFile(3w)

NAME

NtFlushBuffersFile (NTDLL.@)

SYNOPSIS

NTSTATUS NtFlushBuffersFile
(
HANDLE hFile,
IO_STATUS_BLOCK* IoStatusBlock
)

DESCRIPTION

Flush any buffered data on an open file handle.

PARAMS

FileHandle [In] Handle returned from ZwOpenFile(3w) or ZwCreateFile(3w).

IoStatusBlock [Out] Receives information about the operation on return.

RETURNS

Success: 0. IoStatusBlock is updated.

Failure: An NTSTATUS error code describing the error.

IMPLEMENTATION

Declared in "winternl.h".

Implemented in "dlls/ntdll/file.c".

Debug channel "ntdll".

History