Why is the Win32 boilerplate the way it is?

Jason King via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jun 30 00:14:03 PDT 2014


On Monday, 30 June 2014 at 05:30:23 UTC, Jeremy Sorensen wrote:
> Assuming the nCmdShow thing isn't a problem I see no reason why 
> the wiki should tell people to use WinMain at all.
If MSDN is to be believed
VOID WINAPI GetStartupInfo(
   _Out_  LPSTARTUPINFO lpStartupInfo
);
will get you nCmdShow and lots of other goodies.


More information about the Digitalmars-d-learn mailing list