ITPhoneEvent ::get_HookSwitchState, méthode (tapi3if.h)

La méthode get_HookSwitchState retourne une valeur PHONE_HOOK_SWITCH_STATE spécifiant l’état auquel le commutateur de crochet a été transféré. Ces informations sont disponibles uniquement lorsque la méthode ITPhoneEvent ::get_Event retourne PE_HOOKSWITCH.

Syntaxe

HRESULT get_HookSwitchState(
  [out] PHONE_HOOK_SWITCH_STATE *pState
);

Paramètres

[out] pState

Pointeur vers le descripteur PHONE_HOOK_SWITCH_STATE de l’état actuel de hookswitch.

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

ITPhoneEvent

ITPhoneEvent ::get_Event