Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.3 KB

results-of-calling-example.md

File metadata and controls

42 lines (30 loc) · 1.3 KB
title Results of Calling Example | Microsoft Docs
ms.custom
ms.date 09/05/2018
ms.technology
cpp-language
ms.topic language-reference
dev_langs
C++
helpviewer_keywords
examples [C++], results of calling
results, thiscall call
results, __fastcall keyword call
results, __cdecl call
results, __stdcall call
ms.assetid aa70a7cb-ba1d-4aa6-bd0a-ba783da2e642
author mikeblome
ms.author mblome
ms.workload
cplusplus

Results of Calling Example

Microsoft Specific

__cdecl

The C decorated function name is _MyFunc.

CDECL calling convention
The __cdecl calling convention

__stdcall and thiscall

The C decorated name (__stdcall) is _MyFunc@20. The C++ decorated name is implementation-specific.

__stdcall and thiscall calling conventions
The __stdcall and thiscall calling conventions

__fastcall

The C decorated name (__fastcall) is @MyFunc@20. The C++ decorated name is implementation-specific.

Calling convention for __fastcall
The __fastcall calling convention

END Microsoft Specific

See also

Calling Example: Function Prototype and Call