Why can WinMain
have two return types?
If I remove it,will report this warning:
warning C4007: 'WinMain' : must be '__stdcall'
Or I'm reading int WINAPI
wrongly?
UPDATE
I tried these two variants which are said to be the same as WINAPI
,none work:
int __declspec WinMain
int __declspec(stdcall) WinMain