[NTOBJSHEX]
[reactos.git] / reactos / dll / shellext / ntobjshex / precomp.h
1 #pragma once
2
3 #define WIN32_NO_STATUS
4 #include <stdarg.h>
5 #include <tchar.h>
6
7 #define COBJMACROS
8 #define WIN32_NO_STATUS
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 <winuser.h>
17 #include <wincon.h>
18 #include <ddeml.h>
19 #include <shlguid_undoc.h>
20 #include <shlwapi.h>
21 #include <shlobj.h>
22 #include <shlobj_undoc.h>
23 #include <shlwapi_undoc.h>
24 #include <tchar.h>
25 #include <strsafe.h>
26 #include <atlbase.h>
27 #include <atlcom.h>
28 #include <atlwin.h>
29 #include <undocshell.h>
30 #include <shellutils.h>
31
32 #include <shellapi.h>
33
34 #include <wine/debug.h>
35 #include <wine/unicode.h>
36
37 #include "resource.h"
38
39 #undef DbgPrint
40
41 extern HINSTANCE g_hInstance;
42
43 #define ID_ICON_VOLUME (WM_APP + 0x4CB)
44
45 // {845B0FB2-66E0-416B-8F91-314E23F7C12D}
46 DEFINE_GUID(CLSID_NtObjectFolder,
47 0x845b0fb2, 0x66e0, 0x416b, 0x8f, 0x91, 0x31, 0x4e, 0x23, 0xf7, 0xc1, 0x2d);
48
49 #define DFM_MERGECONTEXTMENU 1 // uFlags LPQCMINFO
50 #define DFM_INVOKECOMMAND 2 // idCmd pszArgs
51 #define DFM_INVOKECOMMANDEX 12 // idCmd PDFMICS
52 #define DFM_GETDEFSTATICID 14 // idCmd * 0
53
54 #define SHCIDS_ALLFIELDS 0x80000000L
55 #define SHCIDS_CANONICALONLY 0x10000000L
56
57 #define GET_SHGDN_FOR(dwFlags) ((DWORD)dwFlags & (DWORD)0x0000FF00)
58 #define GET_SHGDN_RELATION(dwFlags) ((DWORD)dwFlags & (DWORD)0x000000FF)
59
60 #include <rtlfuncs.h>
61 #include <ntquery.h>
62 #include "util.h"
63
64 #include "ntobjenum.h"
65
66 #include "foldercommon.h"
67 #include "ntobjfolder.h"
68 #include "regfolder.h"