mirror of
https://github.com/reactos/reactos.git
synced 2025-05-24 19:56:38 +00:00
33 lines
512 B
C
33 lines
512 B
C
#include <windows.h>
|
|
|
|
extern int main(int args, char* argv[], char* environ[]);
|
|
|
|
static unsigned int _argc = 0;
|
|
static char** _argv = NULL;
|
|
static char** _environ = NULL;
|
|
|
|
int mainCRTStartup(PWSTR args)
|
|
{
|
|
int nRet;
|
|
|
|
// SetUnhandledExceptionFilter(NULL);
|
|
|
|
// _fpreset();
|
|
|
|
// __GetMainArgs(&_argc, &_argv, &_environ, 0);
|
|
|
|
nRet = main(_argc, _argv, _environ);
|
|
|
|
// _cexit();
|
|
|
|
ExitProcess(nRet);
|
|
}
|
|
|
|
int WinMainCRTStartup()
|
|
{
|
|
return mainCRTStartup(NULL);
|
|
}
|
|
|
|
void __main(void)
|
|
{
|
|
}
|