Skip to content

Latest commit

 

History

History
64 lines (56 loc) · 1.6 KB

File metadata and controls

64 lines (56 loc) · 1.6 KB
title Results of Calling Example | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-language
ms.tgt_pltfrm
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
caps.latest.revision 7
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
ru-ru
zh-cn
zh-tw
translation.priority.mt
cs-cz
pl-pl
pt-br
tr-tr

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 proprietary.

__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 proprietary.

Calling convention for __fastcall
The __fastcall calling convention

END Microsoft Specific

See Also

Calling Example: Function Prototype and Call