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 <shlwapi.h> 21 #include <shlobj.h> 22 #include <shobjidl.h> 23 #include <ndk/rtlfuncs.h> 24 #include <fmifs/fmifs.h> 25 #include <tchar.h> 26 #include <strsafe.h> 27 #include <atlbase.h> 28 #include <atlcom.h> 29 #include <atlwin.h> 30 #include <atlstr.h> 31 #include <powrprof.h> 32 #include <winnetwk.h> 33 #include <objsafe.h> 34 35 #include <comctl32_undoc.h> 36 #include <shlguid_undoc.h> 37 #include <shlobj_undoc.h> 38 #include <shlwapi_undoc.h> 39 #include <undocshell.h> 40 #include <browseui_undoc.h> 41 42 #include <shellutils.h> 43 44 #include "shellrecyclebin/recyclebin.h" 45 #include "wine/pidl.h" 46 #include "debughlp.h" 47 #include "wine/shell32_main.h" 48 #include "shresdef.h" 49 #include "wine/cpanel.h" 50 #include "CEnumIDListBase.h" 51 #include "shfldr.h" 52 #include "CShellItem.h" 53 #include "CShellLink.h" 54 #include "CFolderItemVerbs.h" 55 #include "CFolderItems.h" 56 #include "CFolder.h" 57 #include "CShellDispatch.h" 58 #include "CDropTargetHelper.h" 59 #include "CFolderOptions.h" 60 #include "folders/CFSFolder.h" 61 #include "folders/CDrivesFolder.h" 62 #include "folders/CDesktopFolder.h" 63 #include "folders/CControlPanelFolder.h" 64 #include "folders/CMyDocsFolder.h" 65 #include "folders/CNetFolder.h" 66 #include "folders/CFontsFolder.h" 67 #include "folders/CPrinterFolder.h" 68 #include "folders/CAdminToolsFolder.h" 69 #include "folders/CRecycleBin.h" 70 #include "droptargets/CexeDropHandler.h" 71 #include "droptargets/CFSDropTarget.h" 72 #include "COpenWithMenu.h" 73 #include "CNewMenu.h" 74 #include "dialogs/filedefext.h" 75 #include "dialogs/drvdefext.h" 76 #include "CQueryAssociations.h" 77 #include "shellmenu/CMenuBand.h" 78 #include "shellmenu/CMenuDeskBar.h" 79 #include "shellmenu/CMenuSite.h" 80 #include "shellmenu/CMergedFolder.h" 81 #include "shellmenu/shellmenu.h" 82 83 #include <wine/debug.h> 84 #include <wine/unicode.h> 85 86 extern const GUID CLSID_AdminFolderShortcut; 87 extern const GUID CLSID_FontsFolderShortcut; 88 extern const GUID CLSID_StartMenu; 89 extern const GUID CLSID_MenuBandSite; 90 extern const GUID CLSID_OpenWith; 91 extern const GUID CLSID_UnixFolder; 92 extern const GUID CLSID_UnixDosFolder; 93 extern const GUID SHELL32_AdvtShortcutProduct; 94 extern const GUID SHELL32_AdvtShortcutComponent; 95 96 #define MAX_PROPERTY_SHEET_PAGE 32 97 98 extern inline 99 BOOL 100 CALLBACK 101 AddPropSheetPageCallback(HPROPSHEETPAGE hPage, LPARAM lParam) 102 { 103 PROPSHEETHEADERW *pHeader = (PROPSHEETHEADERW *)lParam; 104 105 if (pHeader->nPages < MAX_PROPERTY_SHEET_PAGE) 106 { 107 pHeader->phpage[pHeader->nPages++] = hPage; 108 return TRUE; 109 } 110 111 return FALSE; 112 } 113 114 #endif /* _PRECOMP_H__ */ 115