Partager via


ITAddress2 ::GetPhoneFromTerminal, méthode (tapi3if.h)

La méthode GetPhoneFromTerminal retourne l’objet téléphone associé au terminal. Un seul téléphone peut être associé à un terminal.

Syntaxe

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

Paramètres

[in] pTerminal

Pointeur vers l’interface ITTerminal .

[out] ppPhone

Pointeur vers l’interface ITPhone .

Valeur retournée

Si cette méthode réussit, elle retourne S_OK. Sinon, elle retourne un code d’erreur HRESULT.

Spécifications

Condition requise Valeur
Plateforme cible Windows
En-tête tapi3if.h (inclure Tapi3.h)
Bibliothèque Uuid.lib
DLL Tapi3.dll

Voir aussi

ITAddress2

ITPhone

ITTerminal