functons with return types and something else

whats this thing where functions have a return type and then something else?
like here with int and WINAPI ?

int WINAPI WinMain()
tyvm
closed account (E0p9LyTq)
MSDN has the WinMain entry point defined as:

int CALLBACK WinMain()

I have seen Windows code that uses int APIENTRY WinMain()

If you look at MSDN's "Windows Data Types" table the three different calling types (WINAPI, CALLBACK and APIENTRY) are #define d to resolve to __stdcall.

https://msdn.microsoft.com/en-us/library/windows/desktop/aa383751%28v=vs.85%29.aspx
Topic archived. No new replies allowed.