UID | title | description | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.lib | req.dll | req.irql | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | targetos | tech.root | ms.custom | f1_keywords | topic_type | api_type | api_location | api_name | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:dbgmodel.IDebugHostType2.GetFunctionCallingConvention |
IDebugHostType2::GetFunctionCallingConvention (dbgmodel.h) |
The GetFunctionCallingConvention method returns the calling convention of the function. |
09/20/2018 |
|
IDebugHostType2::GetFunctionCallingConvention, GetFunctionCallingConvention, IDebugHostType2.GetFunctionCallingConvention, IDebugHostType2::GetFunctionCallingConvention, IDebugHostType2.GetFunctionCallingConvention |
dbgmodel.h |
Windows |
debugger |
RS5 |
|
|
|
|
|
The GetFunctionCallingConvention method returns the calling convention of the function. Such is returned as a member of the CallingConventionKind enumeration.
The calling convention of the function is returned here as a member of the CallingConventionKind enumeration.
This method returns HRESULT that indicates success or failure.
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...)
}