ReactOS  0.4.13-dev-257-gfabbd7c
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 <atlstr.h>
15 #include <rosdlgs.h>
16 #include <shlwapi.h>
17 #include <shellapi.h>
18 #include <strsafe.h>
19 // debug.h needs this:
20 #define NTSTATUS LONG
21 #include <reactos/debug.h>
22 #include <shellutils.h>
23 
24 
25 
26 #define EXTRACT_VERBA "extract"
27 #define EXTRACT_VERBW L"extract"
28 
34 
36 
37 extern LONG g_ModuleRefCnt;
38 
39 
40 #define Win32DbgPrint(file, line, warn, func) DbgPrint("(%s:%d) " warn, file, line, func)
42 
43 
44 #define MINIZIP_PASSWORD_FLAG 1
45 
46 #include "minizip/unzip.h"
47 #include "minizip/ioapi.h"
48 
50 
51 #include "resource.h"
52 
53 #include "zippidl.hpp"
54 #include "IZip.hpp"
55 
56 HRESULT _CEnumZipContents_CreateInstance(IZip* zip, DWORD flags, const char* prefix, REFIID riid, LPVOID * ppvOut);
60 
62 {
66 };
67 
69 
71 {
74  eNo,
76 };
77 
78 eZipConfirmResponse _CZipAskReplace(HWND hDlg, const char* FullPath);
79 
80 #include "CZipEnumerator.hpp"
81 #include "CZipFolder.hpp"
82 
83 #endif /* ZIPFLDR_PRECOMP_H */
WCHAR * guid2string(REFCLSID iid)
Definition: Debug.cpp:21
const uint16_t * PCWSTR
Definition: typedefs.h:55
void _CZipExtract_runWizard(PCWSTR Filename)
#define REFIID
Definition: guiddef.h:113
EXTERN_C const GUID CLSID_ZipFolderExtractAllCommand
Definition: precomp.h:35
Definition: precomp.h:72
REFIID riid
Definition: precomp.h:44
#define REFCLSID
Definition: guiddef.h:112
const char * filename
Definition: ioapi.h:135
IN PVCB IN PBCB OUT PDIRENT IN USHORT IN POEM_STRING Filename
Definition: fatprocs.h:925
long LONG
Definition: pedump.c:60
Definition: IZip.hpp:8
HRESULT _CFolderViewCB_CreateInstance(REFIID riid, LPVOID *ppvOut)
LONG g_ModuleRefCnt
Definition: ACPPage.cpp:13
Definition: precomp.h:64
eZipConfirmResponse
Definition: precomp.h:70
Definition: precomp.h:74
eZipConfirmResponse _CZipAskReplace(HWND hDlg, const char *FullPath)
__wchar_t WCHAR
Definition: xmlstorage.h:180
LONG HRESULT
Definition: typedefs.h:77
HRESULT _CExplorerCommandProvider_CreateInstance(IContextMenu *zipObject, REFIID riid, LPVOID *ppvOut)
zlib_filefunc64_def g_FFunc
Definition: zipfldr.cpp:42
EXTERN_C const GUID CLSID_ZipFolderRightDragHandler
Definition: precomp.h:32
unsigned long DWORD
Definition: ntddk_ex.h:95
GLbitfield flags
Definition: glext.h:7161
eZipPasswordResponse _CZipAskPassword(HWND hDlg, const char *filename, CStringA &Password)
HRESULT _CEnumZipContents_CreateInstance(IZip *zip, DWORD flags, const char *prefix, REFIID riid, LPVOID *ppvOut)
EXTERN_C const GUID CLSID_ZipFolderDropHandler
Definition: precomp.h:33
eZipPasswordResponse
Definition: precomp.h:61
Definition: precomp.h:63
EXTERN_C const GUID CLSID_ZipFolderSendTo
Definition: precomp.h:30
EXTERN_C const GUID CLSID_ZipFolderContextMenu
Definition: precomp.h:31
#define EXTERN_C
Definition: basetyps.h:12
EXTERN_C const GUID CLSID_ZipFolderStorageHandler
Definition: precomp.h:29