IMcastLeaseInfo::EnumerateAddresses method (mdhcp.h)

[Rendezvous IP Telephony Conferencing controls and interfaces are not available for use in Windows Vista, Windows Server 2008, and subsequent versions of the operating system. The RTC Client API provides similar functionality.]

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.

Syntax

HRESULT EnumerateAddresses(
  [out] IEnumBstr **ppEnumAddresses
);

Parameters

[out] ppEnumAddresses

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 value

This method can return one of these 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.

Remarks

TAPI calls the AddRef method on the IEnumBstr interface returned by IMcastLeaseInfo::EnumerateAddresses. The application must call Release on the IEnumBstr interface to free resources associated with it.

Requirements

Requirement Value
Target Platform Windows
Header mdhcp.h
Library Uuid.lib
DLL Mdhcp.dll

See also

IEnumBstr

IMcastLeaseInfo

get_Addresses