次の方法で共有


IDebugHostType3::GetFunctionCallingConvention メソッド (dbgmodel.h)

GetFunctionCallingConvention メソッドは、関数の呼び出し規則を返します。 このような値は、CallingConventionKind 列挙のメンバーとして返されます。

構文

HRESULT GetFunctionCallingConvention(
  CallingConventionKind *conventionKind
);

パラメーター

conventionKind

この関数の呼び出し規則は、CallingConventionKind 列挙のメンバーとして返されます。

戻り値

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

備考

サンプル コード

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

CallingConventionKind conv;
if (SUCCEEDED(spType->GetCallingConvention(&conv)))
{
    // conv indicates the calling convention (e.g.: cdecl, thiscall, etc...)
}

必要条件

要件 価値
ヘッダー dbgmodel.h

関連項目

IDebugHostType3 インターフェイス