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 "include/fci.h". gitlab.winehq.org/wine/wine/blob/master/include/fci.h

Implemented in "dlls/cabinet/fci.c". gitlab.winehq.org/wine/wine/blob/master/dlls/cabinet/fci.c

Debug channel "cabinet".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.