I've started to learn Win32 API in C. I saw that the main function is something like
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow) { .. }
but I know that a function in C is like
[ReturnType] [FunctionName] (Args) { .. }
In this case the return type is int and the function name is WinMain. So what does the WINAPI stand for and is it necessary?
Thank you . :)