11#define REGKEY_POLICIES L"Software\\Microsoft\\Windows\\CurrentVersion\\Policies"
12#define REGKEY_POLICIES_EXPLORER REGKEY_POLICIES L"\\Explorer"
17#define DELETE_VALUE(hBaseKey) \
18 SHDeleteValueW((hBaseKey), REGKEY_POLICIES_EXPLORER, L"NoRun")
20#define SET_VALUE(hBaseKey, value) do { \
22 SHSetValueW((hBaseKey), REGKEY_POLICIES_EXPLORER, L"NoRun", \
23 REG_DWORD, &dwValue, sizeof(dwValue)); \
95 if (fnGetValue && fnRefresh)
102 skip(
"SHRestricted not found\n");
104 skip(
"SHSettingsChanged not found\n");
static VOID TEST_SHRestricted(FN_SHRestricted fnGetValue, FN_SHSettingsChanged fnRefresh)
#define SET_VALUE(hBaseKey, value)
BOOL(WINAPI * FN_SHSettingsChanged)(LPCVOID unused, LPCVOID inpRegKey)
#define DELETE_VALUE(hBaseKey)
DWORD(WINAPI * FN_SHRestricted)(RESTRICTIONS rest)
#define ok_long(expression, result)
#define GetProcAddress(x, y)
DWORD WINAPI SHRestricted(RESTRICTIONS rest)
VERSIONHELPERAPI IsWindowsVistaOrGreater()
#define HKEY_LOCAL_MACHINE
#define HKEY_CURRENT_USER
#define MAKEINTRESOURCEA(i)