Table of Contents Previous topic Next topic
C/C++ COMPILER->Function Calling Conventions->StdCall Calling Convention
When the /Gz option is used, __stdcall is the default calling convention and all functions must be prototyped.
Functions declared with the __stdcall qualifier will also use the __stdcall calling convention, overriding any alternative default option.
Functions declared with an ellipsis (...) parameter will be called with the __cdecl calling convention.
The __stdcall calling convention is identical to the __cdecl calling convention except that arguments are popped from the stack by the called function before it returns. (Callee pops stack.)