ReactOS 0.4.16-dev-823-g9a093ec
|
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <windef.h>
#include <winbase.h>
#include <shlobj.h>
#include <initguid.h>
#include <shlwapi_undoc.h>
#include <wine/debug.h>
#include "shell32_main.h"
#include "PolicyData.h"
Go to the source code of this file.
Macros | |
#define | WIN32_NO_STATUS |
#define | _INC_WINDOWS |
#define | DEFINE_POLICY(policy, appstr, keystr) { policy, L##appstr, L##keystr } |
Functions | |
WINE_DEFAULT_DEBUG_CHANNEL (shell) | |
DEFINE_GUID (GUID_Restrictions, 0xA48F1A32, 0xA340, 0x11D1, 0xBC, 0x6B, 0x00, 0xA0, 0xC9, 0x03, 0x12, 0xE1) | |
static HANDLE | SHELL_GetCachedGlobalCounter (_Inout_ HANDLE *phGlobalCounter, _In_ REFGUID rguid) |
static HANDLE | SHELL_GetRestrictionsCounter (VOID) |
static BOOL | SHELL_QueryRestrictionsChanged (VOID) |
DWORD WINAPI | SHRestricted (RESTRICTIONS rest) |
BOOL WINAPI | SHSettingsChanged (LPCVOID unused, LPCWSTR pszKey) |
Variables | |
static const POLICYDATA | s_PolicyTable [] |
HANDLE | g_hRestGlobalCounter = NULL |
LONG | g_nRestCountValue = -1 |
DWORD | g_RestValues [_countof(s_PolicyTable)] = { 0 } |
#define _INC_WINDOWS |
Definition at line 36 of file shpolicy.c.
Definition at line 51 of file shpolicy.c.
#define WIN32_NO_STATUS |
Definition at line 35 of file shpolicy.c.
DEFINE_GUID | ( | GUID_Restrictions | , |
0xA48F1A32 | , | ||
0xA340 | , | ||
0x11D1 | , | ||
0xBC | , | ||
0x6B | , | ||
0x00 | , | ||
0xA0 | , | ||
0xC9 | , | ||
0x03 | , | ||
0x12 | , | ||
0xE1 | |||
) |
|
static |
Definition at line 86 of file shpolicy.c.
Referenced by SHELL_GetRestrictionsCounter().
Definition at line 107 of file shpolicy.c.
Referenced by SHELL_QueryRestrictionsChanged(), and SHSettingsChanged().
Definition at line 119 of file shpolicy.c.
Referenced by SHRestricted().
DWORD WINAPI SHRestricted | ( | RESTRICTIONS | rest | ) |
Definition at line 150 of file shpolicy.c.
Referenced by CStartMenuSettingsPage::_UpdateDialog(), AddCustomItem(), SettingsMenu::AddEntries(), BrowseMenu::AddEntries(), SearchMenu::AddEntries(), CStartMenuBtnCtxMenu::AddStartContextMenuItems(), CStartMenuSite::AppendMenu(), CShellMenuCallback::CreateRecentMenu(), CustomizeClassic_OnOK(), FileTypesDlg_Initialize(), CRecycleBin::GetAttributesOf(), CTrayWindow::HandleCommand(), DesktopBar::Init(), StartMenuRoot::Init(), CDefView::OnCommand(), CTrayWindow::OnContextMenu(), CDesktopBrowser::OnSaveState(), CTrayWindow::OnSysChar(), CTrayBandSite::ProcessMessage(), ProcessStartupItems(), CRecycleBin::QueryContextMenu(), CTrayWindowCtxMenu::QueryContextMenu(), NotifyArea::read_config(), CTrayWindow::SaveState(), CShellBrowser::SaveViewState(), SHAddToRecentDocs(), SHELL_BuildDisplayMachineName(), SHFindFiles(), and StartMenuRoot::StartMenuRoot().
Definition at line 178 of file shpolicy.c.
Referenced by IntSetShellStateSettings(), and IntSetUnderlineState().
WINE_DEFAULT_DEBUG_CHANNEL | ( | shell | ) |
Definition at line 65 of file shpolicy.c.
Referenced by SHELL_GetRestrictionsCounter().
LONG g_nRestCountValue = -1 |
Definition at line 66 of file shpolicy.c.
Referenced by SHELL_QueryRestrictionsChanged().
DWORD g_RestValues[_countof(s_PolicyTable)] = { 0 } |
Definition at line 67 of file shpolicy.c.
Referenced by SHRestricted().
|
static |
Definition at line 54 of file shpolicy.c.
Referenced by SHRestricted().