Platform SDK: TAPI

IMcastLeaseInfo::get_Addresses

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

HRESULT get_Addresses(
  VARIANT *pVariant
);

Parameters

pVariant
[out] Pointer to a VARIANT that will receive an OLE-standard collection of addresses.

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 collection.

Remarks

Each address is an IP version 4 address represented as a BSTR in dotted quad notation (for example, 10.111.222.111).

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, EnumerateAddresses