IDebugHostType::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...)
}

要件

要件
Header dbgmodel.h

こちらもご覧ください

IDebugHostType インターフェイス