Condividi tramite


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: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorHdr.h

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

Metadata Enumerations