What does a “CALLBACK” declaration in C do?

The “CALLBACK” is a calling convention. There are other kinds of calling conventions. CALLBACK is the same as __stdcall.

http://www.codeguru.com/cpp/cpp/cpp_mfc/callbacks/article.php/c10557

Some more information at Raymond Chen’s blog:

https://devblogs.microsoft.com/oldnewthing/20040108-00/?p=41163

Leave a Comment