[SHELL32][SHLWAPI][SDK] Implement SHRestricted etc. (#6560)

shell32!SHRestricted is necessary to make shell working well.
JIRA issue: CORE-11515
- Add dll/win32/shell32/wine/PolicyData.h to define the shell policy data.
- Define POLICYDATA structure and SHELL_NO_POLICY constant
  in <shlwapi_undoc.h>.
- Fix shell32!SHRestricted, shell32!SHSettingsChanged,
  shlwapi!SHGetRestriction, and shlwapi!SHRestrictionLookup functions.
This commit is contained in:
Katayama Hirofumi MZ 2024-03-11 08:29:04 +09:00 committed by GitHub
parent 3e3594e3aa
commit ede65b88bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 459 additions and 1349 deletions

View file

@ -1832,11 +1832,11 @@ typedef enum RESTRICTIONS
REST_NODETAILSTHUMBNAILONNETWORK = 0x40000094,
#endif
REST_NOINTERNETOPENWITH = 0x40000095,
#if (NTDDI_VERSION < NTDDI_VISTA)
REST_ALLOWLEGACYLMZBEHAVIOR = 0x40000096, /* not documented */
#endif
#endif
#if (NTDDI_VERSION >= NTDDI_WINXPSP2)
#if (NTDDI_VERSION < NTDDI_VISTA)
REST_ALLOWLEGACYLMZBEHAVIOR = 0x4000009A, /* not documented */
#endif
REST_DONTRETRYBADNETNAME = 0x4000009B,
REST_ALLOWFILECLSIDJUNCTIONS,
REST_NOUPNPINSTALL,