x3daudio1_2: Add stub dll.

This commit is contained in:
Alex Henrie 2015-02-26 23:15:29 -07:00 committed by Alexandre Julliard
parent f935a10add
commit 13a1b2cfd4
5 changed files with 46 additions and 0 deletions

2
configure vendored
View File

@ -1324,6 +1324,7 @@ enable_wtsapi32
enable_wuapi
enable_wuaueng
enable_x3daudio1_1
enable_x3daudio1_2
enable_x3daudio1_3
enable_x3daudio1_4
enable_x3daudio1_5
@ -17682,6 +17683,7 @@ wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
wine_fn_config_dll wuapi enable_wuapi clean
wine_fn_config_dll wuaueng enable_wuaueng
wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5

View File

@ -3385,6 +3385,7 @@ WINE_CONFIG_TEST(dlls/wtsapi32/tests)
WINE_CONFIG_DLL(wuapi,,[clean])
WINE_CONFIG_DLL(wuaueng)
WINE_CONFIG_DLL(x3daudio1_1)
WINE_CONFIG_DLL(x3daudio1_2)
WINE_CONFIG_DLL(x3daudio1_3)
WINE_CONFIG_DLL(x3daudio1_4)
WINE_CONFIG_DLL(x3daudio1_5)

View File

@ -0,0 +1,4 @@
MODULE = x3daudio1_2.dll
C_SRCS = \
main.c

37
dlls/x3daudio1_2/main.c Normal file
View File

@ -0,0 +1,37 @@
/*
* Copyright 2015 Alex Henrie
*
* 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"
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
{
switch (reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(instance);
break;
}
return TRUE;
}

View File

@ -0,0 +1,2 @@
@ stub X3DAudioCalculate
@ stub X3DAudioInitialize