Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the current security zone.
Syntax
HRESULT SetId(
[in] DWORD dwZone
);
Parameters
- dwZone [in]
A URLZONE value.
Return value
This method can return one of these values.
Return code | Description |
---|---|
S_OK | Indicates success. |
E_ACCESSDENIED | Indicates that dwZone is an untrusted zone. |
Remarks
The IZoneIdentifier::SetId method was introduced in Microsoft Internet Explorer 6 for Windows XP Service Pack 2 (SP2).
Requirements
Minimum supported client |
Windows XP with SP2 |
Minimum supported server |
Windows Server 2003 |
Product |
Internet Explorer 6.0 |
Header |
Urlmon.h |
IDL |
Urlmon.idl |