1410 if (!p_fci_internal)
return FALSE;
1412 if ((!pszSourceFile) || (!
pszFileName) || (!pfnfcignc) || (!pfnfcis) ||
1421 switch (typeCompress)
1426 p_fci_internal->
compress = compress_MSZIP;
1430 FIXME(
"compression %x not supported, defaulting to none\n", typeCompress );
1469 ( p_fci_internal->
ccab.
cb < read_result +
1477 if (!(*pfnfcignc)(p_fci_internal->
pccab,
1479 p_fci_internal->
pv)) {
1500 p_fci_internal->
ccab.
cb < read_result +
1530 p_fci_internal->
ccab.
cb < read_result ) {
1543 ( p_fci_internal->
ccab.
cb < read_result +
1551 if (!(*pfnfcignc)(p_fci_internal->
pccab,
1553 p_fci_internal->
pv)) {
1573 p_fci_internal->
ccab.
cb < read_result +
cab_ULONG pending_data_size
ACPI_SIZE strlen(const char *String)
static void set_error(FCI_Int *fci, int oper, int err)
static BOOL fci_flush_cabinet(FCI_Int *p_fci_internal, BOOL fGetNextCab, PFNFCIGETNEXTCABINET pfnfcignc, PFNFCISTATUS pfnfcis)
cab_ULONG placed_files_size
#define ERROR_BAD_ARGUMENTS
BOOL __cdecl FCIFlushFolder(HFCI hfci, PFNFCIGETNEXTCABINET pfnfcignc, PFNFCISTATUS pfnfcis)
struct _CFFOLDER CFFOLDER
#define ERROR_FUNCTION_FAILED
cab_ULONG folders_data_size
char szDisk[CB_MAX_DISK_NAME]
char szCab[CB_MAX_CABINET_NAME]
WORD WORD PSZ PSZ pszFileName
static BOOL add_file_data(FCI_Int *fci, char *sourcefile, char *filename, BOOL execute, PFNFCIGETOPENINFO get_open_info, PFNFCISTATUS status_callback)
cab_ULONG statusFolderTotal
static cab_UWORD compress_NONE(FCI_Int *fci)
#define CB_MAX_CABINET_NAME
cab_ULONG estimatedCabinetSize
ULONG cCompressedBytesInFolder
cab_UWORD(* compress)(struct FCI_Int *)
static FCI_Int * get_fci_ptr(HFCI hfci)
#define ERROR_GEN_FAILURE
static cab_ULONG get_header_size(FCI_Int *fci)