ITCallInfo::get_CallHub method (tapi3if.h)

The get_CallHub method gets a pointer to the ITCallHub interface of the CallHub object.

Syntax

HRESULT get_CallHub(
  [out] ITCallHub **ppCallHub
);

Parameters

[out] ppCallHub

Pointer to ITCallHub interface of the CallHub object.

Return value

This method can return one of these values.

Value Meaning
S_OK
Method succeeded.
E_PENDING
Call hub not yet available.
E_POINTER
The ppCallHub parameter is not a valid pointer.
E_OUTOFMEMORY
Insufficient memory exists to perform the operation.

Remarks

On some service providers, the call hub is not available until after the call is made.

TAPI calls the AddRef method on the ITCallHub interface returned by ITCallInfo::get_CallHub. 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

Call Object

CallHub object

ITCallHub

ITCallInfo