I am new here. I am starting the handmade hero video tutorial from zero.
The video 001 was made in November 2014 and it's November 2019 as of now. 5 years have passed since then, and apparently microsoft has closed msdn since then.
When I search for winmain on google, I come up to https://docs.microsoft.com/en-us/...32/api/winbase/nf-winbase-winmain
The page describes WinMain function only, but the declaration is a bit different.
The page says this: (Also compiling this gives some error)
1 2 3 4 5 6
int __clrcall WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd );
while on the stream when casey is opening msdn for winmain he gets this:
1 2 3 4 5 6
int CALLBACK winMain( _In_ HINSTANCE hInstance, _In_ HINSTANCE hPrevInstance, _In_ LPSTR lpCmdLine, _In_ int nCmdShow );
Notice the difference between
int __clrcall WinMain
int CALLBACK winMain
I tried searching on the msdn website (https://msdn.microsoft.com/en-us/) but all the search results just point to https://docs.microsoft.com/
I found this answer on forum https://hero.handmade.network/for...umentation_for_offline_view#12280
I installed zeal and added docset for msdn. However when I search for winmain in Zeal, there are no search results.
So now my question is how do I get the msdn documentation or is there a reference / guide for changes in the api since then?
My dilemma is how to get started when I can't even find the documentation for the main function itself.