ITTAPI::get_CallHubs method (tapi3if.h)

The get_CallHubs method creates a collection of the currently available call hubs. Provided for Automation client applications, such as those written in Visual Basic. C and C++ applications must use the EnumerateCallHubs method.

Syntax

HRESULT get_CallHubs(
  [out] VARIANT *pVariant
);

Parameters

[out] pVariant

Pointer to VARIANT containing an ITCollection of ITCallHub interface pointers (CallHub objects).

Return value

This method can return one of these values.

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

Remarks

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

ITCallHub

ITCollection

ITTAPI

TAPI Object