ITAddress2::GetPhoneFromTerminal method (tapi3if.h)

The GetPhoneFromTerminal method returns the phone object associated with the terminal. Only one phone can be associated with a terminal.

Syntax

HRESULT GetPhoneFromTerminal(
  [in]  ITTerminal *pTerminal,
  [out] ITPhone    **ppPhone
);

Parameters

[in] pTerminal

Pointer to the ITTerminal interface.

[out] ppPhone

Pointer to the ITPhone interface.

Return value

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

Requirements

Requirement Value
Target Platform Windows
Header tapi3if.h (include Tapi3.h)
Library Uuid.lib
DLL Tapi3.dll

See also

ITAddress2

ITPhone

ITTerminal