ITTAPIObjectEvent::get_TAPIObject method (tapi3if.h)

The get_TAPIObject method gets a pointer to the TAPI object on which the event occurred.

Syntax

HRESULT get_TAPIObject(
  [out] ITTAPI **ppTAPIObject
);

Parameters

[out] ppTAPIObject

Pointer to an ITTAPI interface of the TAPI object on which the event occurred.

Return value

This method can return one of these values.

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

Remarks

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

ITTAPIObjectEvent

TAPI Object