ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

sec_mgr.c File Reference
#include <stdio.h>
#include "urlmon_main.h"
#include "winreg.h"
#include "wininet.h"
#include "shlwapi.h"
#include "wine/debug.h"

Go to the source code of this file.

Data Structures

struct  SecManagerImpl
struct  ZoneMgrImpl

Defines

#define NO_SHLWAPI_REG

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (urlmon)
static void get_string_from_reg (HKEY hcu, HKEY hklm, LPCWSTR name, LPWSTR out, DWORD maxlen)
static void get_dword_from_reg (HKEY hcu, HKEY hklm, LPCWSTR name, LPDWORD out)
static HRESULT get_zone_from_reg (LPCWSTR schema, DWORD *zone)
static BOOL matches_domain_pattern (LPCWSTR pattern, LPCWSTR str, BOOL implicit_wildcard, LPCWSTR *matched)
static BOOL get_zone_for_scheme (HKEY key, LPCWSTR schema, DWORD *zone)
static HRESULT search_domain_for_zone (HKEY domains, LPCWSTR domain, DWORD domain_len, LPCWSTR schema, LPCWSTR host, DWORD host_len, DWORD *zone)
static HRESULT search_for_domain_mapping (HKEY domains, LPCWSTR schema, LPCWSTR host, DWORD host_len, DWORD *zone)
static HRESULT get_zone_from_domains (LPCWSTR url, LPCWSTR schema, DWORD *zone)
static HRESULT map_url_to_zone (LPCWSTR url, DWORD *zone, LPWSTR *ret_url)
static HRESULT open_zone_key (HKEY parent_key, DWORD zone, HKEY *hkey)
static HRESULT get_action_policy (DWORD zone, DWORD action, BYTE *policy, DWORD size, URLZONEREG zone_reg)
static SecManagerImplimpl_from_IInternetSecurityManager (IInternetSecurityManager *iface)
static HRESULT WINAPI SecManagerImpl_QueryInterface (IInternetSecurityManager *iface, REFIID riid, void **ppvObject)
static ULONG WINAPI SecManagerImpl_AddRef (IInternetSecurityManager *iface)
static ULONG WINAPI SecManagerImpl_Release (IInternetSecurityManager *iface)
static HRESULT WINAPI SecManagerImpl_SetSecuritySite (IInternetSecurityManager *iface, IInternetSecurityMgrSite *pSite)
static HRESULT WINAPI SecManagerImpl_GetSecuritySite (IInternetSecurityManager *iface, IInternetSecurityMgrSite **ppSite)
static HRESULT WINAPI SecManagerImpl_MapUrlToZone (IInternetSecurityManager *iface, LPCWSTR pwszUrl, DWORD *pdwZone, DWORD dwFlags)
static HRESULT WINAPI SecManagerImpl_GetSecurityId (IInternetSecurityManager *iface, LPCWSTR pwszUrl, BYTE *pbSecurityId, DWORD *pcbSecurityId, DWORD_PTR dwReserved)
static HRESULT WINAPI SecManagerImpl_ProcessUrlAction (IInternetSecurityManager *iface, LPCWSTR pwszUrl, DWORD dwAction, BYTE *pPolicy, DWORD cbPolicy, BYTE *pContext, DWORD cbContext, DWORD dwFlags, DWORD dwReserved)
static HRESULT WINAPI SecManagerImpl_QueryCustomPolicy (IInternetSecurityManager *iface, LPCWSTR pwszUrl, REFGUID guidKey, BYTE **ppPolicy, DWORD *pcbPolicy, BYTE *pContext, DWORD cbContext, DWORD dwReserved)
static HRESULT WINAPI SecManagerImpl_SetZoneMapping (IInternetSecurityManager *iface, DWORD dwZone, LPCWSTR pwszPattern, DWORD dwFlags)
static HRESULT WINAPI SecManagerImpl_GetZoneMappings (IInternetSecurityManager *iface, DWORD dwZone, IEnumString **ppenumString, DWORD dwFlags)
HRESULT SecManagerImpl_Construct (IUnknown *pUnkOuter, LPVOID *ppobj)
static ZoneMgrImplimpl_from_IInternetZoneManagerEx2 (IInternetZoneManagerEx2 *iface)
static LPDWORD build_zonemap_from_reg (void)
static HRESULT WINAPI ZoneMgrImpl_QueryInterface (IInternetZoneManagerEx2 *iface, REFIID riid, void **ppvObject)
static ULONG WINAPI ZoneMgrImpl_AddRef (IInternetZoneManagerEx2 *iface)
static ULONG WINAPI ZoneMgrImpl_Release (IInternetZoneManagerEx2 *iface)
static HRESULT WINAPI ZoneMgrImpl_GetZoneAttributes (IInternetZoneManagerEx2 *iface, DWORD dwZone, ZONEATTRIBUTES *pZoneAttributes)
static HRESULT WINAPI ZoneMgrImpl_SetZoneAttributes (IInternetZoneManagerEx2 *iface, DWORD dwZone, ZONEATTRIBUTES *pZoneAttributes)
static HRESULT WINAPI ZoneMgrImpl_GetZoneCustomPolicy (IInternetZoneManagerEx2 *iface, DWORD dwZone, REFGUID guidKey, BYTE **ppPolicy, DWORD *pcbPolicy, URLZONEREG ulrZoneReg)
static HRESULT WINAPI ZoneMgrImpl_SetZoneCustomPolicy (IInternetZoneManagerEx2 *iface, DWORD dwZone, REFGUID guidKey, BYTE *ppPolicy, DWORD cbPolicy, URLZONEREG ulrZoneReg)
static HRESULT WINAPI ZoneMgrImpl_GetZoneActionPolicy (IInternetZoneManagerEx2 *iface, DWORD dwZone, DWORD dwAction, BYTE *pPolicy, DWORD cbPolicy, URLZONEREG urlZoneReg)
static HRESULT WINAPI ZoneMgrImpl_SetZoneActionPolicy (IInternetZoneManagerEx2 *iface, DWORD dwZone, DWORD dwAction, BYTE *pPolicy, DWORD cbPolicy, URLZONEREG urlZoneReg)
static HRESULT WINAPI ZoneMgrImpl_PromptAction (IInternetZoneManagerEx2 *iface, DWORD dwAction, HWND hwndParent, LPCWSTR pwszUrl, LPCWSTR pwszText, DWORD dwPromptFlags)
static HRESULT WINAPI ZoneMgrImpl_LogAction (IInternetZoneManagerEx2 *iface, DWORD dwAction, LPCWSTR pwszUrl, LPCWSTR pwszText, DWORD dwLogFlags)
static HRESULT WINAPI ZoneMgrImpl_CreateZoneEnumerator (IInternetZoneManagerEx2 *iface, DWORD *pdwEnum, DWORD *pdwCount, DWORD dwFlags)
static HRESULT WINAPI ZoneMgrImpl_GetZoneAt (IInternetZoneManagerEx2 *iface, DWORD dwEnum, DWORD dwIndex, DWORD *pdwZone)
static HRESULT WINAPI ZoneMgrImpl_DestroyZoneEnumerator (IInternetZoneManagerEx2 *iface, DWORD dwEnum)
static HRESULT WINAPI ZoneMgrImpl_CopyTemplatePoliciesToZone (IInternetZoneManagerEx2 *iface, DWORD dwTemplate, DWORD dwZone, DWORD dwReserved)
static HRESULT WINAPI ZoneMgrImpl_GetZoneActionPolicyEx (IInternetZoneManagerEx2 *iface, DWORD dwZone, DWORD dwAction, BYTE *pPolicy, DWORD cbPolicy, URLZONEREG urlZoneReg, DWORD dwFlags)
static HRESULT WINAPI ZoneMgrImpl_SetZoneActionPolicyEx (IInternetZoneManagerEx2 *iface, DWORD dwZone, DWORD dwAction, BYTE *pPolicy, DWORD cbPolicy, URLZONEREG urlZoneReg, DWORD dwFlags)
static HRESULT WINAPI ZoneMgrImpl_GetZoneAttributesEx (IInternetZoneManagerEx2 *iface, DWORD dwZone, ZONEATTRIBUTES *pZoneAttributes, DWORD dwFlags)
static HRESULT WINAPI ZoneMgrImpl_GetZoneSecurityState (IInternetZoneManagerEx2 *iface, DWORD dwZoneIndex, BOOL fRespectPolicy, LPDWORD pdwState, BOOL *pfPolicyEncountered)
static HRESULT WINAPI ZoneMgrImpl_GetIESecurityState (IInternetZoneManagerEx2 *iface, BOOL fRespectPolicy, LPDWORD pdwState, BOOL *pfPolicyEncountered, BOOL fNoCache)
static HRESULT WINAPI ZoneMgrImpl_FixInsecureSettings (IInternetZoneManagerEx2 *iface)
HRESULT ZoneMgrImpl_Construct (IUnknown *pUnkOuter, LPVOID *ppobj)
HRESULT WINAPI CoInternetCreateSecurityManager (IServiceProvider *pSP, IInternetSecurityManager **ppSM, DWORD dwReserved)
HRESULT WINAPI CoInternetCreateZoneManager (IServiceProvider *pSP, IInternetZoneManager **ppZM, DWORD dwReserved)
static HRESULT parse_security_url (const WCHAR *url, PSUACTION action, WCHAR **result)
HRESULT WINAPI CoInternetGetSecurityUrl (LPCWSTR pwzUrl, LPWSTR *ppwzSecUrl, PSUACTION psuAction, DWORD dwReserved)
HRESULT WINAPI CoInternetGetSecurityUrlEx (IUri *pUri, IUri **ppSecUri, PSUACTION psuAction, DWORD_PTR dwReserved)

Variables

static const WCHAR currentlevelW [] = {'C','u','r','r','e','n','t','L','e','v','e','l',0}
static const WCHAR descriptionW [] = {'D','e','s','c','r','i','p','t','i','o','n',0}
static const WCHAR displaynameW [] = {'D','i','s','p','l','a','y','N','a','m','e',0}
static const WCHAR fileW [] = {'f','i','l','e',0}
static const WCHAR flagsW [] = {'F','l','a','g','s',0}
static const WCHAR iconW [] = {'I','c','o','n',0}
static const WCHAR minlevelW [] = {'M','i','n','L','e','v','e','l',0}
static const WCHAR recommendedlevelW []
static const WCHAR wszZonesKey []
static const WCHAR wszZoneMapDomainsKey []
static const
IInternetSecurityManagerVtbl 
VT_SecManagerImpl
static const
IInternetZoneManagerEx2Vtbl 
ZoneMgrImplVtbl

Generated on Sun May 27 2012 05:19:56 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.