tdi.sys: Add a stub dll.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Austin English 2015-12-21 20:41:46 -06:00 committed by Alexandre Julliard
parent 296ac8cf32
commit 7eec8cb4a6
6 changed files with 104 additions and 0 deletions

2
configure vendored
View File

@ -1312,6 +1312,7 @@ enable_sxs
enable_t2embed
enable_tapi32
enable_taskschd
enable_tdi_sys
enable_traffic
enable_twain_32
enable_ucrtbase
@ -17884,6 +17885,7 @@ wine_fn_config_dll t2embed enable_t2embed
wine_fn_config_dll tapi32 enable_tapi32 implib
wine_fn_config_dll taskschd enable_taskschd clean
wine_fn_config_test dlls/taskschd/tests taskschd_test
wine_fn_config_dll tdi.sys enable_tdi_sys
wine_fn_config_dll toolhelp.dll16 enable_win16
wine_fn_config_dll traffic enable_traffic
wine_fn_config_dll twain.dll16 enable_win16

View File

@ -3224,6 +3224,7 @@ WINE_CONFIG_DLL(t2embed)
WINE_CONFIG_DLL(tapi32,,[implib])
WINE_CONFIG_DLL(taskschd,,[clean])
WINE_CONFIG_TEST(dlls/taskschd/tests)
WINE_CONFIG_DLL(tdi.sys)
WINE_CONFIG_DLL(toolhelp.dll16,enable_win16)
WINE_CONFIG_DLL(traffic)
WINE_CONFIG_DLL(twain.dll16,enable_win16)

5
dlls/tdi.sys/Makefile.in Normal file
View File

@ -0,0 +1,5 @@
MODULE = tdi.sys
EXTRADLLFLAGS = -Wb,--subsystem,native
C_SRCS = \
main.c

38
dlls/tdi.sys/main.c Normal file
View File

@ -0,0 +1,38 @@
/*
* tdi.sys
*
* Copyright 2015 Austin English
*
* 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 "ntstatus.h"
#define WIN32_NO_STATUS
#include "windef.h"
#include "winbase.h"
#include "winternl.h"
#include "ddk/wdm.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(tdi);
NTSTATUS WINAPI DriverEntry( DRIVER_OBJECT *driver, UNICODE_STRING *path )
{
TRACE( "(%p, %s)\n", driver, debugstr_w(path->Buffer) );
return STATUS_SUCCESS;
}

56
dlls/tdi.sys/tdi.sys.spec Normal file
View File

@ -0,0 +1,56 @@
@ stub CTEAllocateString
@ stub CTEBlock
@ stub CTEBlockWithTracker
@ stub CTEInitEvent
@ stub CTEInitString
@ stub CTEInitTimer
@ stub CTEInitialize
@ stub CTEInsertBlockTracker
@ stub CTELogEvent
@ stub CTERemoveBlockTracker
@ stub CTEScheduleCriticalEvent
@ stub CTEScheduleDelayedEvent
@ stub CTEScheduleEvent
@ stub CTESignal
@ stub CTEStartTimer
@ stub CTESystemUpTime
@ stub DllInitialize
@ stub DllUnload
@ stub TdiBuildNetbiosAddress
@ stub TdiBuildNetbiosAddressEa
@ stub TdiCopyBufferToMdl
@ stub TdiCopyBufferToMdlWithReservedMappingAtDpcLevel
@ stub TdiCopyMdlChainToMdlChain
@ stub TdiCopyMdlToBuffer
@ stub TdiDefaultChainedRcvDatagramHandler
@ stub TdiDefaultChainedRcvExpeditedHandler
@ stub TdiDefaultChainedReceiveHandler
@ stub TdiDefaultConnectHandler
@ stub TdiDefaultDisconnectHandler
@ stub TdiDefaultErrorHandler
@ stub TdiDefaultRcvDatagramHandler
@ stub TdiDefaultRcvExpeditedHandler
@ stub TdiDefaultReceiveHandler
@ stub TdiDefaultSendPossibleHandler
@ stub TdiDeregisterAddressChangeHandler
@ stub TdiDeregisterDeviceObject
@ stub TdiDeregisterNetAddress
@ stub TdiDeregisterNotificationHandler
@ stub TdiDeregisterPnPHandlers
@ stub TdiDeregisterProvider
@ stub TdiEnumerateAddresses
@ stub TdiGet9FTriageBlock
@ stub TdiInitialize
@ stub TdiMapUserRequest
@ stub TdiMatchPdoWithChainedReceiveContext
@ stub TdiOpenNetbiosAddress
@ stub TdiPnPPowerComplete
@ stub TdiPnPPowerRequest
@ stub TdiProviderReady
@ stub TdiRegisterAddressChangeHandler
@ stub TdiRegisterDeviceObject
@ stub TdiRegisterNetAddress
@ stub TdiRegisterNotificationHandler
@ stub TdiRegisterPnPHandlers
@ stub TdiRegisterProvider
@ stub TdiReturnChainedReceives

View File

@ -2514,6 +2514,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
12,,fltmgr.sys,-
12,,mountmgr.sys,-
12,,ndis.sys,-
12,,tdi.sys,-
; skip .NET fake dlls in Wine Mono package
11,,aspnet_regiis.exe,-
11,,ngen.exe,-
@ -2555,6 +2556,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
12,,fltmgr.sys
12,,mountmgr.sys
12,,ndis.sys
12,,tdi.sys
; skip .NET fake dlls in Wine Mono package
11,,aspnet_regiis.exe,-
11,,ngen.exe,-