NETLink`
NETLink`
CallingConvention
is an option to DefineDLLFunction that specifies what calling convention the DLL function uses.
更多信息和选项
- To use CallingConvention, you first need to load .NET/Link using Needs["NETLink`"].
- The default value is Automatic, which means use the platform default ("StdCall" on all platforms except Windows CE, which is not supported by .NET/Link). Most DLL functions use the "StdCall" convention.
- The possible values are "StdCall", "CDecl", "ThisCall", "WinApi", and Automatic.
- For more information on these values, see the .NET Framework documentation for the System.Runtime.InteropServices.CallingConvention enumeration.