CorUnmanagedCallingConvention Enumeration

Specifies the calling conventions for unmanaged code.

typedef enum CorUnmanagedCallingConvention {

    IMAGE_CEE_UNMANAGED_CALLCONV_C         = 0x1,
    IMAGE_CEE_UNMANAGED_CALLCONV_STDCALL   = 0x2,
    IMAGE_CEE_UNMANAGED_CALLCONV_THISCALL  = 0x3,
    IMAGE_CEE_UNMANAGED_CALLCONV_FASTCALL  = 0x4,

    IMAGE_CEE_CS_CALLCONV_C                = 0x1,
    IMAGE_CEE_CS_CALLCONV_STDCALL          = 0x2,
    IMAGE_CEE_CS_CALLCONV_THISCALL         = 0x3,
    IMAGE_CEE_CS_CALLCONV_FASTCALL         = 0x4

} CorUnmanagedCallingConvention;

Members

Member

Description

IMAGE_CEE_UNMANAGED_CALLCONV_C

The C language calling convention.

IMAGE_CEE_UNMANAGED_CALLCONV_STDCALL

The standard calling convention.

IMAGE_CEE_UNMANAGED_CALLCONV_THISCALL

The "this" calling convention.

IMAGE_CEE_UNMANAGED_CALLCONV_FASTCALL

The "fast" calling convention.

IMAGE_CEE_CS_CALLCONV_C

Not used.

IMAGE_CEE_CS_CALLCONV_STDCALL

Not used.

IMAGE_CEE_CS_CALLCONV_THISCALL

Not used.

IMAGE_CEE_CS_CALLCONV_FASTCALL

Not used.

Remarks

The CLR does not support the "fast" calling convention in the .NET Framework version 1.0.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorHdr.h

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Other Resources

Metadata Enumerations