ITCallHub::get_Calls method (tapi3if.h)

The get_Calls method creates a collection of calls associated with the current call hub. 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(
  VARIANT *pCalls
);

Parameters

pCalls

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 pCalls 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 ITCallHub::get_Calls. The application must call Release on the ITCallInfo interface to free resources associated with it.

Requirements

   
Target Platform Windows
Header tapi3if.h (include Tapi3.h)
Library Uuid.lib
DLL Tapi3.dll

See also

CallHub Object

ITCallHub

ITCallInfo

ITCollection