ITPhone::get_PhoneCapsString méthode (tapi3if.h)

La méthode get_PhoneCapsString obtient une fonctionnalité de chaîne/des informations sur le téléphone, en fonction de l’énumération PHONECAPS_STRING passée. L’application n’a pas besoin d’appeler ITPhone::Open avant d’exécuter cette méthode.

Syntaxe

HRESULT get_PhoneCapsString(
  [in]  PHONECAPS_STRING pcsCap,
  [out] BSTR             *ppCapability
);

Paramètres

[in] pcsCap

Le descripteur PHONECAPS_STRING pour la fonctionnalité de téléphone.

[out] ppCapability

Valeur de capacité. Le BSTR est alloué à l’aide de SysAllocString. L’argument BSTR doit être libéré par le client.

Valeur retournée

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

Spécifications

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

Voir aussi

ITPhone

PHONECAPS