Added hh.exe.

This commit is contained in:
Jacek Caban 2005-07-12 20:41:52 +00:00 committed by Alexandre Julliard
parent 01caa5e645
commit 8831329dae
6 changed files with 59 additions and 1 deletions

3
configure vendored

File diff suppressed because one or more lines are too long

View File

@ -1738,6 +1738,7 @@ programs/clock/Makefile
programs/cmdlgtst/Makefile
programs/control/Makefile
programs/expand/Makefile
programs/hh/Makefile
programs/msiexec/Makefile
programs/notepad/Makefile
programs/progman/Makefile

View File

@ -11,6 +11,7 @@ SUBDIRS = \
cmdlgtst \
control \
expand \
hh \
msiexec \
notepad \
progman \
@ -43,6 +44,7 @@ INSTALLSUBDIRS = \
clock \
control \
expand \
hh \
msiexec \
notepad \
progman \
@ -95,6 +97,7 @@ SYMLINKS = \
cmdlgtst.exe$(DLLEXT) \
control.exe$(DLLEXT) \
expand.exe$(DLLEXT) \
hh.exe$(DLLEXT) \
icinfo.exe$(DLLEXT) \
msiexec.exe$(DLLEXT) \
notepad.exe$(DLLEXT) \
@ -183,6 +186,9 @@ control.exe$(DLLEXT): control/control.exe$(DLLEXT)
expand.exe$(DLLEXT): expand/expand.exe$(DLLEXT)
$(RM) $@ && $(LN_S) expand/expand.exe$(DLLEXT) $@
hh.exe$(DLLEXT): hh/hh.exe$(DLLEXT)
$(RM) $@ && $(LN_S) hh/hh.exe$(DLLEXT) $@
icinfo.exe$(DLLEXT): avitools/icinfo.exe$(DLLEXT)
$(RM) $@ && $(LN_S) avitools/icinfo.exe$(DLLEXT) $@
@ -267,6 +273,7 @@ clock/clock.exe$(DLLEXT): clock
cmdlgtst/cmdlgtst.exe$(DLLEXT): cmdlgtst
control/control.exe$(DLLEXT): control
expand/expand.exe$(DLLEXT): expand
hh/hh.exe$(DLLEXT): hh
avitools/icinfo.exe$(DLLEXT): avitools
msiexec/msiexec.exe$(DLLEXT): msiexec
notepad/notepad.exe$(DLLEXT): notepad

2
programs/hh/.cvsignore Normal file
View File

@ -0,0 +1,2 @@
Makefile
hh.exe.dbg.c

14
programs/hh/Makefile.in Normal file
View File

@ -0,0 +1,14 @@
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = hh.exe
APPMODE = -mwindows
IMPORTS = kernel32
C_SRCS = \
main.c
@MAKE_PROG_RULES@
### Dependencies:

33
programs/hh/main.c Normal file
View File

@ -0,0 +1,33 @@
/*
* Copyright 2004 Jacek Caban
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#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;
hModule = LoadLibrary("hhctrl.ocx");
doWinMain = GetProcAddress(hModule, "doWinMain");
return doWinMain(hInst, cmdline);
}