---
name: "NtFlushBuffersFile"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/NtFlushBuffersFile"
---

# 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"**.
