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

# FlushViewOfFile(3w)

## NAME

**FlushViewOfFile** (KERNEL32.@)

## SYNOPSIS

BOOL FlushViewOfFile\
  (\
   LPCVOID *base*,\
   SIZE\_T  *size*\
  )

## DESCRIPTION

Writes to the disk a byte range within a mapped view of a file.

## PARAMS

*base* **\[In\]**  Start address of byte range to flush.

*size* **\[In\]**  Number of bytes in range.

## RETURNS

**Success:** **TRUE**.

**Failure:** **FALSE**.

## IMPLEMENTATION

Declared in **"winbase.h"**.

Implemented in **"dlls/kernel32/virtual.c"**.
