The form of decoration for a C function depends on the calling convention used in its declaration, as shown below.
Calling convention | Decoration |
---|---|
__cdecl (the default) | Leading underscore (_) |
__stdcall | Leading underscore (_) and a trailing at sign (@) followed by a number representing the number of bytes in the parameter list |
__fastcall | Same as __stdcall, but prepended by an at sign instead of an underscore |