Contents Index Topic Contents | ||
Previous Topic: IInternetSecurityManager::SetSecuritySite Next Topic: IInternetSecurityMgrSite::EnableModeless |
IInternetSecurityManager::SetZoneMapping
HRESULT SetZoneMapping( [in] DWORD dwZone, [in] LPCWSTR lpszPattern, [in] DWORD dwFlags );Maps a pattern into the specified zone.
- Returns one of the following values:
S_OK Success. E_ACCESSDENIED Attempting to enter a non-SSL site into a zone that requires server verification. URL_E_INVALID_SCHEME Either an improper scheme or no scheme is specified in the URL. E_FAIL Mapping already exists. The method can also return the HRESULT derived from the Win32 error code ERROR_FILE_EXISTS if the URL already exists in another zone.
- dwZone
- Double-word value that contains the zone index.
- lpszPattern
- String value that contains the URL pattern with a limited number of wildcards.
- dwFlags
- Double-word value that indicates whether the mappings should be added or deleted. Can be one of the SZM_FLAGS values.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.