ReactOS
0.4.15-dev-7131-ge4d03f4
crt0_w.c
Go to the documentation of this file.
1
6
#include <stdarg.h>
7
#include <
windef.h
>
8
9
/* Do the UNICODE prototyping of WinMain. Be aware that in winbase.h WinMain is a macro
10
defined to wWinMain. */
11
int
WINAPI
wWinMain
(
HINSTANCE
hInstance
,
HINSTANCE
hPrevInstance,
LPWSTR
lpCmdLine,
int
nShowCmd);
12
13
extern
HINSTANCE
__mingw_winmain_hInstance
;
14
extern
LPWSTR
__mingw_winmain_lpCmdLine
;
15
extern
DWORD
__mingw_winmain_nShowCmd
;
16
17
int
__cdecl
wmain
(
int
,
wchar_t
**,
wchar_t
**);
18
19
/*ARGSUSED*/
20
int
__cdecl
wmain
(
int
__UNUSED_PARAM
(
flags
),
21
wchar_t
**
__UNUSED_PARAM
(
cmdline
),
22
wchar_t
**
__UNUSED_PARAM
(inst))
23
{
24
return
(
int
)
wWinMain
(
__mingw_winmain_hInstance
,
NULL
,
25
__mingw_winmain_lpCmdLine
,
__mingw_winmain_nShowCmd
);
26
}
__UNUSED_PARAM
#define __UNUSED_PARAM(x)
Definition:
_mingw.h:74
__cdecl
#define __cdecl
Definition:
accygwin.h:79
hInstance
HINSTANCE hInstance
Definition:
charmap.c:19
wWinMain
int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nShowCmd)
Definition:
charmap.c:671
__mingw_winmain_lpCmdLine
LPWSTR __mingw_winmain_lpCmdLine
__mingw_winmain_hInstance
HINSTANCE __mingw_winmain_hInstance
__mingw_winmain_nShowCmd
DWORD __mingw_winmain_nShowCmd
NULL
#define NULL
Definition:
types.h:112
DWORD
unsigned long DWORD
Definition:
ntddk_ex.h:95
flags
GLbitfield flags
Definition:
glext.h:7161
void
Definition:
nsiface.idl:2307
wmain
int wmain()
Definition:
rdesktop-core-tester.cpp:552
cmdline
TCHAR * cmdline
Definition:
stretchblt.cpp:32
windef.h
WINAPI
#define WINAPI
Definition:
msvc.h:6
LPWSTR
WCHAR * LPWSTR
Definition:
xmlstorage.h:184
sdk
lib
crt
startup
crt0_w.c
Generated on Wed Dec 6 2023 06:17:55 for ReactOS by
1.9.6