Partager via


ITAddressTranslationInfo ::get_DisplayableString méthode (tapi3if.h)

La méthode get_DisplayableString obtient une chaîne qui contient une version affichable du numéro pouvant être composé.

Syntaxe

HRESULT get_DisplayableString(
  [out] BSTR *ppDisplayableString
);

Paramètres

[out] ppDisplayableString

Pointeur vers BSTR contenant la représentation d’une chaîne affichable.

Valeur retournée

Cette méthode peut retourner l’une de ces valeurs.

Code de retour Description
S_OK
La méthode a réussi.
E_POINTER
Le paramètre ppDisplayableString n’est pas un pointeur valide.
E_OUTOFMEMORY
La mémoire est insuffisante pour effectuer l’opération.

Remarques

L’application doit utiliser SysFreeString pour libérer la mémoire allouée au paramètre ppDisplayableString .

Correspond aux membres dwDisplayableStringSize et dwDisplayableStringOffset de la structure LINETRANSLATEOUTPUT de TAPI 2.

Configuration requise

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

Voir aussi

Objet Address

ITAddressTranslationInfo