36#define WIN32_NO_STATUS
48#define SHELL_NO_POLICY 0xffffffff
126static const char strNoSimpleStartMenu[] = {
"NoSimpleStartMenu"};
438#if (NTDDI_VERSION < NTDDI_LONGHORN)
440 REST_NOLOGO3CHANNELNOTIFY,
491 "MemCheckBoxInRunDlg",
521 "NoAddRemovePrograms",
539 "NoWindowsSetupPage",
551 "NoChangeMappedDriveLabel",
557 "NoChangeMappedDriveComment",
569 "NoNetworkConnections",
575 "ForceStartMenuLogoff",
587 "NoCustomizeThisFolder",
599 "AllowFrenchEncryption",
605 "DontShowSuperHidden",
611 "NoShellSearchButton",
623 "NoRunasInstallPrompt",
629 "PromptRunasInstallNetPath",
635 "NoManageMyComputerVerb",
641 "NoRecentDocsNetHood",
695 "DisableLocalMachineRun",
701 "DisableCurrentUserRun",
707 "DisableLocalMachineRunOnce",
713 "DisableCurrentUserRunOnce",
719 "ForceActiveDesktopOn",
756 "NoneLegacyShellMode",
763 strNoSimpleStartMenu,
770 "StartRunNoHOMEPATH",
831 DWORD retval, datsize = 4;
860 lstrcpyA(regstr,
"Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\");
911 if (inpRegKey !=
NULL)
915 if (
lstrcmpiW(inpRegKey,
L"Software\\Microsoft\\Windows\\CurrentVersion\\Policies") &&
922 if (
lstrcmpiA(inpRegKey,
"Software\\Microsoft\\Windows\\CurrentVersion\\Policies") &&
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
void shell(int argc, const char *argv[])
#define RegCloseKey(hKey)
LONG WINAPI RegOpenKeyA(HKEY hKey, LPCSTR lpSubKey, PHKEY phkResult)
LONG WINAPI RegQueryValueExA(_In_ HKEY hkeyorg, _In_ LPCSTR name, _In_ LPDWORD reserved, _Out_opt_ LPDWORD type, _Out_opt_ LPBYTE data, _Inout_opt_ LPDWORD count)
WDF_INTERRUPT_POLICY policy
int WINAPI lstrcmpiA(LPCSTR lpString1, LPCSTR lpString2)
int WINAPI lstrcmpiW(LPCWSTR lpString1, LPCWSTR lpString2)
LPSTR WINAPI lstrcpyA(LPSTR lpString1, LPCSTR lpString2)
LPSTR WINAPI lstrcatA(LPSTR lpString1, LPCSTR lpString2)
static __inline BOOL SHELL_OsIsUnicode(void)
@ REST_PROMPTRUNASINSTALLNETPATH
@ REST_DONTSHOWSUPERHIDDEN
@ REST_NORUNASINSTALLPROMPT
@ REST_NOCUSTOMIZEWEBVIEW
@ REST_NOSETACTIVEDESKTOP
@ REST_NOCURRENTUSERRUNONCE
@ REST_NOCLOSE_DRAGDROPBAND
@ REST_FORCESTARTMENULOGOFF
@ REST_NONETCONNECTDISCONNECT
@ REST_NOFORGETSOFTWAREUPDATE
@ REST_NOCUSTOMIZETHISFOLDER
@ REST_NOCHANGEMAPPEDDRIVELABEL
@ REST_NOMANAGEMYCOMPUTERVERB
@ REST_NORECENTDOCSHISTORY
@ REST_SEPARATEDESKTOPPROCESS
@ REST_NORECENTDOCSNETHOOD
@ REST_NOLOCALMACHINERUNONCE
@ REST_NOACTIVEDESKTOPCHANGES
@ REST_ARP_NOWINSETUPPAGE
@ REST_NOSHELLSEARCHBUTTON
@ REST_NOCHANGEMAPPEDDRIVECOMMENT
@ REST_NONETWORKCONNECTIONS
@ REST_NOCHANGINGWALLPAPER
@ REST_NOSTARTMENUSUBFOLDERS
@ REST_FORCECOPYACLWITHFILE
@ REST_LINKRESOLVEIGNORELINKINFO
@ REST_NONLEGACYSHELLMODE
@ REST_ALLOWFRENCHENCRYPTION
@ REST_NODRIVETYPEAUTORUN
@ REST_STARTRUNNOHOMEPATH
@ REST_CLEARRECENTDOCSONEXIT
@ REST_FORCEACTIVEDESKTOPON
@ REST_ENFORCESHELLEXTSECURITY
static const char strNoAddComponent[]
static const char strNoHTMLWallpaper[]
static const char strNoDriveTypeAtRun[]
static const char strNoSetActiveDesktop[]
static const char strNoFileURL[]
static const char strNoCommonGroups[]
static const char strNoTrayContextMenu[]
static const char strNoEditComponent[]
static const char strExplorer[]
static const char strNoChangeWallpaper[]
static const char strNoActiveDesktop[]
static const char strNoDelComponent[]
static const char strNoResolveTrk[]
static const char strNoSaveSetting[]
static const char strEnforceShlExtSecurity[]
static const char strNoWindowsUpdate[]
static const char strClearRecentDocs[]
static const char strNoAddPrinters[]
static const char strNoFavoritesMenu[]
static const char strNoPrintTab[]
DWORD WINAPI SHRestricted(RESTRICTIONS policy)
static const char strNoNetworkNeighborhood[]
static const char strNoFileMenu[]
static const char strNoStartBanner[]
static const char strNoRealMode[]
static const char strSeparateProcess[]
static const char strNoComponent[]
static const char strLnkResolveIgnoreLnkInfo[]
static const char strClassicShell[]
struct tagPOLICYDAT POLICYDATA
static const char strNoLogoff[]
static const char strNoNetConDis[]
static const char strNoSetTaskBar[]
static const char strActiveDesk[]
static const char strWinOldApp[]
static const char strNoChangeStartMenu[]
static const char strNoRun[]
static const char strForceCopyACLW[]
static const char strNoCustomWebView[]
static const char strNoViewContextMenu[]
static const char strNoClose[]
static const char strNoRecentDocHistory[]
static const char strMyDocsOnNet[]
static const char strNoCloseComponent[]
static POLICYDATA sh32_policy_table[]
BOOL WINAPI SHSettingsChanged(LPCVOID unused, LPCVOID inpRegKey)
static const char strNoSettingsWizard[]
static const char strNoSetFld[]
static const char strNoForgetSoftwareUpdate[]
static const char strRestrictRun[]
struct tagPOLICYDAT * LPPOLICYDATA
static const char strNoDesktop[]
static const char strNoStartMenuSubfolder[]
static const char strAddRemoveProgs[]
static const char strNoDeletePrinters[]
static const char strNoDrives[]
static const char strNoInetIcon[]
static const char strNoResolveSearch[]
static const char strNoCloseDragDrop[]
static const char strNoRecentDocMenu[]
static const char strNoFind[]
static const char strNoActiveDesktopChanges[]
static const char strNoWebMenu[]
static const char strNoMovingBand[]
static const char strNoDrivesAutoRun[]
static const char strNoFolderOptions[]
#define HKEY_LOCAL_MACHINE
#define HKEY_CURRENT_USER