다음을 통해 공유


IInternetZoneManager::CopyTemplatePoliciesToZone method

Copies the policies from a predefined template into a security zone.

Syntax

HRESULT CopyTemplatePoliciesToZone(
  [in] DWORD dwTemplate,
  [in] DWORD dwZone,
  [in] DWORD dwReserved
);

Parameters

dwTemplate [in]

An unsigned long integer value from the URLTEMPLATE enumeration that specifies the desired template.

dwZone [in]

An unsigned long integer value from URLZONE enumeration that specifies the zone index.

dwReserved [in]

An unsigned long integer value that specifies the following flag, or zero.

ZONEMGR_FLAG_ONLY_INSECURE

Do not modify settings that are already more secure than template level.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Urlmon.h

IDL

Urlmon.idl

DLL

Urlmon.dll

See also

IInternetZoneManager

FixUnsecureSettings