mirror of
https://github.com/reactos/reactos.git
synced 2024-11-19 13:33:42 +00:00
c7e6a9d04b
Icon by Jared Smudde CORE-7684
34 lines
662 B
C++
34 lines
662 B
C++
/*
|
|
* PROJECT: ReactOS Zip Shell Extension
|
|
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
|
* PURPOSE: zip pidl handling
|
|
* COPYRIGHT: Copyright 2017 Mark Jansen (mark.jansen@reactos.org)
|
|
*/
|
|
|
|
|
|
enum ZipPidlType
|
|
{
|
|
ZIP_PIDL_DIRECTORY,
|
|
ZIP_PIDL_FILE
|
|
};
|
|
|
|
#include <pshpack1.h>
|
|
struct ZipPidlEntry
|
|
{
|
|
WORD cb;
|
|
BYTE MagicType;
|
|
ZipPidlType ZipType;
|
|
|
|
ULONG64 CompressedSize;
|
|
ULONG64 UncompressedSize;
|
|
ULONG DosDate;
|
|
BYTE Password;
|
|
|
|
char Name[1];
|
|
};
|
|
#include <poppack.h>
|
|
|
|
|
|
LPITEMIDLIST _ILCreate(ZipPidlType Type, LPCSTR lpString, unz_file_info64& info);
|
|
const ZipPidlEntry* _ZipFromIL(LPCITEMIDLIST pidl);
|
|
|