ITCallHub::EnumerateCalls method (tapi3if.h)

The EnumerateCalls method enumerates calls currently associated with the call hub. This method is provided for C and C++ applications. Automation client applications, such as those written in Visual Basic, must use the get_Calls method.

Syntax

HRESULT EnumerateCalls(
  [out] IEnumCall **ppEnumCall
);

Parameters

[out] ppEnumCall

Pointer to IEnumCall interface.

Return value

This method can return one of these values.

Value Meaning
S_OK
Method succeeded.
E_OUTOFMEMORY
Insufficient memory exists to create the enumerator.
E_POINTER
The ppEnumCall parameter is not a valid pointer.

Remarks

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

CallHub Object

ITCallHub