|
2 | 2 | title: "CV_call_e | Microsoft Docs"
|
3 | 3 | ms.date: "11/04/2016"
|
4 | 4 | ms.topic: "conceptual"
|
5 |
| -dev_langs: |
| 5 | +dev_langs: |
6 | 6 | - "C++"
|
7 |
| -helpviewer_keywords: |
| 7 | +helpviewer_keywords: |
8 | 8 | - "CV_call_e enumeration"
|
9 | 9 | ms.assetid: f230560b-4243-432d-8f19-46df112043b9
|
10 | 10 | author: "mikejo5000"
|
11 | 11 | ms.author: "mikejo"
|
12 | 12 | manager: jillfra
|
13 |
| -ms.workload: |
| 13 | +ms.workload: |
14 | 14 | - "multiple"
|
15 | 15 | ---
|
16 | 16 | # CV_call_e
|
17 |
| -Specifies the calling convention for a function. |
18 |
| - |
| 17 | +Specifies the calling convention for a function. |
| 18 | + |
19 | 19 | > [!NOTE]
|
20 |
| -> Only the most common enumeration values are documented here. The complete enumeration is available in the cvconst.h header file. |
21 |
| - |
22 |
| -## Syntax |
23 |
| - |
24 |
| -```C++ |
25 |
| -typedef enum CV_call_e { |
26 |
| - CV_CALL_NEAR_C = 0x00, |
27 |
| - CV_CALL_NEAR_FAST = 0x04, |
28 |
| - CV_CALL_NEAR_STD = 0x07, |
29 |
| - CV_CALL_NEAR_SYS = 0x09, |
30 |
| - CV_CALL_THISCALL = 0x0b, |
31 |
| - CV_CALL_CLRCALL = 0x16 |
32 |
| -} CV_call_e; |
33 |
| -``` |
34 |
| - |
35 |
| -## Elements |
36 |
| - CV_CALL_NEAR_C |
37 |
| - Specifies a function-calling convention using a near right-to-left push. The calling function clears the stack. |
38 |
| - |
39 |
| - CV_CALL_NEAR_FAST |
40 |
| - Specifies a function-calling convention using a near left-to-right push with registers. The called function uses the sum of parameter bytes to clear the stack. |
41 |
| - |
42 |
| - CV_CALL_NEAR_STD |
43 |
| - Specifies a function-calling convention using a near standard call (right-to-left push). |
44 |
| - |
45 |
| - CV_CALL_NEAR_SYS |
46 |
| - Specifies a function-calling convention using a near system call. |
47 |
| - |
48 |
| - CV_CALL_THISCALL |
49 |
| - Specifies a function-calling convention using `this` call (`this` pointer passed in register). |
50 |
| - |
51 |
| - CV_CALL_CLRCALL |
52 |
| - Specifies a function-calling convention used by the Common Language Runtime (CLR) (also known as a managed code calling convention). |
53 |
| - |
54 |
| -## Remarks |
55 |
| - The values in this enumeration are returned by a call to the [IDiaSymbol::get_callingConvention](../../debugger/debug-interface-access/idiasymbol-get-callingconvention.md) method. |
56 |
| - |
57 |
| -## Requirements |
58 |
| - Header: cvconst.h |
59 |
| - |
60 |
| -## See Also |
61 |
| - [Enumerations and Structures](../../debugger/debug-interface-access/enumerations-and-structures.md) |
62 |
| - [IDiaSymbol::get_callingConvention](../../debugger/debug-interface-access/idiasymbol-get-callingconvention.md) |
| 20 | +> Only the most common enumeration values are documented here. The complete enumeration is available in the cvconst.h header file. |
| 21 | +
|
| 22 | +## Syntax |
| 23 | + |
| 24 | +```C++ |
| 25 | +typedef enum CV_call_e { |
| 26 | + CV_CALL_NEAR_C = 0x00, |
| 27 | + CV_CALL_NEAR_FAST = 0x04, |
| 28 | + CV_CALL_NEAR_STD = 0x07, |
| 29 | + CV_CALL_NEAR_SYS = 0x09, |
| 30 | + CV_CALL_THISCALL = 0x0b, |
| 31 | + CV_CALL_CLRCALL = 0x16 |
| 32 | +} CV_call_e; |
| 33 | +``` |
| 34 | + |
| 35 | +## Elements |
| 36 | +CV_CALL_NEAR_C |
| 37 | +Specifies a function-calling convention using a near right-to-left push. The calling function clears the stack. |
| 38 | + |
| 39 | +CV_CALL_NEAR_FAST |
| 40 | +Specifies a function-calling convention using a near left-to-right push with registers. The called function uses the sum of parameter bytes to clear the stack. |
| 41 | + |
| 42 | +CV_CALL_NEAR_STD |
| 43 | +Specifies a function-calling convention using a near standard call (right-to-left push). |
| 44 | + |
| 45 | +CV_CALL_NEAR_SYS |
| 46 | +Specifies a function-calling convention using a near system call. |
| 47 | + |
| 48 | +CV_CALL_THISCALL |
| 49 | +Specifies a function-calling convention using `this` call (`this` pointer passed in register). |
| 50 | + |
| 51 | +CV_CALL_CLRCALL |
| 52 | +Specifies a function-calling convention used by the Common Language Runtime (CLR) (also known as a managed code calling convention). |
| 53 | + |
| 54 | +## Remarks |
| 55 | +The values in this enumeration are returned by a call to the [IDiaSymbol::get_callingConvention](../../debugger/debug-interface-access/idiasymbol-get-callingconvention.md) method. |
| 56 | + |
| 57 | +## Requirements |
| 58 | +Header: cvconst.h |
| 59 | + |
| 60 | +## See Also |
| 61 | +[Enumerations and Structures](../../debugger/debug-interface-access/enumerations-and-structures.md) |
| 62 | +[IDiaSymbol::get_callingConvention](../../debugger/debug-interface-access/idiasymbol-get-callingconvention.md) |
0 commit comments