ReactOS  0.4.15-dev-449-g64abd9f
precomp.h
Go to the documentation of this file.
1 #ifndef _PRECOMP_H__
2 #define _PRECOMP_H__
3 
4 #include <stdarg.h>
5 #include <assert.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 <commdlg.h>
19 #include <ddeml.h>
20 #include <userenv.h>
21 
22 #include <shlwapi.h>
23 #include <wininet.h>
24 #include <shlobj.h>
25 #include <shobjidl.h>
26 #include <ndk/rtlfuncs.h>
27 #include <fmifs/fmifs.h>
28 #include <tchar.h>
29 #include <strsafe.h>
30 #include <atlbase.h>
31 #include <atlcom.h>
32 #include <atlwin.h>
33 #include <atlstr.h>
34 #include <atlsimpcoll.h>
35 #include <powrprof.h>
36 #include <winnetwk.h>
37 #include <objsafe.h>
38 
39 #include <comctl32_undoc.h>
40 #include <shlguid_undoc.h>
41 #include <shlobj_undoc.h>
42 #include <shlwapi_undoc.h>
43 
44 #include <shellapi.h>
45 #undef ShellExecute
46 #include <undocshell.h>
47 
48 #include <browseui_undoc.h>
49 
50 #include <shellutils.h>
51 
53 #include "wine/pidl.h"
54 #include "debughlp.h"
55 #include "wine/shell32_main.h"
56 #include "shresdef.h"
57 #include "wine/cpanel.h"
58 #include "CActiveDesktop.h"
59 #include "CEnumIDListBase.h"
60 #include "shfldr.h"
61 #include "CShellItem.h"
62 #include "CShellLink.h"
63 #include "CFolderItemVerbs.h"
64 #include "CFolderItems.h"
65 #include "CFolder.h"
66 #include "CShellDispatch.h"
67 #include "CDropTargetHelper.h"
68 #include "CFolderOptions.h"
69 #include "folders/CFSFolder.h"
70 #include "folders/CDrivesFolder.h"
71 #include "folders/CDesktopFolder.h"
73 #include "folders/CMyDocsFolder.h"
74 #include "folders/CNetFolder.h"
75 #include "folders/CFontsFolder.h"
76 #include "folders/CPrinterFolder.h"
78 #include "folders/CRecycleBin.h"
81 #include "COpenWithMenu.h"
82 #include "CNewMenu.h"
83 #include "CSendToMenu.h"
84 #include "dialogs/filedefext.h"
85 #include "dialogs/drvdefext.h"
86 #include "CQueryAssociations.h"
87 #include "shellmenu/CMenuBand.h"
88 #include "shellmenu/CMenuDeskBar.h"
89 #include "shellmenu/CMenuSite.h"
91 #include "shellmenu/shellmenu.h"
92 #include "CUserNotification.h"
93 #include "dialogs/folder_options.h"
95 
96 #include <wine/debug.h>
97 #include <wine/unicode.h>
98 
99 extern const GUID CLSID_AdminFolderShortcut;
100 extern const GUID CLSID_FontsFolderShortcut;
101 extern const GUID CLSID_StartMenu;
102 extern const GUID CLSID_MenuBandSite;
103 extern const GUID CLSID_OpenWith;
104 extern const GUID CLSID_UnixFolder;
105 extern const GUID CLSID_UnixDosFolder;
106 extern const GUID SHELL32_AdvtShortcutProduct;
108 
109 #define MAX_PROPERTY_SHEET_PAGE 32
110 
111 extern inline
112 BOOL
113 CALLBACK
115 {
117 
118  if (pHeader->nPages < MAX_PROPERTY_SHEET_PAGE)
119  {
120  pHeader->phpage[pHeader->nPages++] = hPage;
121  return TRUE;
122  }
123 
124  return FALSE;
125 }
126 
129 
130 // CStubWindow32 --- The owner window of file property sheets.
131 // This window hides taskbar button of property sheet.
132 class CStubWindow32 : public CWindowImpl<CStubWindow32>
133 {
134 public:
135  DECLARE_WND_CLASS_EX(_T("StubWindow32"), 0, COLOR_WINDOWTEXT)
136 
138  END_MSG_MAP()
139 };
140 
141 #endif /* _PRECOMP_H__ */
const GUID CLSID_AdminFolderShortcut
const GUID CLSID_UnixDosFolder
#define TRUE
Definition: types.h:120
const GUID CLSID_UnixFolder
BOOL CALLBACK AddPropSheetPageCallback(HPROPSHEETPAGE hPage, LPARAM lParam)
Definition: precomp.h:114
HRESULT WINAPI Shell_DefaultContextMenuCallBack(IShellFolder *psf, IDataObject *pdtobj)
Definition: shlfolder.cpp:450
#define CALLBACK
Definition: compat.h:27
#define DECLARE_WND_CLASS_EX(WndClassName, style, bkgnd)
Definition: atlwin.h:1886
const GUID SHELL32_AdvtShortcutComponent
const GUID CLSID_FontsFolderShortcut
unsigned int BOOL
Definition: ntddk_ex.h:94
struct _PSP * HPROPSHEETPAGE
Definition: mstask.idl:90
const GUID SHELL32_AdvtShortcutProduct
LONG_PTR LPARAM
Definition: windef.h:208
#define _T(x)
Definition: vfdio.h:22
const GUID CLSID_StartMenu
LONG HRESULT
Definition: typedefs.h:78
#define END_MSG_MAP()
Definition: atlwin.h:1799
#define COLOR_WINDOWTEXT
Definition: winuser.h:911
#define WINAPI
Definition: msvc.h:6
#define MAX_PROPERTY_SHEET_PAGE
Definition: precomp.h:109
const GUID CLSID_OpenWith
const GUID CLSID_MenuBandSite
HPROPSHEETPAGE * phpage
Definition: prsht.h:309
#define BEGIN_MSG_MAP(theClass)
Definition: atlwin.h:1780
LPARAM lParam
Definition: combotst.c:139