mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-05 23:20:43 +00:00
rtutils: Add stub dll.
This commit is contained in:
parent
759b914c9e
commit
a4689aaeee
9
configure
vendored
9
configure
vendored
|
@ -27150,6 +27150,14 @@ ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
|
|||
dlls/rsaenh/tests/Makefile: dlls/rsaenh/tests/Makefile.in dlls/Maketest.rules"
|
||||
ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
|
||||
|
||||
ALL_MAKEFILES="$ALL_MAKEFILES \\
|
||||
dlls/rtutils/Makefile"
|
||||
test "x$enable_rtutils" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
|
||||
rtutils"
|
||||
ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
|
||||
dlls/rtutils/Makefile: dlls/rtutils/Makefile.in dlls/Makedll.rules"
|
||||
ac_config_files="$ac_config_files dlls/rtutils/Makefile"
|
||||
|
||||
ALL_MAKEFILES="$ALL_MAKEFILES \\
|
||||
dlls/sane.ds/Makefile"
|
||||
test "x$enable_sane_ds" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
|
||||
|
@ -29682,6 +29690,7 @@ do
|
|||
"dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
|
||||
"dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
|
||||
"dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
|
||||
"dlls/rtutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rtutils/Makefile" ;;
|
||||
"dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
|
||||
"dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
|
||||
"dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
|
||||
|
|
|
@ -2324,6 +2324,7 @@ WINE_CONFIG_MAKEFILE([dlls/rpcrt4/tests/Makefile],[dlls/Maketest.rules],[dlls],[
|
|||
WINE_CONFIG_MAKEFILE([dlls/rsabase/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
|
||||
WINE_CONFIG_MAKEFILE([dlls/rsaenh/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
|
||||
WINE_CONFIG_MAKEFILE([dlls/rsaenh/tests/Makefile],[dlls/Maketest.rules],[dlls],[ALL_TEST_DIRS],[enable_tests])
|
||||
WINE_CONFIG_MAKEFILE([dlls/rtutils/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
|
||||
WINE_CONFIG_MAKEFILE([dlls/sane.ds/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
|
||||
WINE_CONFIG_MAKEFILE([dlls/sccbase/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
|
||||
WINE_CONFIG_MAKEFILE([dlls/schannel/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
|
||||
|
|
|
@ -188,6 +188,7 @@ IMPORT_LIBS = \
|
|||
riched20/libriched20.$(IMPLIBEXT) \
|
||||
rpcrt4/librpcrt4.$(IMPLIBEXT) \
|
||||
rsaenh/librsaenh.$(IMPLIBEXT) \
|
||||
rtutils/librtutils.$(IMPLIBEXT) \
|
||||
secur32/libsecur32.$(IMPLIBEXT) \
|
||||
sensapi/libsensapi.$(IMPLIBEXT) \
|
||||
serialui/libserialui.$(IMPLIBEXT) \
|
||||
|
@ -332,6 +333,7 @@ CROSS_IMPLIBS = \
|
|||
riched20/libriched20.a \
|
||||
rpcrt4/librpcrt4.a \
|
||||
rsaenh/librsaenh.a \
|
||||
rtutils/librtutils.a \
|
||||
secur32/libsecur32.a \
|
||||
sensapi/libsensapi.a \
|
||||
serialui/libserialui.a \
|
||||
|
@ -682,6 +684,9 @@ rpcrt4/librpcrt4.def rpcrt4/librpcrt4.a: rpcrt4/rpcrt4.spec $(WINEBUILD)
|
|||
rsaenh/librsaenh.def rsaenh/librsaenh.a: rsaenh/rsaenh.spec $(WINEBUILD)
|
||||
@cd rsaenh && $(MAKE) `basename $@`
|
||||
|
||||
rtutils/librtutils.def rtutils/librtutils.a: rtutils/rtutils.spec $(WINEBUILD)
|
||||
@cd rtutils && $(MAKE) `basename $@`
|
||||
|
||||
secur32/libsecur32.def secur32/libsecur32.a: secur32/secur32.spec $(WINEBUILD)
|
||||
@cd secur32 && $(MAKE) `basename $@`
|
||||
|
||||
|
|
14
dlls/rtutils/Makefile.in
Normal file
14
dlls/rtutils/Makefile.in
Normal file
|
@ -0,0 +1,14 @@
|
|||
TOPSRCDIR = @top_srcdir@
|
||||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = rtutils.dll
|
||||
IMPORTLIB = rtutils
|
||||
IMPORTS = kernel32
|
||||
|
||||
C_SRCS = \
|
||||
main.c
|
||||
|
||||
@MAKE_DLL_RULES@
|
||||
|
||||
@DEPENDENCIES@ # everything below this line is overwritten by make depend
|
47
dlls/rtutils/main.c
Normal file
47
dlls/rtutils/main.c
Normal file
|
@ -0,0 +1,47 @@
|
|||
/*
|
||||
* rtutils main
|
||||
*
|
||||
* Copyright 2009 Alexander Scott-Johns
|
||||
*
|
||||
* 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 <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "wine/debug.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(rtutils);
|
||||
|
||||
/***********************************************************************
|
||||
* DllMain (RTUTILS.@)
|
||||
*/
|
||||
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;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
56
dlls/rtutils/rtutils.spec
Normal file
56
dlls/rtutils/rtutils.spec
Normal file
|
@ -0,0 +1,56 @@
|
|||
@ stub CreateWaitEvent
|
||||
@ stub CreateWaitEventBinding
|
||||
@ stub CreateWaitTimer
|
||||
@ stub DeRegisterWaitEventBinding
|
||||
@ stub DeRegisterWaitEventBindingSelf
|
||||
@ stub DeRegisterWaitEventsTimers
|
||||
@ stub DeRegisterWaitEventsTimersSelf
|
||||
@ stub DebugPrintWaitWorkerThreads
|
||||
@ stub LogErrorA
|
||||
@ stub LogErrorW
|
||||
@ stub LogEventA
|
||||
@ stub LogEventW
|
||||
@ stub MprSetupProtocolEnum
|
||||
@ stub MprSetupProtocolFree
|
||||
@ stub QueueWorkItem
|
||||
@ stub RegisterWaitEventBinding
|
||||
@ stub RegisterWaitEventsTimers
|
||||
@ stub RouterAssert
|
||||
@ stub RouterGetErrorStringA
|
||||
@ stub RouterGetErrorStringW
|
||||
@ stub RouterLogDeregisterA
|
||||
@ stub RouterLogDeregisterW
|
||||
@ stub RouterLogEventA
|
||||
@ stub RouterLogEventDataA
|
||||
@ stub RouterLogEventDataW
|
||||
@ stub RouterLogEventExA
|
||||
@ stub RouterLogEventExW
|
||||
@ stub RouterLogEventStringA
|
||||
@ stub RouterLogEventStringW
|
||||
@ stub RouterLogEventValistExA
|
||||
@ stub RouterLogEventValistExW
|
||||
@ stub RouterLogEventW
|
||||
@ stub RouterLogRegisterA
|
||||
@ stub RouterLogRegisterW
|
||||
@ stub SetIoCompletionProc
|
||||
@ stub TraceDeregisterA
|
||||
@ stub TraceDeregisterExA
|
||||
@ stub TraceDeregisterExW
|
||||
@ stub TraceDeregisterW
|
||||
@ stub TraceDumpExA
|
||||
@ stub TraceDumpExW
|
||||
@ stub TraceGetConsoleA
|
||||
@ stub TraceGetConsoleW
|
||||
@ stub TracePrintfA
|
||||
@ stub TracePrintfExA
|
||||
@ stub TracePrintfExW
|
||||
@ stub TracePrintfW
|
||||
@ stub TracePutsExA
|
||||
@ stub TracePutsExW
|
||||
@ stub TraceRegisterExA
|
||||
@ stub TraceRegisterExW
|
||||
@ stub TraceVprintfExA
|
||||
@ stub TraceVprintfExW
|
||||
@ stub UpdateWaitTimer
|
||||
@ stub WTFreeEvent
|
||||
@ stub WTFreeTimer
|
Loading…
Reference in a new issue