diff --git a/configure b/configure index 34edccee98dc62957452756d7b290a598ff61e19..9cd9ca369eca0725fd9986dd54623d13d9b6d564 100755 --- a/configure +++ b/configure @@ -1371,6 +1371,7 @@ enable_x3daudio1_5 enable_x3daudio1_6 enable_x3daudio1_7 enable_xapofx1_1 +enable_xapofx1_2 enable_xapofx1_3 enable_xapofx1_4 enable_xapofx1_5 @@ -17914,6 +17915,7 @@ wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7 wine_fn_config_dll xapofx1_1 enable_xapofx1_1 +wine_fn_config_dll xapofx1_2 enable_xapofx1_2 wine_fn_config_dll xapofx1_3 enable_xapofx1_3 wine_fn_config_dll xapofx1_4 enable_xapofx1_4 wine_fn_config_dll xapofx1_5 enable_xapofx1_5 diff --git a/configure.ac b/configure.ac index d350ea6cec54196caa7749e9c7c43d0b11140a04..62abe1ba3cb7055de9abdf51a68a6356ae589f78 100644 --- a/configure.ac +++ b/configure.ac @@ -3457,6 +3457,7 @@ WINE_CONFIG_DLL(x3daudio1_5) WINE_CONFIG_DLL(x3daudio1_6) WINE_CONFIG_DLL(x3daudio1_7) WINE_CONFIG_DLL(xapofx1_1) +WINE_CONFIG_DLL(xapofx1_2) WINE_CONFIG_DLL(xapofx1_3) WINE_CONFIG_DLL(xapofx1_4) WINE_CONFIG_DLL(xapofx1_5) diff --git a/dlls/xapofx1_2/Makefile.in b/dlls/xapofx1_2/Makefile.in new file mode 100644 index 0000000000000000000000000000000000000000..fb76b121e357f97d2cb97d6a062fd6effce75b8b --- /dev/null +++ b/dlls/xapofx1_2/Makefile.in @@ -0,0 +1,4 @@ +MODULE = xapofx1_2.dll + +C_SRCS = \ + main.c diff --git a/dlls/xapofx1_2/main.c b/dlls/xapofx1_2/main.c new file mode 100644 index 0000000000000000000000000000000000000000..e873b58567f9770b8d5b96f4b1698a058fd5b705 --- /dev/null +++ b/dlls/xapofx1_2/main.c @@ -0,0 +1,45 @@ +/* + * Copyright 2015 Andrew Eikum 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(xapofx); + +/***************************************************** + * DllMain + */ +BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved ) +{ + TRACE("(%p, %d, %p)\n", hinst, reason, reserved); + + switch(reason) + { + case DLL_WINE_PREATTACH: + return FALSE; /* prefer native version */ + + case DLL_PROCESS_ATTACH: + DisableThreadLibraryCalls(hinst); + break; + } + return TRUE; +} diff --git a/dlls/xapofx1_2/xapofx1_2.spec b/dlls/xapofx1_2/xapofx1_2.spec new file mode 100644 index 0000000000000000000000000000000000000000..bc17511db26db41a0d7b7cb39c06c9f12465ad9f --- /dev/null +++ b/dlls/xapofx1_2/xapofx1_2.spec @@ -0,0 +1 @@ +@ cdecl CreateFX(ptr ptr) xapofx1_5.CreateFX