ReactOS 0.4.15-dev-7958-gcd0bb1a
precomp.h
Go to the documentation of this file.
1#ifndef ZIPFLDR_PRECOMP_H
2#define ZIPFLDR_PRECOMP_H
3
4#define COBJMACROS
5#define COM_NO_WINDOWS_H
6#define NTOS_MODE_USER
7
8#include <windef.h>
9#include <winbase.h>
10#include <shlobj.h>
11#include <atlbase.h>
12#include <atlcom.h>
13#include <atlcoll.h>
14#include <atlconv.h>
15#include <atlstr.h>
16#include <ui/rosdlgs.h>
17#include <shlwapi.h>
18#include <shellapi.h>
19#include <strsafe.h>
20// debug.h needs this:
21#define NTSTATUS LONG
22#include <reactos/debug.h>
23#include <shellutils.h>
24
25#define EXTRACT_VERBA "extract"
26#define EXTRACT_VERBW L"extract"
27
33
35
36extern LONG g_ModuleRefCnt;
37
40
41#define MINIZIP_COMPATIBLE_VERSION 36
42#define MINIZIP_PASSWORD_FLAG 1
43#define MINIZIP_UTF8_FLAG (1 << 11)
44
45#include "minizip/unzip.h"
46#include "minizip/ioapi.h"
47
49
50#include "resource.h"
51
52#include "zippidl.hpp"
53#include "IZip.hpp"
54
59
61{
65};
66
68
70{
75};
76
78
80{
87};
88
89#include "CZipEnumerator.hpp"
90#include "CZipFolder.hpp"
91#include "CZipCreator.hpp"
92#include "CSendToZip.hpp"
93
94#endif /* ZIPFLDR_PRECOMP_H */
#define EXTERN_C
Definition: basetyps.h:12
void _CZipExtract_runWizard(PCWSTR Filename)
zlib_filefunc64_def g_FFunc
Definition: zipfldr.cpp:44
eZipConfirmResponse _CZipAskReplace(HWND hDlg, PCWSTR FullPath)
EXTERN_C const GUID CLSID_ZipFolderSendTo
Definition: precomp.h:29
EXTERN_C const GUID CLSID_ZipFolderExtractAllCommand
Definition: precomp.h:34
HRESULT _CFolderViewCB_CreateInstance(REFIID riid, LPVOID *ppvOut)
LONG g_ModuleRefCnt
Definition: ACPPage.cpp:13
WCHAR * guid2string(REFCLSID iid)
Definition: Debug.cpp:21
eZipPasswordResponse _CZipAskPassword(HWND hDlg, PCWSTR filename, CStringA &Password)
eZipExtractError
Definition: precomp.h:80
@ eUnpackError
Definition: precomp.h:86
@ eNoError
Definition: precomp.h:81
@ eExtractAbort
Definition: precomp.h:82
@ eOpenError
Definition: precomp.h:85
@ eFileError
Definition: precomp.h:84
@ eDirectoryError
Definition: precomp.h:83
eZipPasswordResponse
Definition: precomp.h:61
@ eAccept
Definition: precomp.h:64
@ eSkip
Definition: precomp.h:63
@ eAbort
Definition: precomp.h:62
HRESULT _CExplorerCommandProvider_CreateInstance(IContextMenu *zipObject, REFIID riid, LPVOID *ppvOut)
UINT GetZipCodePage(BOOL bUnZip)
Definition: zipfldr.cpp:90
eZipConfirmResponse
Definition: precomp.h:70
@ eCancel
Definition: precomp.h:74
@ eNo
Definition: precomp.h:73
@ eYes
Definition: precomp.h:71
@ eYesToAll
Definition: precomp.h:72
HRESULT _CEnumZipContents_CreateInstance(IZip *zip, DWORD flags, PCWSTR prefix, REFIID riid, LPVOID *ppvOut)
EXTERN_C const GUID CLSID_ZipFolderContextMenu
Definition: precomp.h:30
EXTERN_C const GUID CLSID_ZipFolderStorageHandler
Definition: precomp.h:28
EXTERN_C const GUID CLSID_ZipFolderDropHandler
Definition: precomp.h:32
EXTERN_C const GUID CLSID_ZipFolderRightDragHandler
Definition: precomp.h:31
IN PVCB IN PBCB OUT PDIRENT IN USHORT IN POEM_STRING Filename
Definition: fatprocs.h:939
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
GLbitfield flags
Definition: glext.h:7161
REFIID riid
Definition: atlbase.h:39
const char * filename
Definition: ioapi.h:137
unsigned int UINT
Definition: ndis.h:50
long LONG
Definition: pedump.c:60
#define REFIID
Definition: guiddef.h:118
#define REFCLSID
Definition: guiddef.h:117
Definition: IZip.hpp:9
@ Password
Definition: telnetd.h:65
const uint16_t * PCWSTR
Definition: typedefs.h:57
__wchar_t WCHAR
Definition: xmlstorage.h:180