reactos/base/applications/hh/main.c
Amine Khaldi 527f2f9057 [SHELL/EXPERIMENTS]
* Create a branch for some evul shell experiments.

svn path=/branches/shell-experiments/; revision=61927
2014-02-02 19:37:27 +00:00

25 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;
}