ReactOS
0.4.16-dev-2574-g474348f
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-2026 Katayama Hirofumi MZ (katayama.hirofumi.mz@gmail.com)
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
;
// This must be a WORD to keep compatibility to SHITEMID
19
BYTE
MagicType
;
20
BOOLEAN
Password
;
21
ZipPidlType
ZipType
;
22
23
ULONG64
CompressedSize
;
24
ULONG64
UncompressedSize
;
25
ULONG
DosDate
;
26
27
WCHAR
Name
[1];
28
};
29
#include <poppack.h>
30
31
LPITEMIDLIST
_ILCreateZipItem
(
ZipPidlType
Type
,
PCWSTR
lpString,
unz_file_info64
&
info
);
32
const
ZipPidlEntry
*
_ZipFromIL
(
LPCITEMIDLIST
pidl);
Type
Type
Definition:
Type.h:7
BOOLEAN
unsigned char BOOLEAN
Definition:
actypes.h:127
WORD
unsigned short WORD
Definition:
ntddk_ex.h:93
ULONG64
unsigned __int64 ULONG64
Definition:
imports.h:198
WCHAR
short WCHAR
Definition:
pedump.c:58
LPITEMIDLIST
ITEMIDLIST UNALIGNED * LPITEMIDLIST
Definition:
shtypes.idl:41
LPCITEMIDLIST
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
Definition:
shtypes.idl:42
ZipPidlEntry
Definition:
zippidl.hpp:17
ZipPidlEntry::Name
WCHAR Name[1]
Definition:
zippidl.hpp:27
ZipPidlEntry::UncompressedSize
ULONG64 UncompressedSize
Definition:
zippidl.hpp:24
ZipPidlEntry::Password
BOOLEAN Password
Definition:
zippidl.hpp:20
ZipPidlEntry::ZipType
ZipPidlType ZipType
Definition:
zippidl.hpp:21
ZipPidlEntry::cb
WORD cb
Definition:
zippidl.hpp:18
ZipPidlEntry::DosDate
ULONG DosDate
Definition:
zippidl.hpp:25
ZipPidlEntry::CompressedSize
ULONG64 CompressedSize
Definition:
zippidl.hpp:23
ZipPidlEntry::MagicType
BYTE MagicType
Definition:
zippidl.hpp:19
info
Definition:
notification.c:70
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
BYTE
unsigned char BYTE
Definition:
xxhash.c:193
_ILCreateZipItem
LPITEMIDLIST _ILCreateZipItem(ZipPidlType Type, PCWSTR lpString, unz_file_info64 &info)
Definition:
zippidl.cpp:11
_ZipFromIL
const ZipPidlEntry * _ZipFromIL(LPCITEMIDLIST pidl)
Definition:
zippidl.cpp:41
ZipPidlType
ZipPidlType
Definition:
zippidl.hpp:10
ZIP_PIDL_FILE
@ ZIP_PIDL_FILE
Definition:
zippidl.hpp:12
ZIP_PIDL_DIRECTORY
@ ZIP_PIDL_DIRECTORY
Definition:
zippidl.hpp:11
dll
shellext
zipfldr
zippidl.hpp
Generated on Wed Apr 8 2026 06:03:59 for ReactOS by
1.9.6