1*ede65b88SKatayama Hirofumi MZ /* 2*ede65b88SKatayama Hirofumi MZ * PROJECT: ReactOS Shell32 3*ede65b88SKatayama Hirofumi MZ * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) 4*ede65b88SKatayama Hirofumi MZ * PURPOSE: Defining shell policy data 5*ede65b88SKatayama Hirofumi MZ * COPYRIGHT: Copyright 2022 Hermès Bélusca-Maïto 6*ede65b88SKatayama Hirofumi MZ * Copyright 2024 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com> 7*ede65b88SKatayama Hirofumi MZ */ 8*ede65b88SKatayama Hirofumi MZ 9*ede65b88SKatayama Hirofumi MZ /* 10*ede65b88SKatayama Hirofumi MZ * NOTE: Up to date as of SHELL32 v6.00 (Win2k3). 11*ede65b88SKatayama Hirofumi MZ * References: 12*ede65b88SKatayama Hirofumi MZ * https://www.geoffchappell.com/studies/windows/shell/shell32/api/util/restrictions.htm 13*ede65b88SKatayama Hirofumi MZ * https://docs.microsoft.com/en-us/windows/win32/api/shlobj_core/ne-shlobj_core-restrictions 14*ede65b88SKatayama Hirofumi MZ * https://abi-laboratory.pro/compatibility/Windows_5.0_to_Windows_6.0/x86_64/headers_diff/shell32.dll/diff.html 15*ede65b88SKatayama Hirofumi MZ */ 16*ede65b88SKatayama Hirofumi MZ 17*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NORUN, "Explorer", "NoRun" ), 18*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOCLOSE, "Explorer", "NoClose" ), 19*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOSAVESET, "Explorer", "NoSaveSettings" ), 20*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOFILEMENU, "Explorer", "NoFileMenu" ), 21*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOSETFOLDERS, "Explorer", "NoSetFolders" ), 22*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOSETTASKBAR, "Explorer", "NoSetTaskbar" ), 23*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NODESKTOP, "Explorer", "NoDesktop" ), 24*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOFIND, "Explorer", "NoFind" ), 25*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NODRIVES, "Explorer", "NoDrives" ), 26*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NODRIVEAUTORUN, "Explorer", "NoDriveAutoRun" ), 27*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NODRIVETYPEAUTORUN, "Explorer", "NoDriveTypeAutoRun" ), 28*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NONETHOOD, "Explorer", "NoNetHood" ), 29*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_STARTBANNER, "Explorer", "NoStartBanner" ), 30*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_RESTRICTRUN, "Explorer", "RestrictRun" ), // REGSTR_VAL_RESTRICTRUN 31*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOPRINTERTABS, "Explorer", "NoPrinterTabs" ), // REGSTR_VAL_PRINTERS_HIDETABS 32*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOPRINTERDELETE, "Explorer", "NoDeletePrinter" ), // REGSTR_VAL_PRINTERS_NODELETE 33*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOPRINTERADD, "Explorer", "NoAddPrinter" ), // REGSTR_VAL_PRINTERS_NOADD 34*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOSTARTMENUSUBFOLDERS, "Explorer", "NoStartMenuSubFolders" ), 35*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_MYDOCSONNET, "Explorer", "MyDocsOnNet" ), 36*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOEXITTODOS, "WinOldApp", "NoRealMode" ), // REGSTR_VAL_WINOLDAPP_NOREALMODE 37*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_ENFORCESHELLEXTSECURITY, "Explorer", "EnforceShellExtensionSecurity" ), 38*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_LINKRESOLVEIGNORELINKINFO, "Explorer", "LinkResolveIgnoreLinkInfo" ), 39*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOCOMMONGROUPS, "Explorer", "NoCommonGroups" ), 40*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_SEPARATEDESKTOPPROCESS, "Explorer", "SeparateProcess" ), 41*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOWEB, "Explorer", "NoWebMenu" ), 42*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOTRAYCONTEXTMENU, "Explorer", "NoTrayContextMenu" ), 43*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOVIEWCONTEXTMENU, "Explorer", "NoViewContextMenu" ), 44*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NONETCONNECTDISCONNECT, "Explorer", "NoNetConnectDisconnect" ), 45*ede65b88SKatayama Hirofumi MZ 46*ede65b88SKatayama Hirofumi MZ #if (WINE_FILEVERSION_MAJOR < 5) 47*ede65b88SKatayama Hirofumi MZ // NOTE: This policy only controls the LogOff capability in the TaskMgr. 48*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_STARTMENULOGOFF, "Explorer", "NoLogoff" ), 49*ede65b88SKatayama Hirofumi MZ #else 50*ede65b88SKatayama Hirofumi MZ // NOTE: This policy now controls the presence/absence of the LogOff item in the Start Menu. 51*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_STARTMENULOGOFF, "Explorer", "StartMenuLogoff" ), 52*ede65b88SKatayama Hirofumi MZ #endif 53*ede65b88SKatayama Hirofumi MZ 54*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOSETTINGSASSIST, "Explorer", "NoSettingsWizards" ), 55*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOINTERNETICON, "Explorer", "NoInternetIcon" ), 56*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NORECENTDOCSHISTORY, "Explorer", "NoRecentDocsHistory" ), 57*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NORECENTDOCSMENU, "Explorer", "NoRecentDocsMenu" ), 58*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOACTIVEDESKTOP, "Explorer", "NoActiveDesktop" ), 59*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOACTIVEDESKTOPCHANGES, "Explorer", "NoActiveDesktopChanges" ), 60*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOFAVORITESMENU, "Explorer", "NoFavoritesMenu" ), 61*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_CLEARRECENTDOCSONEXIT, "Explorer", "ClearRecentDocsOnExit" ), 62*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_CLASSICSHELL, "Explorer", "ClassicShell" ), 63*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOCUSTOMIZEWEBVIEW, "Explorer", "NoCustomizeWebView" ), 64*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOHTMLWALLPAPER, "ActiveDesktop", "NoHTMLWallpaper" ), 65*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOCHANGINGWALLPAPER, "ActiveDesktop", "NoChangingWallpaper" ), 66*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NODESKCOMP, "ActiveDesktop", "NoComponents" ), 67*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOADDDESKCOMP, "ActiveDesktop", "NoAddingComponents" ), 68*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NODELDESKCOMP, "ActiveDesktop", "NoDeletingComponents" ), 69*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOCLOSEDESKCOMP, "ActiveDesktop", "NoClosingComponents" ), 70*ede65b88SKatayama Hirofumi MZ 71*ede65b88SKatayama Hirofumi MZ #if (WINE_FILEVERSION_MAJOR < 5) 72*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOCLOSE_DRAGDROPBAND, "ActiveDesktop", "NoCloseDragDropBands" ), 73*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOMOVINGBAND, "ActiveDesktop", "NoMovingBands" ), 74*ede65b88SKatayama Hirofumi MZ #else 75*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOCLOSE_DRAGDROPBAND, "Explorer", "NoCloseDragDropBands" ), 76*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOMOVINGBAND, "Explorer", "NoMovingBands" ), 77*ede65b88SKatayama Hirofumi MZ #endif 78*ede65b88SKatayama Hirofumi MZ 79*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOEDITDESKCOMP, "ActiveDesktop", "NoEditingComponents" ), 80*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NORESOLVESEARCH, "Explorer", "NoResolveSearch" ), 81*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NORESOLVETRACK, "Explorer", "NoResolveTrack" ), 82*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_FORCECOPYACLWITHFILE, "Explorer", "ForceCopyACLWithFile" ), 83*ede65b88SKatayama Hirofumi MZ 84*ede65b88SKatayama Hirofumi MZ #if (WINE_FILEVERSION_MAJOR <= 6) && (NTDDI_VERSION < NTDDI_LONGHORN) 85*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOLOGO3CHANNELNOTIFY, "Explorer", "NoMSAppLogo5ChannelNotify" ), 86*ede65b88SKatayama Hirofumi MZ #endif 87*ede65b88SKatayama Hirofumi MZ 88*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOFORGETSOFTWAREUPDATE, "Explorer", "NoForgetSoftwareUpdate" ), 89*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOSETACTIVEDESKTOP, "Explorer", "NoSetActiveDesktop" ), 90*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOUPDATEWINDOWS, "Explorer", "NoWindowsUpdate" ), 91*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOCHANGESTARMENU, "Explorer", "NoChangeStartMenu" ), 92*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOFOLDEROPTIONS, "Explorer", "NoFolderOptions" ), 93*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_HASFINDCOMPUTERS, "Explorer", "FindComputers" ), 94*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_INTELLIMENUS, "Explorer", "IntelliMenus" ), 95*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_RUNDLGMEMCHECKBOX, "Explorer", "MemCheckBoxInRunDlg" ), 96*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_ARP_ShowPostSetup, "Uninstall", "ShowPostSetup" ), 97*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOCSC, "Explorer", "NoSyncAll" ), 98*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOCONTROLPANEL, "Explorer", "NoControlPanel" ), 99*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_ENUMWORKGROUP, "Explorer", "EnumWorkgroup" ), 100*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_ARP_NOARP, "Uninstall", "NoAddRemovePrograms" ), 101*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_ARP_NOREMOVEPAGE, "Uninstall", "NoRemovePage" ), 102*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_ARP_NOADDPAGE, "Uninstall", "NoAddPage" ), 103*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_ARP_NOWINSETUPPAGE, "Uninstall", "NoWindowsSetupPage" ), 104*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_GREYMSIADS, "Explorer", "GreyMSIAds" ), 105*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOCHANGEMAPPEDDRIVELABEL, "Explorer", "NoChangeMappedDriveLabel" ), 106*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOCHANGEMAPPEDDRIVECOMMENT, "Explorer", "NoChangeMappedDriveComment" ), 107*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_MaxRecentDocs, "Explorer", "MaxRecentDocs" ), 108*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NONETWORKCONNECTIONS, "Explorer", "NoNetworkConnections" ), 109*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_FORCESTARTMENULOGOFF, "Explorer", "ForceStartMenuLogoff" ), 110*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOWEBVIEW, "Explorer", "NoWebView" ), 111*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOCUSTOMIZETHISFOLDER, "Explorer", "NoCustomizeThisFolder" ), 112*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOENCRYPTION, "Explorer", "NoEncryption" ), 113*ede65b88SKatayama Hirofumi MZ 114*ede65b88SKatayama Hirofumi MZ #if (WINE_FILEVERSION_MAJOR == 5) && (NTDDI_VERSION < NTDDI_LONGHORN) 115*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_ALLOWFRENCHENCRYPTION, "Explorer", "AllowFrenchEncryption" ), 116*ede65b88SKatayama Hirofumi MZ #endif 117*ede65b88SKatayama Hirofumi MZ 118*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_DONTSHOWSUPERHIDDEN, "Explorer", "DontShowSuperHidden" ), 119*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOSHELLSEARCHBUTTON, "Explorer", "NoShellSearchButton" ), 120*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOHARDWARETAB, "Explorer", "NoHardwareTab" ), 121*ede65b88SKatayama Hirofumi MZ 122*ede65b88SKatayama Hirofumi MZ #if (WINE_FILEVERSION_MAJOR <= 6) && (NTDDI_VERSION < NTDDI_LONGHORN) 123*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NORUNASINSTALLPROMPT, "Explorer", "NoRunasInstallPrompt" ), 124*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_PROMPTRUNASINSTALLNETPATH, "Explorer", "PromptRunasInstallNetPath" ), 125*ede65b88SKatayama Hirofumi MZ #endif 126*ede65b88SKatayama Hirofumi MZ 127*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOMANAGEMYCOMPUTERVERB, "Explorer", "NoManageMyComputerVerb" ), 128*ede65b88SKatayama Hirofumi MZ 129*ede65b88SKatayama Hirofumi MZ #if (WINE_FILEVERSION_MAJOR <= 6) && (NTDDI_VERSION < NTDDI_LONGHORN) 130*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NORECENTDOCSNETHOOD, "Explorer", "NoRecentDocsNetHood" ), 131*ede65b88SKatayama Hirofumi MZ #endif 132*ede65b88SKatayama Hirofumi MZ 133*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_DISALLOWRUN, "Explorer", "DisallowRun" ), 134*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOWELCOMESCREEN, "Explorer", "NoWelcomeScreen" ), 135*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_RESTRICTCPL, "Explorer", "RestrictCpl" ), 136*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_DISALLOWCPL, "Explorer", "DisallowCpl" ), 137*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOSMBALLOONTIP, "Explorer", "NoSMBalloonTip" ), 138*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOSMHELP, "Explorer", "NoSMHelp" ), 139*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOWINKEYS, "Explorer", "NoWinKeys" ), 140*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOENCRYPTONMOVE, "Explorer", "NoEncryptOnMove" ), 141*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOLOCALMACHINERUN, "Explorer", "DisableLocalMachineRun" ), 142*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOCURRENTUSERRUN, "Explorer", "DisableCurrentUserRun" ), 143*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOLOCALMACHINERUNONCE, "Explorer", "DisableLocalMachineRunOnce" ), 144*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOCURRENTUSERRUNONCE, "Explorer", "DisableCurrentUserRunOnce" ), 145*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_FORCEACTIVEDESKTOPON, "Explorer", "ForceActiveDesktopOn" ), 146*ede65b88SKatayama Hirofumi MZ 147*ede65b88SKatayama Hirofumi MZ #if (WINE_FILEVERSION_MAJOR <= 6) && (NTDDI_VERSION < NTDDI_LONGHORN) 148*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOCOMPUTERSNEARME, "Explorer", "NoComputersNearMe" ), 149*ede65b88SKatayama Hirofumi MZ #endif 150*ede65b88SKatayama Hirofumi MZ 151*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOVIEWONDRIVE, "Explorer", "NoViewOnDrive" ), 152*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NONETCRAWL, "Explorer", "NoNetCrawling" ), 153*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOSHAREDDOCUMENTS, "Explorer", "NoSharedDocuments" ), 154*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOSMMYDOCS, "Explorer", "NoSMMyDocs" ), 155*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOSMMYPICS, "Explorer", "NoSMMyPictures" ), 156*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_ALLOWBITBUCKDRIVES, "Explorer", "RecycleBinDrives" ), 157*ede65b88SKatayama Hirofumi MZ 158*ede65b88SKatayama Hirofumi MZ /* 0x4000050 - 0x4000060 */ 159*ede65b88SKatayama Hirofumi MZ #if (WINE_FILEVERSION_MAJOR >= 6) 160*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NONLEGACYSHELLMODE, "Explorer", "NoneLegacyShellMode" ), 161*ede65b88SKatayama Hirofumi MZ #endif 162*ede65b88SKatayama Hirofumi MZ 163*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOCONTROLPANELBARRICADE, "Explorer", "NoControlPanelBarricade" ), 164*ede65b88SKatayama Hirofumi MZ 165*ede65b88SKatayama Hirofumi MZ // NOTE: REST_NOSTARTPAGE never really existed. 166*ede65b88SKatayama Hirofumi MZ 167*ede65b88SKatayama Hirofumi MZ #if (WINE_FILEVERSION_MAJOR >= 6) 168*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOAUTOTRAYNOTIFY, "Explorer", "NoAutoTrayNotify" ), 169*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOTASKGROUPING, "Explorer", "NoTaskGrouping" ), 170*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOCDBURNING, "Explorer", "NoCDBurning" ), 171*ede65b88SKatayama Hirofumi MZ #endif // WINE_FILEVERSION_MAJOR 172*ede65b88SKatayama Hirofumi MZ 173*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_MYCOMPNOPROP, "Explorer", "NoPropertiesMyComputer" ), 174*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_MYDOCSNOPROP, "Explorer", "NoPropertiesMyDocuments" ), 175*ede65b88SKatayama Hirofumi MZ 176*ede65b88SKatayama Hirofumi MZ #if (WINE_FILEVERSION_MAJOR >= 6) 177*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOSTARTPANEL, "Explorer", "NoSimpleStartMenu" ), 178*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NODISPLAYAPPEARANCEPAGE, "System", "NoDispAppearancePage" ), // REGSTR_VAL_DISPCPL_NOAPPEARANCEPAGE 179*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOTHEMESTAB, "Explorer", "NoThemesTab" ), 180*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOVISUALSTYLECHOICE, "System", "NoVisualStyleChoice" ), 181*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOSIZECHOICE, "System", "NoSizeChoice" ), 182*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOCOLORCHOICE, "System", "NoColorChoice" ), 183*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_SETVISUALSTYLE, "System", "SetVisualStyle" ), 184*ede65b88SKatayama Hirofumi MZ #endif // WINE_FILEVERSION_MAJOR 185*ede65b88SKatayama Hirofumi MZ 186*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_STARTRUNNOHOMEPATH, "Explorer", "StartRunNoHOMEPATH" ), 187*ede65b88SKatayama Hirofumi MZ 188*ede65b88SKatayama Hirofumi MZ #if (WINE_FILEVERSION_MAJOR >= 6) 189*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOUSERNAMEINSTARTPANEL, "Explorer", "NoUserNameInStartMenu" ), 190*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOMYCOMPUTERICON, "NonEnum", "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" ), 191*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOSMNETWORKPLACES, "Explorer", "NoStartMenuNetworkPlaces" ), 192*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOSMPINNEDLIST, "Explorer", "NoStartMenuPinnedList" ), 193*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOSMMYMUSIC, "Explorer", "NoStartMenuMyMusic" ), 194*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOSMEJECTPC, "Explorer", "NoStartMenuEjectPC" ), 195*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOSMMOREPROGRAMS, "Explorer", "NoStartMenuMorePrograms" ), 196*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOSMMFUPROGRAMS, "Explorer", "NoStartMenuMFUprogramsList" ), 197*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOTRAYITEMSDISPLAY, "Explorer", "NoTrayItemsDisplay" ), 198*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOTOOLBARSONTASKBAR, "Explorer", "NoToolbarsOnTaskbar" ), 199*ede65b88SKatayama Hirofumi MZ #endif // WINE_FILEVERSION_MAJOR 200*ede65b88SKatayama Hirofumi MZ 201*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOSMCONFIGUREPROGRAMS, "Explorer", "NoSMConfigurePrograms" ), 202*ede65b88SKatayama Hirofumi MZ 203*ede65b88SKatayama Hirofumi MZ #if (WINE_FILEVERSION_MAJOR >= 6) 204*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_HIDECLOCK, "Explorer", "HideClock" ), 205*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOLOWDISKSPACECHECKS, "Explorer", "NoLowDiskSpaceChecks" ), 206*ede65b88SKatayama Hirofumi MZ #endif 207*ede65b88SKatayama Hirofumi MZ 208*ede65b88SKatayama Hirofumi MZ #if (WINE_FILEVERSION_MAJOR <= 6) && (NTDDI_VERSION < NTDDI_LONGHORN) 209*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOENTIRENETWORK, "Network", "NoEntireNetwork" ), // REGSTR_VAL_NOENTIRENETWORK 210*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NODESKTOPCLEANUP, "Explorer", "NoDesktopCleanupWizard" ), 211*ede65b88SKatayama Hirofumi MZ #endif 212*ede65b88SKatayama Hirofumi MZ 213*ede65b88SKatayama Hirofumi MZ #if (WINE_FILEVERSION_MAJOR >= 6) 214*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_BITBUCKNUKEONDELETE, "Explorer", "NoRecycleFiles" ), 215*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_BITBUCKCONFIRMDELETE, "Explorer", "ConfirmFileDelete" ), 216*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_BITBUCKNOPROP, "Explorer", "NoPropertiesRecycleBin" ), 217*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NODISPBACKGROUND, "System", "NoDispBackgroundPage" ), // REGSTR_VAL_DISPCPL_NOBACKGROUNDPAGE 218*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NODISPSCREENSAVEPG, "System", "NoDispScrSavPage" ), // REGSTR_VAL_DISPCPL_NOSCRSAVPAGE 219*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NODISPSETTINGSPG, "System", "NoDispSettingsPage" ), // REGSTR_VAL_DISPCPL_NOSETTINGSPAGE 220*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NODISPSCREENSAVEPREVIEW, "System", "NoScreenSavePreview" ), 221*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NODISPLAYCPL, "System", "NoDispCPL" ), // REGSTR_VAL_DISPCPL_NODISPCPL 222*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_HIDERUNASVERB, "Explorer", "HideRunAsVerb" ), 223*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOTHUMBNAILCACHE, "Explorer", "NoThumbnailCache" ), 224*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOSTRCMPLOGICAL, "Explorer", "NoStrCmpLogical" ), 225*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOPUBLISHWIZARD, "Explorer", "NoPublishingWizard" ), 226*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOONLINEPRINTSWIZARD, "Explorer", "NoOnlinePrintsWizard" ), 227*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOWEBSERVICES, "Explorer", "NoWebServices" ), 228*ede65b88SKatayama Hirofumi MZ #endif // WINE_FILEVERSION_MAJOR 229*ede65b88SKatayama Hirofumi MZ 230*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_ALLOWUNHASHEDWEBVIEW, "Explorer", "AllowUnhashedWebView" ), 231*ede65b88SKatayama Hirofumi MZ 232*ede65b88SKatayama Hirofumi MZ #if (WINE_FILEVERSION_MAJOR >= 6) 233*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_ALLOWLEGACYWEBVIEW, "Explorer", "AllowLegacyWebView" ), 234*ede65b88SKatayama Hirofumi MZ #endif 235*ede65b88SKatayama Hirofumi MZ 236*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_REVERTWEBVIEWSECURITY, "Explorer", "RevertWebViewSecurity" ), 237*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_INHERITCONSOLEHANDLES, "Explorer", "InheritConsoleHandles" ), 238*ede65b88SKatayama Hirofumi MZ 239*ede65b88SKatayama Hirofumi MZ #if (WINE_FILEVERSION_MAJOR >= 6) 240*ede65b88SKatayama Hirofumi MZ 241*ede65b88SKatayama Hirofumi MZ #if (NTDDI_VERSION < NTDDI_LONGHORN) 242*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_SORTMAXITEMCOUNT, "Explorer", "SortMaxItemCount" ), 243*ede65b88SKatayama Hirofumi MZ #endif 244*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOREMOTERECURSIVEEVENTS, "Explorer", "NoRemoteRecursiveEvents" ), 245*ede65b88SKatayama Hirofumi MZ 246*ede65b88SKatayama Hirofumi MZ #endif // WINE_FILEVERSION_MAJOR 247*ede65b88SKatayama Hirofumi MZ 248*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOREMOTECHANGENOTIFY, "Explorer", "NoRemoteChangeNotify" ), 249*ede65b88SKatayama Hirofumi MZ 250*ede65b88SKatayama Hirofumi MZ #if (WINE_FILEVERSION_MAJOR >= 6) 251*ede65b88SKatayama Hirofumi MZ 252*ede65b88SKatayama Hirofumi MZ #if (NTDDI_VERSION < NTDDI_LONGHORN) 253*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOSIMPLENETIDLIST, "Explorer", "NoSimpleNetIDList" ), 254*ede65b88SKatayama Hirofumi MZ #endif 255*ede65b88SKatayama Hirofumi MZ 256*ede65b88SKatayama Hirofumi MZ // #if (NTDDI_VERSION < NTDDI_LONGHORN) 257*ede65b88SKatayama Hirofumi MZ // NOTE: Geoff Chappell is inacurrate here. 258*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOENUMENTIRENETWORK, "Explorer", "NoEnumEntireNetwork" ), 259*ede65b88SKatayama Hirofumi MZ // #endif 260*ede65b88SKatayama Hirofumi MZ 261*ede65b88SKatayama Hirofumi MZ #if (NTDDI_VERSION < NTDDI_LONGHORN) 262*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NODETAILSTHUMBNAILONNETWORK, "Explorer", "NoDetailsThumbnailOnNetwork" ), 263*ede65b88SKatayama Hirofumi MZ #endif 264*ede65b88SKatayama Hirofumi MZ 265*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOINTERNETOPENWITH, "Explorer", "NoInternetOpenWith" ), 266*ede65b88SKatayama Hirofumi MZ 267*ede65b88SKatayama Hirofumi MZ #if (NTDDI_VERSION >= NTDDI_WINXPSP2) && (NTDDI_VERSION < NTDDI_LONGHORN) 268*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_ALLOWLEGACYLMZBEHAVIOR, "Explorer", "AllowLegacyLMZBehavior" ), 269*ede65b88SKatayama Hirofumi MZ #endif 270*ede65b88SKatayama Hirofumi MZ 271*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_DONTRETRYBADNETNAME, "Explorer", "DontRetryBadNetName" ), 272*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_ALLOWFILECLSIDJUNCTIONS, "Explorer", "AllowFileCLSIDJunctions" ), 273*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOUPNPINSTALL, "Explorer", "NoUPnPInstallTask" ), 274*ede65b88SKatayama Hirofumi MZ 275*ede65b88SKatayama Hirofumi MZ // "NormalizeLinkNetPidls" only in version 6.0 from Windows XP SP3. 276*ede65b88SKatayama Hirofumi MZ 277*ede65b88SKatayama Hirofumi MZ #if (NTDDI_VERSION >= NTDDI_LONGHORN) 278*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_ARP_DONTGROUPPATCHES, "Uninstall", "DontGroupPatches" ), 279*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_ARP_NOCHOOSEPROGRAMSPAGE, "Uninstall", "NoChooseProgramsPage" ), 280*ede65b88SKatayama Hirofumi MZ #endif 281*ede65b88SKatayama Hirofumi MZ 282*ede65b88SKatayama Hirofumi MZ // "AllowCLSIDPROGIDMapping" in Windows XP SP3 and Windows Server 2003 SP2 only. 283*ede65b88SKatayama Hirofumi MZ // Maybe in Vista+ too? 284*ede65b88SKatayama Hirofumi MZ 285*ede65b88SKatayama Hirofumi MZ #endif // WINE_FILEVERSION_MAJOR 286*ede65b88SKatayama Hirofumi MZ 287*ede65b88SKatayama Hirofumi MZ /* 0x4000061 - 0x4000086 */ 288*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NODISCONNECT, "Explorer", "NoDisconnect" ), 289*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOSECURITY, "Explorer", "NoNTSecurity" ), 290*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_NOFILEASSOCIATE, "Explorer", "NoFileAssociate" ), 291*ede65b88SKatayama Hirofumi MZ 292*ede65b88SKatayama Hirofumi MZ #if (WINE_FILEVERSION_MAJOR >= 6) 293*ede65b88SKatayama Hirofumi MZ 294*ede65b88SKatayama Hirofumi MZ // #if (NTDDI_VERSION < NTDDI_LONGHORN) 295*ede65b88SKatayama Hirofumi MZ // NOTE: Either Geoff Chappell or MSDN is inaccurate here. 296*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_ALLOWCOMMENTTOGGLE, "Explorer", "ToggleCommentPosition" ), 297*ede65b88SKatayama Hirofumi MZ // #endif 298*ede65b88SKatayama Hirofumi MZ #if (NTDDI_VERSION < NTDDI_LONGHORN) 299*ede65b88SKatayama Hirofumi MZ DEFINE_POLICY( REST_USEDESKTOPINICACHE, "Explorer", "UseDesktopIniCache" ), 300*ede65b88SKatayama Hirofumi MZ #endif 301*ede65b88SKatayama Hirofumi MZ 302*ede65b88SKatayama Hirofumi MZ // "NoNetFolderInfoTip" only in version 6.0 from Windows XP SP3. 303*ede65b88SKatayama Hirofumi MZ 304*ede65b88SKatayama Hirofumi MZ #endif // WINE_FILEVERSION_MAJOR 305*ede65b88SKatayama Hirofumi MZ 306*ede65b88SKatayama Hirofumi MZ // NOTE: This is a SHDOCVW-only policy. 307*ede65b88SKatayama Hirofumi MZ // DEFINE_POLICY( 0x50000024, "Explorer", "NoFileUrl" ), 308