Share via


IInternetZoneManagerEx::GetZoneActionPolicyEx method

Gets the policy associated with the specified URL action in the specified zone.

Syntax

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

Parameters

  • dwZone [in]
    A DWORD that contains the value of the security zone.

  • dwAction [in]
    A DWORD that contains the value of the URL action.

  • pPolicy [out]
    A pointer to a buffer that contains the URL policy.

  • cbPolicy [in]
    A DWORD that contains the size of the buffer for pPolicy.

  • urlZoneReg [in]
    A URLZONEREG value that indicates the section in the registry to search.

  • dwFlags [in]
    A ZAFLAGS value that indicates whether to look under the usual security zones or the lockdown zones. The value can be ZAFLAGS_USE_LOCKED_ZONES or NULL.

Return value

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

Remarks

The IInternetZoneManagerEx::GetZoneActionPolicyEx 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

IInternetZoneManagerEx