Results of Calling Example

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Results of Calling Example.

Microsoft Specific

The C decorated function name is "_MyFunc."

CDECL calling convention
The __cdecl calling convention

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

__stdcall and thiscall calling conventions
The __stdcall and thiscall calling conventions

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

Calling convention for __fastcall
The __fastcall calling convention

END Microsoft Specific

Calling Example: Function Prototype and Call

Show: