Export (0) Print
Expand All

IZoneIdentifier::SetId method

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 codeDescription
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

See also

IZoneIdentifier

 

 

Show:
© 2014 Microsoft