Commit 0079248f authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

xinput1_4: Add new dll based on xinput1_3.

parent 8fab2422
......@@ -16487,6 +16487,7 @@ wine_fn_config_dll xinput1_1 enable_xinput1_1
wine_fn_config_dll xinput1_2 enable_xinput1_2
wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
wine_fn_config_dll xinput1_4 enable_xinput1_4
wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
wine_fn_config_dll xmllite enable_xmllite
wine_fn_config_test dlls/xmllite/tests xmllite_test
......
......@@ -3169,6 +3169,7 @@ WINE_CONFIG_DLL(xinput1_1)
WINE_CONFIG_DLL(xinput1_2)
WINE_CONFIG_DLL(xinput1_3,,[implib],[xinput])
WINE_CONFIG_TEST(dlls/xinput1_3/tests)
WINE_CONFIG_DLL(xinput1_4)
WINE_CONFIG_DLL(xinput9_1_0)
WINE_CONFIG_DLL(xmllite)
WINE_CONFIG_TEST(dlls/xmllite/tests)
......
MODULE = xinput1_4.dll
C_SRCS = \
xinput1_4_main.c
@MAKE_DLL_RULES@
1 stdcall DllMain(long long ptr)
2 stdcall XInputGetState(long ptr) xinput1_3.XInputGetState
3 stdcall XInputSetState(long ptr) xinput1_3.XInputSetState
4 stdcall XInputGetCapabilities(long long ptr) xinput1_3.XInputGetCapabilities
5 stdcall XInputEnable(long) xinput1_3.XInputEnable
6 stdcall XInputGetDSoundAudioDeviceGuids(long ptr ptr) xinput1_3.XInputGetDSoundAudioDeviceGuids
7 stdcall XInputGetBatteryInformation(long ptr ptr) xinput1_3.XInputGetBatteryInformation
8 stdcall XInputGetKeystroke(long long ptr) xinput1_3.XInputGetKeystroke
10 stub XInputGetAudioDeviceIds(long ptr ptr ptr ptr)
/*
* The Wine project - Xinput Joystick Library
* Copyright 2013 André Hentschel
*
* 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 inst, DWORD reason, LPVOID reserved)
{
switch(reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(inst);
break;
}
return TRUE;
}
......@@ -100,6 +100,7 @@ my @dll_groups =
],
[
"xinput1_3",
"xinput1_4",
"xinput1_2",
"xinput1_1",
"xinput9_1_0",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment