RAD Studio
ContentsIndex
PreviousUpNext
_stdcall, __stdcall

Category 

Modifiers, Keyword extensions 

Syntax  

__stdcall <function-name>
_stdcall <function-name>

Description 

The _stdcall and __stdcall keywords force the compiler to generate function calls using the Standard calling convention. Functions must pass the correct number and type of arguments; this is unlike normal C use, which permits a variable number of function arguments. 

Such functions comply with the standard WIN32 argument-passing convention.

Note: Note: The __stdcall modifier is subject to name mangling. See the description of the -VC option.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!