Skip to content

Commit 637550a

Browse files
authored
Update stdcall.md
Clarify where to place the calling convention in trailing return type function declarations.
1 parent 501834a commit 637550a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/cpp/stdcall.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ The **`__stdcall`** calling convention is used to call Win32 API functions. The
1313
## Syntax
1414

1515
> *return-type* **`__stdcall`** *function-name*[**`(`** *argument-list* **`)`**]
16+
>
17+
> **`auto`** **`__stdcall`** *function-name*[**`(`** *argument-list* **`)`**] [ **`->`** *return-type* ]
1618
1719
## Remarks
1820

0 commit comments

Comments
 (0)