ItPhone ::p ut_ButtonFunction, méthode (tapi3if.h)

La méthode put_ButtonFunction définit la fonction button.

Syntaxe

HRESULT put_ButtonFunction(
  [in] long                  lButtonID,
  [in] PHONE_BUTTON_FUNCTION ButtonFunction
);

Paramètres

[in] lButtonID

Identificateur du bouton.

[in] ButtonFunction

Le descripteur PHONE_BUTTON_FUNCTION pour la fonction du bouton.

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

ITPhone

get_ButtonFunction