mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 05:12:55 +00:00
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
This commit is contained in:
parent
b94e2d8ca0
commit
c2c66aff7d
24198 changed files with 0 additions and 37285 deletions
25
base/applications/hh/main.c
Normal file
25
base/applications/hh/main.c
Normal file
|
@ -0,0 +1,25 @@
|
|||
#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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue