CorUnmanagedCallingConvention Enumeration

Specifies the calling conventions for unmanaged code.

Syntax

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 .NET Framework version 1.0.

Requirements

Platforms: See System Requirements.

Header: CorHdr.h

.NET Framework Versions: Available since 1.0

See also