1 /** 2 * This file has no copyright assigned and is placed in the Public Domain. 3 * This file is part of the w64 mingw-runtime package. 4 * No warranty is given; refer to the file DISCLAIMER.PD within this package. 5 */ 6 7 #include <stdarg.h> 8 #include <windef.h> 9 #include <winbase.h> 10 11 extern HINSTANCE __mingw_winmain_hInstance; 12 extern LPSTR __mingw_winmain_lpCmdLine; 13 extern DWORD __mingw_winmain_nShowCmd; 14 15 /*ARGSUSED*/ 16 int main (int __UNUSED_PARAM(flags), 17 char ** __UNUSED_PARAM(cmdline), 18 char ** __UNUSED_PARAM(inst)) 19 { 20 return (int) WinMain (__mingw_winmain_hInstance, NULL, 21 __mingw_winmain_lpCmdLine, __mingw_winmain_nShowCmd); 22 } 23