Compartilhar via


Método IDebugHostType::GetFunctionReturnType (dbgmodel.h)

O método GetFunctionReturnType retorna o tipo de retorno da função.

Sintaxe

HRESULT GetFunctionReturnType(
  IDebugHostType **returnType
);

Parâmetros

returnType

Um símbolo de tipo que indica o tipo de retorno da função é retornado aqui.

Retornar valor

Esse método retorna HRESULT que indica êxito ou falha.

Comentários

Código de exemplo

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.
}

Requisitos

Requisito Valor
Cabeçalho dbgmodel.h

Confira também

Interface IDebugHostType