Results of Calling Example

__cdecl

The C decorated function name is "_MyFunc."

The __cdecl calling convention

CDECL calling convention

__stdcall and thiscall

The C decorated name (__stdcall) is "_MyFunc@20." The C++ decorated name is proprietary.

The __stdcall and thiscall calling conventions

__stdcall and thiscall calling conventions

__fastcall

The C decorated name (__fastcall) is "@MyFunc@20." The C++ decorated name is proprietary.

The __fastcall calling convention

Calling convention for __fastcall

See Also

Reference

Calling Example: Function Prototype and Call