Module: wine Branch: master Commit: 01a5e00479c1360596369892092a1f6a9cd11458 URL: http://source.winehq.org/git/wine.git/?a=commit;h=01a5e00479c136059636989209...
Author: Andrew Eikum aeikum@codeweavers.com Date: Mon Oct 5 11:33:42 2015 -0500
xapofx1_2: Forward to xapofx1_5.
Signed-off-by: Andrew Eikum aeikum@codeweavers.com
---
configure | 2 ++ configure.ac | 1 + dlls/xapofx1_2/Makefile.in | 4 ++++ dlls/xapofx1_2/main.c | 45 +++++++++++++++++++++++++++++++++++++++++++ dlls/xapofx1_2/xapofx1_2.spec | 1 + 5 files changed, 53 insertions(+)
diff --git a/configure b/configure index 34edcce..9cd9ca3 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 d350ea6..62abe1b 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 0000000..fb76b12 --- /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 0000000..e873b58 --- /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 0000000..bc17511 --- /dev/null +++ b/dlls/xapofx1_2/xapofx1_2.spec @@ -0,0 +1 @@ +@ cdecl CreateFX(ptr ptr) xapofx1_5.CreateFX