ktmw32: Add stub dll.

This commit is contained in:
Vincent Povirk 2010-09-26 16:38:44 -05:00 committed by Alexandre Julliard
parent d87a761344
commit 8f87459baa
5 changed files with 95 additions and 0 deletions

1
configure vendored
View File

@ -14685,6 +14685,7 @@ wine_fn_config_dll kernel32 enable_kernel32 kernel32
wine_fn_config_test dlls/kernel32/tests kernel32_test
wine_fn_config_dll keyboard.drv16 enable_win16
wine_fn_config_dll krnl386.exe16 enable_win16 kernel
wine_fn_config_dll ktmw32 enable_ktmw32
wine_fn_config_dll loadperf enable_loadperf loadperf
wine_fn_config_dll localspl enable_localspl
wine_fn_config_test dlls/localspl/tests localspl_test

View File

@ -2463,6 +2463,7 @@ WINE_CONFIG_DLL(kernel32,,[kernel32])
WINE_CONFIG_TEST(dlls/kernel32/tests)
WINE_CONFIG_DLL(keyboard.drv16,enable_win16)
WINE_CONFIG_DLL(krnl386.exe16,enable_win16,[kernel])
WINE_CONFIG_DLL(ktmw32)
WINE_CONFIG_DLL(loadperf,,[loadperf])
WINE_CONFIG_DLL(localspl)
WINE_CONFIG_TEST(dlls/localspl/tests)

6
dlls/ktmw32/Makefile.in Normal file
View File

@ -0,0 +1,6 @@
MODULE = ktmw32.dll
C_SRCS = \
ktmw32_main.c
@MAKE_DLL_RULES@

44
dlls/ktmw32/ktmw32.spec Normal file
View File

@ -0,0 +1,44 @@
@ stub CommitComplete
@ stub CommitEnlistment
@ stub CommitTransaction
@ stub CommitTransactionAsync
@ stub CreateEnlistment
@ stub CreateResourceManager
@ stub CreateTransaction
@ stub CreateTransactionManager
@ stub GetCurrentClockTransactionManager
@ stub GetEnlistmentId
@ stub GetEnlistmentRecoveryInformation
@ stub GetNotificationResourceManager
@ stub GetNotificationResourceManagerAsync
@ stub GetTransactionId
@ stub GetTransactionInformation
@ stub GetTransactionManagerId
@ stub OpenEnlistment
@ stub OpenResourceManager
@ stub OpenTransaction
@ stub OpenTransactionManager
@ stub OpenTransactionManagerById
@ stub PrePrepareComplete
@ stub PrePrepareEnlistment
@ stub PrepareComplete
@ stub PrepareEnlistment
@ stub PrivCreateTransaction
@ stub PrivIsLogWritableTransactionManager
@ stub PrivPropagationComplete
@ stub PrivPropagationFailed
@ stub PrivRegisterProtocolAddressInformation
@ stub ReadOnlyEnlistment
@ stub RecoverEnlistment
@ stub RecoverResourceManager
@ stub RecoverTransactionManager
@ stub RenameTransactionManager
@ stub RollbackComplete
@ stub RollbackEnlistment
@ stub RollbackTransaction
@ stub RollbackTransactionAsync
@ stub RollforwardTransactionManager
@ stub SetEnlistmentRecoveryInformation
@ stub SetResourceManagerCompletionPort
@ stub SetTransactionInformation
@ stub SinglePhaseReject

43
dlls/ktmw32/ktmw32_main.c Normal file
View File

@ -0,0 +1,43 @@
/*
* Copyright 2010 Vincent Povirk for CodeWeavers
*
* 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(ktm);
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
switch (fdwReason)
{
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinstDLL);
break;
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}