IDebugHostType::GetFunctionCallingConvention-Methode (dbgmodel.h)
Die GetFunctionCallingConvention-Methode gibt die aufrufende Konvention der Funktion zurück. Diese wird als Mitglied der CallingConventionKind-Aufzählung zurückgegeben.
Syntax
HRESULT GetFunctionCallingConvention(
CallingConventionKind *conventionKind
);
Parameter
conventionKind
Die aufrufende Konvention der Funktion wird hier als Mitglied der CallingConventionKind-Aufzählung zurückgegeben.
Rückgabewert
Diese Methode gibt HRESULT zurück, das Erfolg oder Fehler angibt.
Bemerkungen
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 |