Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |