IDebugHostType::GetFunctionReturnType メソッド (dbgmodel.h)

GetFunctionReturnType メソッドは、関数の戻り値の型を返します。

構文

HRESULT GetFunctionReturnType(
  IDebugHostType **returnType
);

パラメーター

returnType

関数の戻り値の型を示す型シンボルがここで返されます。

戻り値

このメソッドは、成功または失敗を示す HRESULT を返します。

注釈

サンプル コード

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

要件

要件
Header dbgmodel.h

こちらもご覧ください

IDebugHostType インターフェイス