다음을 통해 공유


IInternetZoneManager::GetZoneAt method

Gets the zone associated with the specified index on the given enumerator.

Syntax

HRESULT GetZoneAt(
  [in]  DWORD dwEnum,
  [in]  DWORD dwIndex,
  [out] DWORD *pdwZone
);

Parameters

  • dwEnum [in]
    An unsigned long integer value that specifies the enumerator created by IInternetZoneManager::CreateZoneEnumerator.

  • dwIndex [in]
    An unsigned long integer value that specifies the index of the zone in the enumerator.

  • pdwZone [out]
    The address of an unsigned long integer value that specifies the zone.

Return value

Returns S_OK if successful, or an error value otherwise.

Remarks

The index set in dwIndex must be greater than or equal to zero and less than or equal to the value pointed to by pdwCount in the call to IInternetZoneManager::CreateZoneEnumerator.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Product

Internet Explorer 4.0

DLL

Urlmon.dll

See also

IInternetZoneManager