_stdcall ?
I've found it before WinMain and WindowProc functions. What does it do?
This is what is known as a (language) calling convention.
The calling convention determines such things as:
1. In what order parmeters are placed on the stack to be passed to the function.
2. Which function (the caller or the callee) cleans up (clears the the stack if you will) after the function has finished.
3. How function names are decorated by the compiler when a function is compiled.
The
_stdcall calling convention is much used (and possibly only used) in the Windows OS.
Here is some more information:
http://msdn.microsoft.com/en-us/library/zxk0tw93(VS.80).aspx
Last edited on
Topic archived. No new replies allowed.