mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 04:42:00 +00:00
33 lines
561 B
C
33 lines
561 B
C
// Structs related to .cab extraction
|
|
// FIXME: they should belong to exports of cabinet.dll
|
|
#pragma once
|
|
|
|
struct ERF
|
|
{
|
|
INT erfOper;
|
|
INT erfType;
|
|
BOOL fError;
|
|
};
|
|
|
|
struct FILELIST
|
|
{
|
|
LPSTR FileName;
|
|
FILELIST *next;
|
|
BOOL DoExtract;
|
|
};
|
|
|
|
struct SESSION
|
|
{
|
|
INT FileSize;
|
|
ERF Error;
|
|
FILELIST *FileList;
|
|
INT FileCount;
|
|
INT Operation;
|
|
CHAR Destination[MAX_PATH];
|
|
CHAR CurrentFile[MAX_PATH];
|
|
CHAR Reserved[MAX_PATH];
|
|
FILELIST *FilterList;
|
|
};
|
|
|
|
typedef HRESULT(WINAPI *fnExtract)(SESSION *dest, LPCSTR szCabName);
|