Platform SDK: TAPI

ITTAPI::get_Addresses

Creates a collection of addresses currently available. Provided for Automation client applications, such as those written in Visual Basic. C and C++ applications must use the EnumerateAddresses method.

HRESULT get_Addresses(
  VARIANT *pVariant
);

Parameters

pVariant
[out, retval] Pointer to VARIANT containing an ITCollection of ITAddress interface pointers (address objects).

Return Values

Value Meaning
S_OK Method succeeded.
E_INVALIDARG The pVariant parameter is not valid.
E_OUTOFMEMORY Insufficient memory exists to perform the operation.
E_POINTER The pVariant parameter is not a valid pointer.

Requirements

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

See Also

ITTAPI, EnumerateAddresses, IEnumAddress, ITAddress, TAPI Object, ITCollection