2017-12-18 02:30:40 +00:00
|
|
|
/* Benjamin DELPY `gentilkiwi`
|
2020-09-17 01:17:11 +00:00
|
|
|
https://blog.gentilkiwi.com
|
2017-12-18 02:30:40 +00:00
|
|
|
benjamin@gentilkiwi.com
|
|
|
|
Licence : https://creativecommons.org/licenses/by/4.0/
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "globals.h"
|
|
|
|
#include <strsafe.h>
|
|
|
|
#include <fci.h>
|
|
|
|
|
|
|
|
LPCSTR FCIErrorToString(FCIERROR err);
|
|
|
|
|
|
|
|
typedef struct _KIWI_CABINET{
|
|
|
|
HFCI hfci;
|
|
|
|
CCAB ccab;
|
|
|
|
ERF erf;
|
|
|
|
} KIWI_CABINET, *PKIWI_CABINET;
|
|
|
|
|
|
|
|
PKIWI_CABINET kull_m_cabinet_create(LPSTR cabinetName);
|
|
|
|
BOOL kull_m_cabinet_add(PKIWI_CABINET cab, LPSTR sourceFile, OPTIONAL LPSTR destFile);
|
|
|
|
BOOL kull_m_cabinet_close(PKIWI_CABINET cab);
|