[NTOS:PS] Use KD routine to safely read memory from thread stack
[reactos.git] / dll / shellext / ntobjshex / precomp.h
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 extern "C"
14 {
15 #include <ndk/ntndk.h>
16 #include <ndk/rtlfuncs.h>
17 }
18
19 #include <windef.h>
20 #include <winbase.h>
21 #include <winreg.h>
22 #include <shlwapi.h>
23 #include <shlobj.h>
24 #include <strsafe.h>
25 #include <atlbase.h>
26 #include <atlcom.h>
27 #include <undocshell.h>
28 #include <shellutils.h>
29
30 #include <wine/debug.h>
31
32 #include "resource.h"
33
34 #undef DbgPrint
35
36 extern HINSTANCE g_hInstance;
37
38 #define ID_ICON_VOLUME (WM_APP + 0x4CB)
39
40 // {845B0FB2-66E0-416B-8F91-314E23F7C12D}
41 DEFINE_GUID(CLSID_NtObjectFolder,
42 0x845b0fb2, 0x66e0, 0x416b, 0x8f, 0x91, 0x31, 0x4e, 0x23, 0xf7, 0xc1, 0x2d);
43
44 #define DFM_MERGECONTEXTMENU 1 // uFlags LPQCMINFO
45 #define DFM_INVOKECOMMAND 2 // idCmd pszArgs
46 #define DFM_INVOKECOMMANDEX 12 // idCmd PDFMICS
47 #define DFM_GETDEFSTATICID 14 // idCmd * 0
48
49 #define SHCIDS_ALLFIELDS 0x80000000L
50 #define SHCIDS_CANONICALONLY 0x10000000L
51
52 #define GET_SHGDN_FOR(dwFlags) ((DWORD)dwFlags & (DWORD)0x0000FF00)
53 #define GET_SHGDN_RELATION(dwFlags) ((DWORD)dwFlags & (DWORD)0x000000FF)
54
55 WINE_DEFAULT_DEBUG_CHANNEL(ntobjshex);
56
57 #include <ntquery.h>
58 #include "util.h"
59
60 #include "ntobjenum.h"
61
62 #include "foldercommon.h"
63 #include "ntobjfolder.h"
64 #include "regfolder.h"
65
66 #endif /* _NTOBJSHEX_PRECOMP_H_ */