ReactOS
0.4.16-dev-747-gbc52d5f
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
* Copyright 2023 Katayama Hirofumi MZ (katayama.hirofumi.mz@gmail.com)
7
*/
8
9
10
enum
ZipPidlType
11
{
12
ZIP_PIDL_DIRECTORY
,
13
ZIP_PIDL_FILE
14
};
15
16
#include <pshpack1.h>
17
struct
ZipPidlEntry
18
{
19
WORD
cb
;
// This must be a WORD to keep compatibility to SHITEMID
20
BYTE
MagicType
;
21
BOOLEAN
Password
;
22
ZipPidlType
ZipType
;
23
24
ULONG64
CompressedSize
;
25
ULONG64
UncompressedSize
;
26
ULONG
DosDate
;
27
28
WCHAR
Name
[1];
29
};
30
#include <poppack.h>
31
32
33
LPITEMIDLIST
_ILCreate
(
ZipPidlType
Type
,
PCWSTR
lpString,
unz_file_info64
&
info
);
34
const
ZipPidlEntry
*
_ZipFromIL
(
LPCITEMIDLIST
pidl);
BOOLEAN
unsigned char BOOLEAN
Definition:
ProcessorBind.h:185
Type
Type
Definition:
Type.h:7
WORD
unsigned short WORD
Definition:
ntddk_ex.h:93
ULONG64
unsigned __int64 ULONG64
Definition:
imports.h:198
LPITEMIDLIST
ITEMIDLIST UNALIGNED * LPITEMIDLIST
Definition:
shtypes.idl:41
LPCITEMIDLIST
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
Definition:
shtypes.idl:42
NameRec_
Definition:
apinames.c:49
ZipPidlEntry
Definition:
zippidl.hpp:18
ZipPidlEntry::UncompressedSize
ULONG64 UncompressedSize
Definition:
zippidl.hpp:25
ZipPidlEntry::Password
BOOLEAN Password
Definition:
zippidl.hpp:21
ZipPidlEntry::ZipType
ZipPidlType ZipType
Definition:
zippidl.hpp:22
ZipPidlEntry::cb
WORD cb
Definition:
zippidl.hpp:19
ZipPidlEntry::DosDate
ULONG DosDate
Definition:
zippidl.hpp:26
ZipPidlEntry::CompressedSize
ULONG64 CompressedSize
Definition:
zippidl.hpp:24
ZipPidlEntry::MagicType
BYTE MagicType
Definition:
zippidl.hpp:20
info
Definition:
notification.c:61
unz_file_info64_s
Definition:
unzip.h:112
PCWSTR
const uint16_t * PCWSTR
Definition:
typedefs.h:57
ULONG
uint32_t ULONG
Definition:
typedefs.h:59
WCHAR
__wchar_t WCHAR
Definition:
xmlstorage.h:180
BYTE
unsigned char BYTE
Definition:
xxhash.c:193
_ZipFromIL
const ZipPidlEntry * _ZipFromIL(LPCITEMIDLIST pidl)
Definition:
zippidl.cpp:41
_ILCreate
LPITEMIDLIST _ILCreate(ZipPidlType Type, PCWSTR lpString, unz_file_info64 &info)
Definition:
zippidl.cpp:11
ZipPidlType
ZipPidlType
Definition:
zippidl.hpp:11
ZIP_PIDL_FILE
@ ZIP_PIDL_FILE
Definition:
zippidl.hpp:13
ZIP_PIDL_DIRECTORY
@ ZIP_PIDL_DIRECTORY
Definition:
zippidl.hpp:12
dll
shellext
zipfldr
zippidl.hpp
Generated on Fri Feb 14 2025 06:03:38 for ReactOS by
1.9.6