ITTAPI::EnumerateCallHubs method (tapi3if.h)

The EnumerateCallHubs method enumerates the currently available call hubs. Provided for C and C++ applications. Automation client applications, such as those written in Visual Basic, must use the get_Callhubs method.

Syntax

HRESULT EnumerateCallHubs(
  [out] IEnumCallHub **ppEnumCallHub
);

Parameters

[out] ppEnumCallHub

Pointer to the IEnumCallHub interface.

Return value

This method can return one of these values.

Value Meaning
S_OK
Method succeeded.
E_POINTER
The ppEnumCallHub parameter is not a valid pointer.
E_INVALIDARG
The TAPI object has not been initialized.
E_OUTOFMEMORY
Insufficient memory exists to perform the operation.

Remarks

TAPI calls the Addref method on the IEnumCallHub interface returned by ITTAPI::EnumerateCallHubs. The application must call Release on the IEnumCallHub 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

IEnumCallHub

ITTAPI

TAPI Object