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.
Contains values that describe the types of calling conventions that are made in managed code.
typedef enum CorCallingConvention
{
IMAGE_CEE_CS_CALLCONV_DEFAULT = 0x0,
IMAGE_CEE_CS_CALLCONV_VARARG = 0x5,
IMAGE_CEE_CS_CALLCONV_FIELD = 0x6,
IMAGE_CEE_CS_CALLCONV_LOCAL_SIG = 0x7,
IMAGE_CEE_CS_CALLCONV_PROPERTY = 0x8,
IMAGE_CEE_CS_CALLCONV_UNMGD = 0x9,
IMAGE_CEE_CS_CALLCONV_GENERICINST = 0xa,
IMAGE_CEE_CS_CALLCONV_NATIVEVARARG = 0xb,
IMAGE_CEE_CS_CALLCONV_MAX = 0xc,
IMAGE_CEE_CS_CALLCONV_MASK = 0x0f,
IMAGE_CEE_CS_CALLCONV_HASTHIS = 0x20,
IMAGE_CEE_CS_CALLCONV_EXPLICITTHIS = 0x40,
IMAGE_CEE_CS_CALLCONV_GENERIC = 0x10
} CorCallingConvention;
Members
Member |
Description |
---|---|
IMAGE_CEE_CS_CALLCONV_DEFAULT |
Indicates a default calling convention. |
IMAGE_CEE_CS_CALLCONV_VARARG |
Indicates that the method takes a variable number of parameters. |
IMAGE_CEE_CS_CALLCONV_FIELD |
Indicates that the call is to a field. |
IMAGE_CEE_CS_CALLCONV_LOCAL_SIG |
Indicates that the call is to a local method. |
IMAGE_CEE_CS_CALLCONV_PROPERTY |
Indicates that the call is to a property. |
IMAGE_CEE_CS_CALLCONV_UNMGD |
Indicates that the call is unmanaged. |
IMAGE_CEE_CS_CALLCONV_GENERICINST |
Indicates a generic method instantiation. |
IMAGE_CEE_CS_CALLCONV_NATIVEVARARG |
Indicates a 64-bit PInvoke call to a method that takes a variable number of parameters. |
IMAGE_CEE_CS_CALLCONV_MAX |
Describes an invalid 4-bit value. |
IMAGE_CEE_CS_CALLCONV_MASK |
Indicates that the calling convention is described by the bottom four bits. |
IMAGE_CEE_CS_CALLCONV_HASTHIS |
Indicates that the top bit describes a this parameter. |
IMAGE_CEE_CS_CALLCONV_EXPLICITTHIS |
Indicates that a this parameter is explicitly described in the signature. |
IMAGE_CEE_CS_CALLCONV_GENERIC |
Indicates a generic method signature with an explicit number of type arguments. This precedes an ordinary parameter count. |
Requirements
Platforms: Windows 2000, Windows XP, Windows Server 2003 family
Header: CorHdr.h
.NET Framework Version: 2.0, 1.1, 1.0