Type Summary
public enum CallingConvention
{
CF Cdecl = 2,
CF FastCall = 5,
CF StdCall = 3,
CF ThisCall = 4,
MS Winapi = 1,
}
|
AN
Note that the FastCall calling convention is not supported by the .NET Framework. At the time this enum was created, we thought it would be supported. But the demand for it was never high enough to actually get it in the product. Per design guidelines for enums, this value should have been removed.
AN
Starting with version 2.0 of the .NET Framework, you will be able to mark delegates with a CallingConvention (using UnmanagedFunctionPointer-Attribute) so you are not limited to representing StdCall function pointers. There will still be no FastCall support, though. |
|