ITTAPIObjectEvent2::get_Phone method (tapi3if.h)
The get_Phone method returns a pointer to the ITPhone interface on the phone object that caused this TAPI object event to be fired.
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 ITTAPIObjectEvent2::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 |