ReactOS 0.4.16-dev-106-g10b08aa
main.c File Reference
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
Include dependency graph for main.c:

Go to the source code of this file.

Typedefs

typedef int WINAPI DOWINMAIN(HMODULE hMod, LPSTR cmdline)
 

Functions

int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdline, int cmdshow)
 

Typedef Documentation

◆ DOWINMAIN

typedef int WINAPI DOWINMAIN(HMODULE hMod, LPSTR cmdline)

Definition at line 5 of file main.c.

Function Documentation

◆ WinMain()

int WINAPI WinMain ( HINSTANCE  hInst,
HINSTANCE  hPrevInst,
LPSTR  cmdline,
int  cmdshow 
)

Definition at line 8 of file main.c.

12{
15 int ret = -1;
16
17 hModule = LoadLibraryA("hhctrl.ocx");
18 if (hModule)
19 {
20 doWinMain = (DOWINMAIN*)GetProcAddress(hModule, "doWinMain");
21 if (doWinMain)
23
25 }
26
27 return ret;
28}
int WINAPI DOWINMAIN(HMODULE hMod, LPSTR cmdline)
Definition: main.c:5
HMODULE hModule
Definition: animate.c:44
#define GetProcAddress(x, y)
Definition: compat.h:753
#define FreeLibrary(x)
Definition: compat.h:748
HINSTANCE WINAPI DECLSPEC_HOTPATCH LoadLibraryA(LPCSTR lpLibFileName)
Definition: loader.c:111
HINSTANCE hInst
Definition: dxdiag.c:13
int WINAPI doWinMain(HINSTANCE hInstance, LPSTR szCmdLine)
Definition: hhctrl.c:500
TCHAR * cmdline
Definition: stretchblt.cpp:32
int ret

Referenced by main().