ITAddressCapabilities::get_CallTreatments method (tapi3if.h)

The get_CallTreatments method gets call treatments. This method is provided for Automation client applications, such as those written in Visual Basic and scripting languages.

Syntax

HRESULT get_CallTreatments(
  [out] VARIANT *pVariant
);

Parameters

[out] pVariant

Pointer to a VARIANT containing an ITCollection of call treatments.

Return value

This method can return one of these values.

Value Meaning
S_OK
Method succeeded.
TAPI_E_INVALCALLSTATE

Call state must be CS_IDLE.

E_NOTIMPL
Method not implemented.
E_OUTOFMEMORY
Insufficient memory exists to perform the operation.

Remarks

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

Address Object

ITAddressCapabilities

ITCallInfo