This documentation is archived and is not being maintained.

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.


[Visual Basic]
Public Class CallConvThiscall
public class CallConvThiscall
public __gc class CallConvThiscall
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.


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.


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