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

# FCIFlushCabinet(3w)

## NAME

**FCIFlushCabinet** (CABINET.13)

## SYNOPSIS

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

## DESCRIPTION

FCIFlushCabinet stores the data which has been added by FCIAddFile into the cabinet file. If the maximum cabinet size (stored in the member cb of the **CCAB** structure pccab passed to FCICreate) has been exceeded FCIFlushCabinet will be called automatic by FCIAddFile. The remaining data still has to be flushed manually by calling FCIFlushCabinet.

After FCIFlushCabinet has been called (manually) FCIAddFile must **NOT** be called again. Then *hfci* has to be released by FCIDestroy.

## PARAMS

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

*fGetNextCab* **\[In\]**  Whether you want to add additional files to a cabinet set (**TRUE**) or whether you want to finalize it (**FALSE**).

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