Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 1.38 KB

File metadata and controls

42 lines (34 loc) · 1.38 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

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