About the signature: int WINAPI WinMain (HINSTANCE p1, HINSTANCE p2, LPSTR p3, int p4)

Posted by user198729 on Stack Overflow See other posts from Stack Overflow or by user198729
Published on 2010-05-02T11:26:41Z Indexed on 2010/05/02 11:37 UTC
Read the original article Hit count: 257

Filed under:
|

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?

© Stack Overflow or respective owner

Related posts about c

    Related posts about winapi