2009-03-14 00:50:23 +00:00
|
|
|
/**
|
|
|
|
* This file has no copyright assigned and is placed in the Public Domain.
|
|
|
|
* This file is part of the w64 mingw-runtime package.
|
2010-03-28 23:27:01 +00:00
|
|
|
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
2009-03-14 00:50:23 +00:00
|
|
|
*/
|
2008-12-13 21:28:05 +00:00
|
|
|
#include <windows.h>
|
|
|
|
|
2009-11-04 21:22:53 +00:00
|
|
|
/* Do the UNICODE prototyping of WinMain. Be aware that in winbase.h WinMain is a macro
|
|
|
|
defined to wWinMain. */
|
2008-12-13 21:28:05 +00:00
|
|
|
int WINAPI wWinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPWSTR lpCmdLine,int nShowCmd);
|
|
|
|
|
2009-11-04 21:22:53 +00:00
|
|
|
extern HINSTANCE __mingw_winmain_hInstance;
|
|
|
|
extern LPWSTR __mingw_winmain_lpCmdLine;
|
|
|
|
extern DWORD __mingw_winmain_nShowCmd;
|
|
|
|
|
|
|
|
int wmain (int, wchar_t **, wchar_t **);
|
|
|
|
|
|
|
|
/*ARGSUSED*/
|
2010-07-19 09:58:51 +00:00
|
|
|
int wmain (int __UNUSED_PARAM(flags),
|
|
|
|
wchar_t ** __UNUSED_PARAM(cmdline),
|
|
|
|
wchar_t ** __UNUSED_PARAM(inst))
|
2008-12-13 21:28:05 +00:00
|
|
|
{
|
2009-11-04 21:22:53 +00:00
|
|
|
return (int) wWinMain (__mingw_winmain_hInstance, NULL,
|
|
|
|
__mingw_winmain_lpCmdLine, __mingw_winmain_nShowCmd);
|
2008-12-13 21:28:05 +00:00
|
|
|
}
|