Does anyone know what happened to the MSDN documentation?
This really doesn't explain anything about the issue I have.
If I search for WinMain, today MSDN (or rather Windows Dev Center) shows:
1 2 3 4 5 6 | int __clrcall WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd ); |
In the past it was:
1 2 3 4 5 6 | int CALLBACK WinMain( _In_ HINSTANCE hInstance, _In_ HINSTANCE hPrevInstance, _In_ LPSTR lpCmdLine, _In_ int nCmdShow ); |
This is prevalent in the whole documentation.
Compiling with __clrcall gave me an error (I can't remember which, and it doesn't matter) so I changed it to CALLBACK. But I shouldn't have to remember this. The documentation should just be correct.
It was also nice that you could see the direction of the parameters.
What am I missing?