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