ITPhoneEvent::get_Phone method (tapi3if.h)

The get_Phone method returns a pointer to the ITPhone interface on the phone object that fired this event.

Syntax

HRESULT get_Phone(
  [out] ITPhone **ppPhone
);

Parameters

[out] ppPhone

Pointer to the ITPhone interface.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

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

ITPhone

ITPhoneEvent