共用方式為


IInternetZoneManager::SetZoneAttributes method

Sets the zone attributes.

Syntax

HRESULT SetZoneAttributes(
  [in] DWORD          dwZone,
  [in] ZONEATTRIBUTES *pZoneAttributes
);

Parameters

  • dwZone [in]
    An unsigned long integer value that specifies the zone index.

  • pZoneAttributes [in]
    The address of a ZONEATTRIBUTES value that specifies the zone attributes to be set.

Return value

Returns S_OK if successful.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Product

Internet Explorer 4.0

DLL

Urlmon.dll

See also

IInternetZoneManager