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

# FCIFlushFolder(3w)

## NAME

**FCIFlushFolder** (CABINET.12)

## SYNOPSIS

BOOL FCIFlushFolder\
  (\
   HFCI                 *hfci*,\
   PFNFCIGETNEXTCABINET *pfnfcignc*,\
   PFNFCISTATUS         *pfnfcis*\
  )

## DESCRIPTION

FCIFlushFolder completes the CFFolder structure under construction.

All further data which is added by FCIAddFile will be associated to the next CFFolder structure.

FCIFlushFolder will be called by FCIAddFile automatically if the threshold (stored in the member cbFolderThresh of the **CCAB** structure pccab passed to FCICreate) is exceeded.

FCIFlushFolder will be called by FCIFlushFolder automatically before any data will be written into the cabinet file.

## PARAMS

*hfci* **\[In\]**  An **HFCI** from FCICreate.

*pfnfcignc* **\[In\]**  A pointer to a function which gets information about the next cabinet.

*pfnfcis* **\[IO\]**  A pointer to a function which will report status information about the compression process.

## RETURNS

On success, returns **TRUE** On failure, returns **FALSE**.

## INCLUDES

fci.h

## IMPLEMENTATION

Declared in **"fci.h"**.

Implemented in **"dlls/cabinet/fci.c"**.

Debug channel **"cabinet"**.
