Skip to content

Latest commit

 

History

History
75 lines (59 loc) · 2 KB

nf-dbgmodel-idebughosttype2-getfunctioncallingconvention.md

File metadata and controls

75 lines (59 loc) · 2 KB
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
IDebugHostType2::GetFunctionCallingConvention, GetFunctionCallingConvention, IDebugHostType2.GetFunctionCallingConvention, IDebugHostType2::GetFunctionCallingConvention, IDebugHostType2.GetFunctionCallingConvention
dbgmodel.h
Windows
debugger
RS5
IDebugHostType2::GetFunctionCallingConvention
dbgmodel/IDebugHostType2::GetFunctionCallingConvention
apiref
COM
dbgmodel.h
IDebugHostType2::GetFunctionCallingConvention

IDebugHostType2::GetFunctionCallingConvention

-description

The GetFunctionCallingConvention method returns the calling convention of the function. Such is returned as a member of the CallingConventionKind enumeration.

-parameters

-param conventionKind

The calling convention of the function is returned here as a member of the CallingConventionKind enumeration.

-returns

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

-see-also

IDebugHostType2 interface