CCAB structure (fci.h)

The CCAB structure contains cabinet information.

Syntax

typedef struct {
  ULONG  cb;
  ULONG  cbFolderThresh;
  UINT   cbReserveCFHeader;
  UINT   cbReserveCFFolder;
  UINT   cbReserveCFData;
  int    iCab;
  int    iDisk;
  int    fFailOnIncompressible;
  USHORT setID;
  char   szDisk[CB_MAX_DISK_NAME];
  char   szCab[CB_MAX_CABINET_NAME];
  char   szCabPath[CB_MAX_CAB_PATH];
} CCAB;

Members

cb

The maximum size, in bytes, of a cabinet created by FCI.

cbFolderThresh

The maximum size, in bytes, that a folder will contain before a new folder is created.

cbReserveCFHeader

The size, in bytes, of the CFHeader reserve area. Possible value range is 0-60,000.

cbReserveCFFolder

The size, in bytes, of the CFFolder reserve area. Possible value range is 0-255.

cbReserveCFData

The size, in bytes, of the CFData reserve area. Possible value range is 0-255.

iCab

The number of created cabinets.

iDisk

The maximum size, in bytes, of a cabinet created by FCI.

fFailOnIncompressible

TBD

setID

A value that represents the association between a collection of linked cabinet files.

szDisk[CB_MAX_DISK_NAME]

The name of the disk on which the cabinet is placed.

szCab[CB_MAX_CABINET_NAME]

The name of the cabinet.

szCabPath[CB_MAX_CAB_PATH]

The full path that indicates where to create the cabinet.

Requirements

Requirement Value
Header fci.h

See also

FCICreate