mirror of
https://github.com/reactos/reactos.git
synced 2024-10-01 06:57:08 +00:00
- add hh.exe
- not added to build as it useless until we get hhctrl.ocx done. svn path=/trunk/; revision=26279
This commit is contained in:
parent
9da28b4efd
commit
d3bc04a87c
BIN
reactos/base/applications/hh/hh.ico
Normal file
BIN
reactos/base/applications/hh/hh.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
14
reactos/base/applications/hh/hh.rbuild
Normal file
14
reactos/base/applications/hh/hh.rbuild
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<rbuild xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||||
|
<module name="hh" type="win32gui" installbase="system32" installname="hh.exe" unicode="no">
|
||||||
|
<include base="hh">.</include>
|
||||||
|
<define name="__USE_W32API" />
|
||||||
|
<define name="_WIN32_IE">0x0600</define>
|
||||||
|
<define name="_WIN32_WINNT">0x0501</define>
|
||||||
|
<library>kernel32</library>
|
||||||
|
<library>user32</library>
|
||||||
|
<library>gdi32</library>
|
||||||
|
<file>main.c</file>
|
||||||
|
<file>hh.rc</file>
|
||||||
|
</module>
|
||||||
|
</rbuild>
|
9
reactos/base/applications/hh/hh.rc
Normal file
9
reactos/base/applications/hh/hh.rc
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#include <windows.h>
|
||||||
|
|
||||||
|
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS HTML Help Executable\0"
|
||||||
|
#define REACTOS_STR_INTERNAL_NAME "hh\0"
|
||||||
|
#define REACTOS_STR_ORIGINAL_FILENAME "hh.exe\0"
|
||||||
|
#include <reactos/version.rc>
|
||||||
|
|
||||||
|
2 ICON DISCARDABLE hh.ico
|
||||||
|
|
23
reactos/base/applications/hh/main.c
Normal file
23
reactos/base/applications/hh/main.c
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
#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;
|
||||||
|
}
|
Loading…
Reference in a new issue