IDebugHostType::GetFunctionCallingConvention-Methode (dbgmodel.h)

Die GetFunctionCallingConvention-Methode gibt die aufrufende Konvention der Funktion zurück. Diese wird als Member der CallingConventionKind-Enumeration zurückgegeben.

Syntax

HRESULT GetFunctionCallingConvention(
  CallingConventionKind *conventionKind
);

Parameter

conventionKind

Die Aufrufkonvention der Funktion wird hier als Member der CallingConventionKind-Enumeration zurückgegeben.

Rückgabewert

Diese Methode gibt HRESULT zurück, das auf Erfolg oder Fehler hinweist.

Hinweise

Beispielcode

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

Anforderungen

Anforderung Wert
Header dbgmodel.h

Weitere Informationen

IDebugHostType-Schnittstelle