8 #define WIN32_NO_STATUS
10 #define COM_NO_WINDOWS_H
11 #define NTOS_MODE_USER
26 #include <ndk/rtlfuncs.h>
27 #include <fmifs/fmifs.h>
34 #include <atlsimpcoll.h>
40 #include <comctl32_undoc.h>
41 #include <shlguid_undoc.h>
42 #include <shlobj_undoc.h>
43 #include <shlwapi_undoc.h>
47 #include <undocshell.h>
50 * For versions < Vista+, redefine ShellMessageBoxW to ShellMessageBoxWrapW
51 * (this is needed to avoid a linker error). On Vista+ onwards, shell32.ShellMessageBoxW
52 * redirects to shlwapi.ShellMessageBoxW so the #define should not be needed.
54 * However our shell32 is built with _WIN32_WINNT set to 0x600 (Vista+),
55 * yet its exports (especially regarding ShellMessageBoxA/W) are Win2003
56 * compatible. So the #define is still needed, and the check be disabled.
58 // #if (_WIN32_WINNT < 0x0600)
59 #define ShellMessageBoxW ShellMessageBoxWrapW
62 #include <browseui_undoc.h>
64 #include <shellutils.h>
66 #include "shellrecyclebin/recyclebin.h"
67 #include "wine/pidl.h"
69 #include "wine/shell32_main.h"
71 #include "wine/cpanel.h"
72 #include "CActiveDesktop.h"
73 #include "CEnumIDListBase.h"
75 #include "CShellItem.h"
76 #include "CShellLink.h"
77 #include "CFolderItemVerbs.h"
78 #include "CFolderItems.h"
80 #include "CShellDispatch.h"
81 #include "CDropTargetHelper.h"
82 #include "CFolderOptions.h"
83 #include "folders/CFSFolder.h"
84 #include "folders/CDrivesFolder.h"
85 #include "folders/CDesktopFolder.h"
86 #include "folders/CControlPanelFolder.h"
87 #include "folders/CMyDocsFolder.h"
88 #include "folders/CNetFolder.h"
89 #include "folders/CFontsFolder.h"
90 #include "folders/CPrinterFolder.h"
91 #include "folders/CAdminToolsFolder.h"
92 #include "folders/CRecycleBin.h"
93 #include "droptargets/CexeDropHandler.h"
94 #include "droptargets/CFSDropTarget.h"
95 #include "COpenWithMenu.h"
97 #include "CSendToMenu.h"
98 #include "CCopyToMoveToMenu.h"
99 #include "dialogs/filedefext.h"
100 #include "dialogs/drvdefext.h"
101 #include "CQueryAssociations.h"
102 #include "shellmenu/CMenuBand.h"
103 #include "shellmenu/CMenuDeskBar.h"
104 #include "shellmenu/CMenuSite.h"
105 #include "shellmenu/CMergedFolder.h"
106 #include "shellmenu/shellmenu.h"
107 #include "CUserNotification.h"
108 #include "dialogs/folder_options.h"
109 #include "shelldesktop/CChangeNotifyServer.h"
111 #include <wine/debug.h>
112 #include <wine/unicode.h>
114 extern const GUID CLSID_AdminFolderShortcut
;
115 extern const GUID CLSID_FontsFolderShortcut
;
116 extern const GUID CLSID_StartMenu
;
117 extern const GUID CLSID_MenuBandSite
;
118 extern const GUID CLSID_OpenWith
;
119 extern const GUID CLSID_UnixFolder
;
120 extern const GUID CLSID_UnixDosFolder
;
121 extern const GUID SHELL32_AdvtShortcutProduct
;
122 extern const GUID SHELL32_AdvtShortcutComponent
;
124 #define MAX_PROPERTY_SHEET_PAGE 32
129 AddPropSheetPageCallback(HPROPSHEETPAGE hPage
, LPARAM lParam
)
131 PROPSHEETHEADERW
*pHeader
= (PROPSHEETHEADERW
*)lParam
;
133 if (pHeader
->nPages
< MAX_PROPERTY_SHEET_PAGE
)
135 pHeader
->phpage
[pHeader
->nPages
++] = hPage
;
143 Shell_DefaultContextMenuCallBack(IShellFolder
*psf
, IDataObject
*pdtobj
);
145 // CStubWindow32 --- The owner window of file property sheets.
146 // This window hides taskbar button of property sheet.
147 class CStubWindow32
: public CWindowImpl
<CStubWindow32
>
150 DECLARE_WND_CLASS_EX(_T("StubWindow32"), 0, COLOR_WINDOWTEXT
)
152 BEGIN_MSG_MAP(CStubWindow32
)
156 #endif /* _PRECOMP_H__ */