Condividi tramite


callingConventionOption Enum

Definition

Used to select the default calling convention.

public enum class callingConventionOption
public enum class callingConventionOption
enum callingConventionOption
public enum callingConventionOption
type callingConventionOption = 
Public Enum callingConventionOption
Inheritance
callingConventionOption

Fields

Name Value Description
callConventionCDecl 0

Default setting. __cdecl(/Gd) specifies the C calling convention for all functions except C++ member functions and functions marked __fastcall or __stdcall

callConventionFastCall 1

__fastcall(/Gr) specifies the calling convention for all functions except for functions that take a variable number of arguments and functions marked __cdecl or __stdcall

callConventionStdCall 2

__stdcall(/Gz) specifies the calling convention for all prototyped C functions except for functions that take a variable number of arguments and functions marked __cdecl or __fastcall

Remarks

See /Gd, /Gr, /Gv, /Gz (Calling Convention) for more information. Used by the CallingConvention property.

Applies to