diff --git a/configure b/configure index f1f94354788..436bbae6f30 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.ac b/configure.ac index 341ba181911..fb85cace4d2 100644 --- a/configure.ac +++ b/configure.ac @@ -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) diff --git a/dlls/ktmw32/Makefile.in b/dlls/ktmw32/Makefile.in new file mode 100644 index 00000000000..62c41d8a10d --- /dev/null +++ b/dlls/ktmw32/Makefile.in @@ -0,0 +1,6 @@ +MODULE = ktmw32.dll + +C_SRCS = \ + ktmw32_main.c + +@MAKE_DLL_RULES@ diff --git a/dlls/ktmw32/ktmw32.spec b/dlls/ktmw32/ktmw32.spec new file mode 100644 index 00000000000..062f1f25ca1 --- /dev/null +++ b/dlls/ktmw32/ktmw32.spec @@ -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 diff --git a/dlls/ktmw32/ktmw32_main.c b/dlls/ktmw32/ktmw32_main.c new file mode 100644 index 00000000000..960def224fa --- /dev/null +++ b/dlls/ktmw32/ktmw32_main.c @@ -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 + +#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; +}