System.Rtti.TRttiMethod.CallingConvention

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property CallingConvention: TCallConv read GetCallingConvention;

C++

__property System::Typinfo::TCallConv CallingConvention = {read=GetCallingConvention, nodefault};

Properties

Type Visibility Source Unit Parent
property public
System.Rtti.pas
System.Rtti.hpp
System.Rtti TRttiMethod

Description

Specifies the method's calling convention.

Use CallingConvention to obtain the calling convention used when calling the method. The possible values returned by the CallingConvention property are listed in the following table.



Value Meaning

ccReg

The method uses the register calling convention.

ccCdecl

The method uses the cdecl calling convention.

ccPascal

The method uses the pascal calling convention.

ccStdCall

The method uses the stdcall calling convention.

ccSafeCall

The method uses the safecall calling convention.



See Also