SignatureCallingConvention Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies how arguments in a given signature are passed from the caller to the callee. The underlying values of the fields in this type correspond to the representation in the leading signature byte represented by a SignatureHeader structure.
public enum class SignatureCallingConvention
public enum SignatureCallingConvention
type SignatureCallingConvention =
Public Enum SignatureCallingConvention
- Inheritance
Fields
Name | Value | Description |
---|---|---|
Default | 0 | A managed calling convention with a fixed-length argument list. |
CDecl | 1 | An unmanaged C/C++ style calling convention where the call stack is cleaned by the caller. |
StdCall | 2 | An unmanaged calling convention where the call stack is cleaned up by the callee. |
ThisCall | 3 | An unmanaged C++ style calling convention for calling instance member functions with a fixed argument list. |
FastCall | 4 | An unmanaged calling convention where arguments are passed in registers when possible. |
VarArgs | 5 | A managed calling convention for passing extra arguments. |
Unmanaged | 9 | Indicates that the specifics of the unmanaged calling convention are encoded as modopts. |