mirror of
https://github.com/reactos/reactos.git
synced 2025-01-10 08:10:18 +00:00
c424146e2c
svn path=/branches/cmake-bringup/; revision=48236
23 lines
452 B
C
23 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;
|
|
}
|