ITAddress::get_Calls method (tapi3if.h)

The get_Calls method creates a collection of calls currently active on the address. This method is provided for Automation client applications, such as those written in Visual Basic. C and C++ applications must use the EnumerateCalls method.

Syntax

HRESULT get_Calls(
  [out] VARIANT *pVariant
);

Parameters

[out] pVariant

Pointer to a VARIANT containing an ITCollection of ITCallInfo interface pointers (call objects).

Return value

This method can return one of these values.

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

Remarks

TAPI calls the AddRef method on the ITCallInfo interface returned by ITAddress::get_Calls. The application must call Release on the ITCallInfo 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

See also

Address Object

EnumerateCalls

ITAddress

ITCallInfo

ITCollection