itircl: Add a stub implementation of itircl.dll.

This commit is contained in:
James Hawkins 2008-02-15 17:39:46 -06:00 committed by Alexandre Julliard
parent 11b25a65ac
commit 58b0686e95
7 changed files with 73 additions and 0 deletions

View File

@ -268,6 +268,7 @@ ALL_MAKEFILES = \
dlls/inseng/Makefile \
dlls/iphlpapi/Makefile \
dlls/iphlpapi/tests/Makefile \
dlls/itircl/Makefile \
dlls/itss/Makefile \
dlls/itss/tests/Makefile \
dlls/kernel32/Makefile \
@ -658,6 +659,7 @@ dlls/inkobj/Makefile: dlls/inkobj/Makefile.in dlls/Makedll.rules
dlls/inseng/Makefile: dlls/inseng/Makefile.in dlls/Makedll.rules
dlls/iphlpapi/Makefile: dlls/iphlpapi/Makefile.in dlls/Makedll.rules
dlls/iphlpapi/tests/Makefile: dlls/iphlpapi/tests/Makefile.in dlls/Maketest.rules
dlls/itircl/Makefile: dlls/itircl/Makefile.in dlls/Makedll.rules
dlls/itss/Makefile: dlls/itss/Makefile.in dlls/Makedll.rules
dlls/itss/tests/Makefile: dlls/itss/tests/Makefile.in dlls/Maketest.rules
dlls/kernel32/Makefile: dlls/kernel32/Makefile.in dlls/Makedll.rules

3
configure vendored
View File

@ -21387,6 +21387,8 @@ ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
ac_config_files="$ac_config_files dlls/itircl/Makefile"
ac_config_files="$ac_config_files dlls/itss/Makefile"
ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
@ -22593,6 +22595,7 @@ do
"dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
"dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
"dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
"dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
"dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
"dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
"dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;

View File

@ -1767,6 +1767,7 @@ AC_CONFIG_FILES([dlls/inkobj/Makefile])
AC_CONFIG_FILES([dlls/inseng/Makefile])
AC_CONFIG_FILES([dlls/iphlpapi/Makefile])
AC_CONFIG_FILES([dlls/iphlpapi/tests/Makefile])
AC_CONFIG_FILES([dlls/itircl/Makefile])
AC_CONFIG_FILES([dlls/itss/Makefile])
AC_CONFIG_FILES([dlls/itss/tests/Makefile])
AC_CONFIG_FILES([dlls/kernel32/Makefile])

View File

@ -97,6 +97,7 @@ BASEDIRS = \
inkobj \
inseng \
iphlpapi \
itircl \
itss \
kernel32 \
localspl \

13
dlls/itircl/Makefile.in Normal file
View File

@ -0,0 +1,13 @@
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = itircl.dll
IMPORTS = kernel32
C_SRCS = \
itircl_main.c
@MAKE_DLL_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend

4
dlls/itircl/itircl.spec Normal file
View File

@ -0,0 +1,4 @@
@ stub DllCanUnloadNow
@ stub DllGetClassObject
@ stub DllRegisterServer
@ stub DllUnregisterServer

49
dlls/itircl/itircl_main.c Normal file
View File

@ -0,0 +1,49 @@
/*
* itircl main
*
* Copyright 2008 James Hawkins
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(itircl);
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
switch (fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinstDLL);
break;
case DLL_PROCESS_DETACH:
break;
default:
break;
}
return TRUE;
}