I wanted to start learning the windows api, so I looked at some tutorials, and instantly I noticed that the main function appeared to return multiple values.
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PWSTR pCmdLine, int nCmdShow);
What does all of this mean? Shouldn't it be int WinMain
or WINAPI WinMain
but not both?