IDebugHostType::GetFunctionCallingConvention method (dbgmodel.h)
The GetFunctionCallingConvention method returns the calling convention of the function. Such is returned as a member of the CallingConventionKind enumeration.
Syntax
HRESULT GetFunctionCallingConvention(
CallingConventionKind *conventionKind
);
Parameters
conventionKind
The calling convention of the function is returned here as a member of the CallingConventionKind enumeration.
Return value
This method returns HRESULT that indicates success or failure.
Remarks
Sample Code
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...)
}
Requirements
Requirement | Value |
---|---|
Header | dbgmodel.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for