Export (0) Print
Expand All

CallConvThiscall Class

Indicates that the ThisCall calling convention should be used for a method.

For a list of all members of this type, see CallConvThiscall Members.

System.Object
   System.Runtime.CompilerServices.CallConvThiscall

[Visual Basic]
Public Class CallConvThiscall
[C#]
public class CallConvThiscall
[C++]
public __gc class CallConvThiscall
[JScript]
public class CallConvThiscall

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

The first parameter is the this pointer and is stored in register ECX. Other parameters are pushed on the stack. This calling convention is used to call methods on classes exported from an unmanaged DLL.

This class is only used as a custom modifier of the metadata signature of a method.

The classes in System.Runtime.CompilerServices are for compiler writers use only.

Requirements

Namespace: System.Runtime.CompilerServices

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

CallConvThiscall Members | System.Runtime.CompilerServices Namespace

Show:
© 2014 Microsoft