Udostępnij za pośrednictwem


IInternetZoneManager::SetZoneActionPolicy method

Sets the action policy associated with a zone.

Syntax

HRESULT SetZoneActionPolicy(
  [in] DWORD      dwZone,
  [in] DWORD      dwAction,
  [in] BYTE       *pPolicy,
  [in] DWORD      cbPolicy,
  [in] URLZONEREG urlZoneReg
);

Parameters

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

  • dwAction [in]
    An unsigned long integer value that specifies the index number of the action.

  • pPolicy [in]
    The address of the buffer that contains the policy information.

  • cbPolicy [in]
    An unsigned long integer value that specifies the size of the buffer.

  • urlZoneReg [in]
    A URLZONEREG value that specifies how the registry is accessed.

Return value

Returns S_OK if the action is valid.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Product

Internet Explorer 4.0

DLL

Urlmon.dll

See also

IInternetZoneManager