mirror of
https://github.com/reactos/reactos.git
synced 2025-07-28 11:31:54 +00:00
[SHELL32:WINE] Update the table of policy restrictions (#4275)
Our shell32's wine/shpolicy.c file, synced with Wine code (and which is currently in master still up to date with Wine!), contains outdated or incomplete definitions that date back from Windows 98/2000. Update the restrictions with those from shell32 v6.0 of Windows Server 2003 SP2. References: https://www.geoffchappell.com/studies/windows/shell/shell32/api/util/restrictions.htm https://docs.microsoft.com/en-us/windows/win32/api/shlobj_core/ne-shlobj_core-restrictions "NoLogoff": http://systemmanager.ru/win2k_regestry.en/93519.htm "StartMenuLogOff": http://systemmanager.ru/win2k_regestry.en/92884.htm "GreyMSIAds": http://systemmanager.ru/win2k_regestry.en/93177.htm
This commit is contained in:
parent
ea8ce25944
commit
9513d18f93
2 changed files with 616 additions and 38 deletions
|
@ -1677,7 +1677,7 @@ typedef enum RESTRICTIONS
|
|||
REST_NORESOLVESEARCH,
|
||||
REST_NORESOLVETRACK,
|
||||
REST_FORCECOPYACLWITHFILE,
|
||||
#if (NTDDI_VERSION < NTDDI_LONGHORN)
|
||||
#if (NTDDI_VERSION < NTDDI_VISTA)
|
||||
REST_NOLOGO3CHANNELNOTIFY = 0x4000001C,
|
||||
#endif
|
||||
REST_NOFORGETSOFTWAREUPDATE = 0x4000001D,
|
||||
|
@ -1705,17 +1705,19 @@ typedef enum RESTRICTIONS
|
|||
REST_NOWEBVIEW,
|
||||
REST_NOCUSTOMIZETHISFOLDER,
|
||||
REST_NOENCRYPTION,
|
||||
|
||||
REST_ALLOWFRENCHENCRYPTION, /* not documented */
|
||||
|
||||
REST_DONTSHOWSUPERHIDDEN,
|
||||
#if (NTDDI_VERSION < NTDDI_VISTA)
|
||||
REST_ALLOWFRENCHENCRYPTION = 0x40000036, /* not documented */
|
||||
#endif
|
||||
REST_DONTSHOWSUPERHIDDEN = 0x40000037,
|
||||
REST_NOSHELLSEARCHBUTTON,
|
||||
REST_NOHARDWARETAB,
|
||||
REST_NORUNASINSTALLPROMPT,
|
||||
REST_PROMPTRUNASINSTALLNETPATH,
|
||||
REST_NOMANAGEMYCOMPUTERVERB,
|
||||
REST_NORECENTDOCSNETHOOD,
|
||||
REST_DISALLOWRUN,
|
||||
#if (NTDDI_VERSION < NTDDI_VISTA)
|
||||
REST_NORECENTDOCSNETHOOD = 0x4000003D, /* not documented */
|
||||
#endif
|
||||
REST_DISALLOWRUN = 0x4000003E,
|
||||
REST_NOWELCOMESCREEN,
|
||||
REST_RESTRICTCPL, /* 0x40000040 */
|
||||
REST_DISALLOWCPL,
|
||||
|
@ -1728,12 +1730,17 @@ typedef enum RESTRICTIONS
|
|||
REST_NOLOCALMACHINERUNONCE,
|
||||
REST_NOCURRENTUSERRUNONCE,
|
||||
REST_FORCEACTIVEDESKTOPON,
|
||||
REST_NOCOMPUTERSNEARME,
|
||||
REST_NOVIEWONDRIVE,
|
||||
REST_NONETCRAWL,
|
||||
REST_NOSHAREDDOCUMENTS,
|
||||
REST_NOSMMYDOCS,
|
||||
REST_NOSMMYPICS, /* 0x40000050 */
|
||||
#if (NTDDI_VERSION < NTDDI_VISTA)
|
||||
REST_NOCOMPUTERSNEARME = 0x4000004B, /* not documented */
|
||||
#endif
|
||||
REST_NOVIEWONDRIVE = 0x4000004C,
|
||||
#if (NTDDI_VERSION >= NTDDI_WINXP) || defined(IE_BACKCOMPAT_VERSION)
|
||||
REST_NONETCRAWL = 0x4000004D,
|
||||
REST_NOSHAREDDOCUMENTS = 0x4000004E,
|
||||
#endif
|
||||
REST_NOSMMYDOCS = 0x4000004F,
|
||||
#if (NTDDI_VERSION >= NTDDI_WINXP)
|
||||
REST_NOSMMYPICS = 0x40000050,
|
||||
REST_ALLOWBITBUCKDRIVES,
|
||||
REST_NONLEGACYSHELLMODE,
|
||||
REST_NOCONTROLPANELBARRICADE,
|
||||
|
@ -1741,17 +1748,25 @@ typedef enum RESTRICTIONS
|
|||
REST_NOAUTOTRAYNOTIFY,
|
||||
REST_NOTASKGROUPING,
|
||||
REST_NOCDBURNING,
|
||||
REST_MYCOMPNOPROP,
|
||||
#endif
|
||||
#if (NTDDI_VERSION >= NTDDI_WIN2KSP3)
|
||||
REST_MYCOMPNOPROP = 0x40000058,
|
||||
REST_MYDOCSNOPROP,
|
||||
REST_NOSTARTPANEL,
|
||||
#endif
|
||||
#if (NTDDI_VERSION >= NTDDI_WINXP)
|
||||
REST_NOSTARTPANEL = 0x4000005A,
|
||||
REST_NODISPLAYAPPEARANCEPAGE,
|
||||
REST_NOTHEMESTAB,
|
||||
REST_NOVISUALSTYLECHOICE,
|
||||
REST_NOSIZECHOICE,
|
||||
REST_NOCOLORCHOICE,
|
||||
REST_SETVISUALSTYLE, /* 0x40000060 */
|
||||
REST_STARTRUNNOHOMEPATH,
|
||||
REST_NOUSERNAMEINSTARTPANEL,
|
||||
#endif
|
||||
#if (NTDDI_VERSION >= NTDDI_WIN2KSP3)
|
||||
REST_STARTRUNNOHOMEPATH = 0x40000061,
|
||||
#endif
|
||||
#if (NTDDI_VERSION >= NTDDI_WINXP)
|
||||
REST_NOUSERNAMEINSTARTPANEL = 0x40000062,
|
||||
REST_NOMYCOMPUTERICON,
|
||||
REST_NOSMNETWORKPLACES,
|
||||
REST_NOSMPINNEDLIST,
|
||||
|
@ -1761,14 +1776,20 @@ typedef enum RESTRICTIONS
|
|||
REST_NOSMMFUPROGRAMS,
|
||||
REST_NOTRAYITEMSDISPLAY,
|
||||
REST_NOTOOLBARSONTASKBAR,
|
||||
#endif
|
||||
/* 0x4000006C
|
||||
0x4000006D
|
||||
0x4000006E */
|
||||
#if (NTDDI_VERSION >= NTDDI_WIN2KSP3)
|
||||
REST_NOSMCONFIGUREPROGRAMS = 0x4000006F,
|
||||
REST_HIDECLOCK, /* 0x40000070 */
|
||||
#endif
|
||||
#if (NTDDI_VERSION >= NTDDI_WINXP)
|
||||
REST_HIDECLOCK = 0x40000070,
|
||||
REST_NOLOWDISKSPACECHECKS,
|
||||
REST_NOENTIRENETWORK,
|
||||
REST_NODESKTOPCLEANUP,
|
||||
#endif
|
||||
REST_NOENTIRENETWORK = 0x40000072,
|
||||
#if (NTDDI_VERSION >= NTDDI_WINXP)
|
||||
REST_NODESKTOPCLEANUP = 0x40000073,
|
||||
REST_BITBUCKNUKEONDELETE,
|
||||
REST_BITBUCKCONFIRMDELETE,
|
||||
REST_BITBUCKNOPROP,
|
||||
|
@ -1779,19 +1800,65 @@ typedef enum RESTRICTIONS
|
|||
REST_NODISPLAYCPL,
|
||||
REST_HIDERUNASVERB,
|
||||
REST_NOTHUMBNAILCACHE,
|
||||
REST_NOSTRCMPLOGICAL,
|
||||
#endif
|
||||
#if (NTDDI_VERSION >= NTDDI_WINXPSP1) || defined(IE_BACKCOMPAT_VERSION)
|
||||
REST_NOSTRCMPLOGICAL = 0x4000007E,
|
||||
REST_NOPUBLISHWIZARD,
|
||||
REST_NOONLINEPRINTSWIZARD, /* 0x40000080 */
|
||||
REST_NOWEBSERVICES,
|
||||
REST_ALLOWUNHASHEDWEBVIEW,
|
||||
REST_ALLOWLEGACYWEBVIEW,
|
||||
REST_REVERTWEBVIEWSECURITY,
|
||||
|
||||
#endif
|
||||
#if (NTDDI_VERSION >= NTDDI_WIN2KSP3)
|
||||
REST_ALLOWUNHASHEDWEBVIEW = 0x40000082,
|
||||
#endif
|
||||
REST_ALLOWLEGACYWEBVIEW = 0x40000083,
|
||||
#if (NTDDI_VERSION >= NTDDI_WIN2KSP3)
|
||||
REST_REVERTWEBVIEWSECURITY = 0x40000084,
|
||||
#endif
|
||||
/* 0x40000085 */
|
||||
REST_INHERITCONSOLEHANDLES = 0x40000086,
|
||||
#if (NTDDI_VERSION < NTDDI_VISTA)
|
||||
REST_SORTMAXITEMCOUNT = 0x40000087,
|
||||
#endif
|
||||
/* 0x40000088 */
|
||||
REST_NOREMOTERECURSIVEEVENTS = 0x40000089,
|
||||
/* 0x4000008A - 0x40000090 */
|
||||
#if (NTDDI_VERSION >= NTDDI_WINXPSP2)
|
||||
REST_NOREMOTECHANGENOTIFY = 0x40000091,
|
||||
#if (NTDDI_VERSION < NTDDI_VISTA)
|
||||
REST_NOSIMPLENETIDLIST = 0x40000092,
|
||||
#endif
|
||||
REST_NOENUMENTIRENETWORK = 0x40000093,
|
||||
#if (NTDDI_VERSION < NTDDI_VISTA)
|
||||
REST_NODETAILSTHUMBNAILONNETWORK = 0x40000094,
|
||||
#endif
|
||||
REST_NOINTERNETOPENWITH = 0x40000095,
|
||||
#if (NTDDI_VERSION < NTDDI_VISTA)
|
||||
REST_ALLOWLEGACYLMZBEHAVIOR = 0x40000096, /* not documented */
|
||||
#endif
|
||||
#endif
|
||||
#if (NTDDI_VERSION >= NTDDI_WINXPSP2)
|
||||
REST_DONTRETRYBADNETNAME = 0x4000009B,
|
||||
REST_ALLOWFILECLSIDJUNCTIONS,
|
||||
REST_NOUPNPINSTALL,
|
||||
#endif
|
||||
/* 0x4000009E - "NormalizeLinkNetPidls" */
|
||||
|
||||
REST_ARP_DONTGROUPPATCHES = 0x400000AC,
|
||||
REST_ARP_NOCHOOSEPROGRAMSPAGE,
|
||||
|
||||
/* 0x400000FF - "AllowCLSIDPROGIDMapping" */
|
||||
|
||||
REST_NODISCONNECT = 0x41000001,
|
||||
REST_NOSECURITY,
|
||||
REST_NOFILEASSOCIATE, /* 0x41000003 */
|
||||
|
||||
#if (NTDDI_VERSION >= NTDDI_WINXPSP2)
|
||||
REST_ALLOWCOMMENTTOGGLE = 0x41000004,
|
||||
#if (NTDDI_VERSION < NTDDI_VISTA)
|
||||
REST_USEDESKTOPINICACHE = 0x41000005,
|
||||
/* 0x41000006 - "NoNetFolderInfoTip" */
|
||||
#endif
|
||||
#endif
|
||||
} RESTRICTIONS;
|
||||
|
||||
DWORD WINAPI SHRestricted(RESTRICTIONS rest);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue