Platform SDK: TAPI

IMcastLeaseInfo::EnumerateAddresses

The EnumerateAddresses method obtains the collection of multicast addresses that are the subject of this lease or lease request. This method is primarily for C++ programmers. Visual Basic and other scripting languages use get_Addresses instead.

HRESULT EnumerateAddresses(
  IEnumBstr **ppEnumAddresses
);

Parameters

ppEnumAddresses
[out, retval] Returns a pointer to a new IEnumBstr object. IEnumBstr is a standard enumerator interface that enumerates BSTR strings. Each string is an IP version 4 address in dotted quad notation (for example, 10.111.222.111).

Return Values

Value Meaning
S_OK Method succeeded.
E_POINTER The caller passed in an invalid pointer argument.
E_OUTOFMEMORY Not enough memory to allocate the enumerator.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Version: Requires TAPI 3.0 or later.
  Header: Declared in Mdhcp.h.
  Library: Use Mdhcpid.lib.

See Also

IMcastLeaseInfo, IEnumBstr, get_Addresses