Platform SDK: TAPI

ITCallHub::get_Calls

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.

HRESULT get_Calls(
  VARIANT *pCalls
);

Parameters

pCalls
[out, retval] Pointer to a VARIANT containing an ITCollection of ITCallInfo interface pointers (call objects).

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

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

ITCallHub, CallHub Object, ITCollection, ITCallInfo