ITTAPI::get_Addresses method (tapi3if.h)
The get_Addresses method creates a collection of addresses that are currently available. Provided for Automation client applications, such as those written in Visual Basic. C and C++ applications must use the EnumerateAddresses method.
Syntax
HRESULT get_Addresses(
[out] VARIANT *pVariant
);
Parameters
[out] pVariant
Pointer to a VARIANT containing an ITCollection of ITAddress interface pointers (address objects).
Return value
This method can return one of these values.
Value | Meaning |
---|---|
|
Method succeeded. |
|
The pVariant parameter is not valid. |
|
Insufficient memory exists to perform the operation. |
|
The pVariant parameter is not a valid pointer. |
Remarks
TAPI calls the Addref method on the ITAddress interface returned by ITTAPI::get_Addesses. The application must call Release on the ITAddress interface to free resources associated with it.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | tapi3if.h (include Tapi3.h) |
Library | Uuid.lib |
DLL | Tapi3.dll |