Partager via


Méthode IDebugHostType2 ::GetFunctionReturnType (dbgmodel.h)

La méthode GetFunctionReturnType retourne le type de retour de la fonction.

Syntaxe

HRESULT GetFunctionReturnType(
  IDebugHostType **returnType
);

Paramètres

returnType

Un symbole de type indiquant le type de retour de la fonction est retourné ici.

Valeur retournée

Cette méthode retourne HRESULT qui indique la réussite ou l’échec.

Remarques

Exemple de Code

ComPtr<IDebugHostType> spType; /* get a type for a function (see FindTypeByName) */

ComPtr<IDebugHostType> spReturnType;
if (SUCCEEDED(spType->GetFunctionReturnType(&spReturnType)))
{
    // spReturnType is the type symbol for the return type of the function.
}

Configuration requise

Condition requise Valeur
En-tête dbgmodel.h

Voir aussi

Interface IDebugHostType2