Compartilhar via


IInternetZoneManager::GetZoneActionPolicy method

Gets the policy associated with the specified URL action.

Syntax

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

Parameters

  • dwZone [in]
    An unsigned long integer value of the zone.

  • dwAction [in]
    An unsigned long integer value of the action.

  • pPolicy [out]
    The address of the buffer to store the policy information.

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

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

Return value

Returns S_OK if successful, or an error value otherwise.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Product

Internet Explorer 4.0

DLL

Urlmon.dll

See also

IInternetZoneManager