reactos/base/applications/hh/main.c
Timo Kreuzer 6afbc8f483 Hopefully create a branch and not destroy the svn repository.
svn path=/branches/reactos-yarotows/; revision=45219
2010-01-23 23:25:04 +00:00

24 lines
452 B
C

#include <windows.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;
}