Author: gedmurphy Date: Sat Apr 7 19:24:45 2007 New Revision: 26279
URL: http://svn.reactos.org/svn/reactos?rev=26279&view=rev Log: - add hh.exe - not added to build as it useless until we get hhctrl.ocx done.
Added: trunk/reactos/base/applications/hh/ trunk/reactos/base/applications/hh/hh.ico (with props) trunk/reactos/base/applications/hh/hh.rbuild trunk/reactos/base/applications/hh/hh.rc trunk/reactos/base/applications/hh/main.c
Added: trunk/reactos/base/applications/hh/hh.ico URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/hh/hh.ico... ============================================================================== Binary file - no diff available.
Propchange: trunk/reactos/base/applications/hh/hh.ico ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream
Added: trunk/reactos/base/applications/hh/hh.rbuild URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/hh/hh.rbu... ============================================================================== --- trunk/reactos/base/applications/hh/hh.rbuild (added) +++ trunk/reactos/base/applications/hh/hh.rbuild Sat Apr 7 19:24:45 2007 @@ -1,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>
Added: trunk/reactos/base/applications/hh/hh.rc URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/hh/hh.rc?... ============================================================================== --- trunk/reactos/base/applications/hh/hh.rc (added) +++ trunk/reactos/base/applications/hh/hh.rc Sat Apr 7 19:24:45 2007 @@ -1,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 +
Added: trunk/reactos/base/applications/hh/main.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/hh/main.c... ============================================================================== --- trunk/reactos/base/applications/hh/main.c (added) +++ trunk/reactos/base/applications/hh/main.c Sat Apr 7 19:24:45 2007 @@ -1,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; +}