ReactOS
0.4.15-dev-5608-gafb953a
zippidl.hpp
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS Zip Shell Extension
3
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4
* PURPOSE: zip pidl handling
5
* COPYRIGHT: Copyright 2017 Mark Jansen (mark.jansen@reactos.org)
6
*/
7
8
9
enum
ZipPidlType
10
{
11
ZIP_PIDL_DIRECTORY
,
12
ZIP_PIDL_FILE
13
};
14
15
#include <pshpack1.h>
16
struct
ZipPidlEntry
17
{
18
WORD
cb
;
19
BYTE
MagicType
;
20
ZipPidlType
ZipType
;
21
22
ULONG64
CompressedSize
;
23
ULONG64
UncompressedSize
;
24
ULONG
DosDate
;
25
BYTE
Password
;
26
27
char
Name
[1];
28
};
29
#include <poppack.h>
30
31
32
LPITEMIDLIST
_ILCreate
(
ZipPidlType
Type
,
LPCSTR
lpString,
unz_file_info64
&
info
);
33
const
ZipPidlEntry
*
_ZipFromIL
(
LPCITEMIDLIST
pidl);
34
ZipPidlEntry::CompressedSize
ULONG64 CompressedSize
Definition:
zippidl.hpp:22
_ILCreate
LPITEMIDLIST _ILCreate(ZipPidlType Type, LPCSTR lpString, unz_file_info64 &info)
Definition:
zippidl.cpp:10
ZIP_PIDL_DIRECTORY
Definition:
zippidl.hpp:11
unz_file_info64_s
Definition:
unzip.h:111
ZipPidlEntry
Definition:
zippidl.hpp:16
ZIP_PIDL_FILE
Definition:
zippidl.hpp:12
LPCITEMIDLIST
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
Definition:
shtypes.idl:42
info
Definition:
notification.c:60
ZipPidlEntry::ZipType
ZipPidlType ZipType
Definition:
zippidl.hpp:20
ZipPidlEntry::Password
BYTE Password
Definition:
zippidl.hpp:25
ZipPidlEntry::UncompressedSize
ULONG64 UncompressedSize
Definition:
zippidl.hpp:23
NameRec_
Definition:
apinames.c:48
_ZipFromIL
const ZipPidlEntry * _ZipFromIL(LPCITEMIDLIST pidl)
Definition:
zippidl.cpp:38
ZipPidlEntry::MagicType
BYTE MagicType
Definition:
zippidl.hpp:19
LPCSTR
const char * LPCSTR
Definition:
xmlstorage.h:183
ZipPidlEntry::cb
WORD cb
Definition:
zippidl.hpp:18
ZipPidlEntry::DosDate
ULONG DosDate
Definition:
zippidl.hpp:24
WORD
unsigned short WORD
Definition:
ntddk_ex.h:93
Type
Type
Definition:
Type.h:6
ULONG64
unsigned __int64 ULONG64
Definition:
imports.h:198
BYTE
unsigned char BYTE
Definition:
xxhash.c:193
ULONG
unsigned int ULONG
Definition:
retypes.h:1
ZipPidlType
ZipPidlType
Definition:
zippidl.hpp:9
LPITEMIDLIST
ITEMIDLIST UNALIGNED * LPITEMIDLIST
Definition:
shtypes.idl:41
dll
shellext
zipfldr
zippidl.hpp
Generated on Sun Jan 29 2023 06:03:50 for ReactOS by
1.8.15