35#define WIN32_NO_STATUS
49DEFINE_GUID(GUID_Restrictions, 0xA48F1A32, 0xA340, 0x11D1, 0xBC, 0x6B, 0x00, 0xA0, 0xC9, 0x03, 0x12, 0xE1);
51#define DEFINE_POLICY(policy, appstr, keystr) \
52 { policy, L##appstr, L##keystr }
90 return *phGlobalCounter;
94 return *phGlobalCounter;
152 TRACE(
"(0x%08lX)\n", rest);
184 lstrcmpiW(
L"Software\\Microsoft\\Windows\\CurrentVersion\\Policies", pszKey) != 0)
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
void shell(int argc, const char *argv[])
int WINAPI lstrcmpiW(LPCWSTR str1, LPCWSTR str2)
DWORD WINAPI SHRestrictionLookup(DWORD policy, LPCWSTR initial, LPPOLICYDATA polTable, LPDWORD polArr)
HANDLE WINAPI SHGlobalCounterCreate(REFGUID guid)
LONG WINAPI SHGlobalCounterGetValue(HANDLE hSem)
LONG WINAPI SHGlobalCounterIncrement(HANDLE hSem)
#define FillMemory(BUF, SIZ, MASK)
#define InterlockedCompareExchangePointer
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
BOOL WINAPI SHSettingsChanged(LPCVOID unused, LPCWSTR pszKey)
static BOOL SHELL_QueryRestrictionsChanged(VOID)
static HANDLE SHELL_GetRestrictionsCounter(VOID)
DWORD g_RestValues[_countof(s_PolicyTable)]
static const POLICYDATA s_PolicyTable[]
HANDLE g_hRestGlobalCounter
DWORD WINAPI SHRestricted(RESTRICTIONS rest)
static HANDLE SHELL_GetCachedGlobalCounter(_Inout_ HANDLE *phGlobalCounter, _In_ REFGUID rguid)
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value