Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This method retrieves the zone associated with the specified index on the given enumerator.

Syntax

HRESULT GetZoneAt(
  DWORD 
dwEnum,
  DWORD 
dwIndex,
  DWORD* 
pdwZone
);

Parameters

dwEnum

[in] Unsigned long integer value that specifies the enumerator created by IInternetZoneManager::CreateZoneEnumerator.

dwIndex

[in] Unsigned long integer value that specifies the index of the zone in the enumerator.

pdwZone

[out] 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 dwIndexmust be greater than or equal to zero and less than or equal to the value pointed to by pdwCountin the call to IInternetZoneManager::CreateZoneEnumerator.

Requirements

Header urlmon.h, urlmon.idl
Library urlmon.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also