xref: /reactos/dll/shellext/ntobjshex/precomp.h (revision 5100859e)
1 #ifndef _NTOBJSHEX_PRECOMP_H_
2 #define _NTOBJSHEX_PRECOMP_H_
3 
4 #include <stdarg.h>
5 #include <tchar.h>
6 
7 #define WIN32_NO_STATUS
8 #define COBJMACROS
9 #define _INC_WINDOWS
10 #define COM_NO_WINDOWS_H
11 #define NTOS_MODE_USER
12 
13 #include <windef.h>
14 #include <winbase.h>
15 #include <winreg.h>
16 #include <shlwapi.h>
17 #include <shlobj.h>
18 #include <strsafe.h>
19 #include <atlbase.h>
20 #include <atlcom.h>
21 #include <undocshell.h>
22 #include <shellutils.h>
23 
24 #include <wine/debug.h>
25 
26 #include "resource.h"
27 
28 #undef DbgPrint
29 
30 extern HINSTANCE g_hInstance;
31 
32 #define ID_ICON_VOLUME (WM_APP + 0x4CB)
33 
34 // {845B0FB2-66E0-416B-8F91-314E23F7C12D}
35 DEFINE_GUID(CLSID_NtObjectFolder,
36     0x845b0fb2, 0x66e0, 0x416b, 0x8f, 0x91, 0x31, 0x4e, 0x23, 0xf7, 0xc1, 0x2d);
37 
38 #define DFM_MERGECONTEXTMENU 1 // uFlags LPQCMINFO
39 #define DFM_INVOKECOMMAND 2 // idCmd pszArgs
40 #define DFM_INVOKECOMMANDEX 12 // idCmd PDFMICS
41 #define DFM_GETDEFSTATICID 14 // idCmd * 0
42 
43 #define SHCIDS_ALLFIELDS 0x80000000L
44 #define SHCIDS_CANONICALONLY 0x10000000L
45 
46 #define GET_SHGDN_FOR(dwFlags)         ((DWORD)dwFlags & (DWORD)0x0000FF00)
47 #define GET_SHGDN_RELATION(dwFlags)    ((DWORD)dwFlags & (DWORD)0x000000FF)
48 
49 WINE_DEFAULT_DEBUG_CHANNEL(ntobjshex);
50 
51 #include <ntquery.h>
52 #include "util.h"
53 
54 #include "ntobjenum.h"
55 
56 #include "foldercommon.h"
57 #include "ntobjfolder.h"
58 #include "regfolder.h"
59 
60 #endif /* _NTOBJSHEX_PRECOMP_H_ */
61