mirror of
https://github.com/reactos/reactos.git
synced 2024-10-20 08:01:05 +00:00
b819608ed8
svn path=/branches/condrv_restructure/; revision=63104
26 lines
492 B
C
26 lines
492 B
C
#include <stdarg.h>
|
|
#include <windef.h>
|
|
#include <winbase.h>
|
|
|
|
typedef int WINAPI DOWINMAIN(HMODULE hMod, LPSTR cmdline);
|
|
|
|
int WINAPI
|
|
WinMain(HINSTANCE hInst,
|
|
HINSTANCE hPrevInst,
|
|
LPSTR cmdline,
|
|
int cmdshow)
|
|
{
|
|
HMODULE hModule;
|
|
DOWINMAIN *doWinMain;
|
|
int ret = -1;
|
|
|
|
hModule = LoadLibraryA("hhctrl.ocx");
|
|
doWinMain = (DOWINMAIN*) GetProcAddress(hModule, "doWinMain");
|
|
|
|
ret = doWinMain(hInst, cmdline);
|
|
|
|
FreeLibrary(hModule);
|
|
|
|
return ret;
|
|
}
|