forked from Mirrors/wine-wine
ninput: Add stub dll.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>oldstable
parent
243e2ddfde
commit
6b984a40c4
|
@ -1403,6 +1403,7 @@ enable_netapi32
|
||||||
enable_netcfgx
|
enable_netcfgx
|
||||||
enable_netprofm
|
enable_netprofm
|
||||||
enable_newdev
|
enable_newdev
|
||||||
|
enable_ninput
|
||||||
enable_normaliz
|
enable_normaliz
|
||||||
enable_npmshtml
|
enable_npmshtml
|
||||||
enable_npptools
|
enable_npptools
|
||||||
|
@ -18818,6 +18819,7 @@ wine_fn_config_makefile dlls/netcfgx/tests enable_tests
|
||||||
wine_fn_config_makefile dlls/netprofm enable_netprofm
|
wine_fn_config_makefile dlls/netprofm enable_netprofm
|
||||||
wine_fn_config_makefile dlls/netprofm/tests enable_tests
|
wine_fn_config_makefile dlls/netprofm/tests enable_tests
|
||||||
wine_fn_config_makefile dlls/newdev enable_newdev
|
wine_fn_config_makefile dlls/newdev enable_newdev
|
||||||
|
wine_fn_config_makefile dlls/ninput enable_ninput
|
||||||
wine_fn_config_makefile dlls/normaliz enable_normaliz
|
wine_fn_config_makefile dlls/normaliz enable_normaliz
|
||||||
wine_fn_config_makefile dlls/npmshtml enable_npmshtml
|
wine_fn_config_makefile dlls/npmshtml enable_npmshtml
|
||||||
wine_fn_config_makefile dlls/npptools enable_npptools
|
wine_fn_config_makefile dlls/npptools enable_npptools
|
||||||
|
|
|
@ -3470,6 +3470,7 @@ WINE_CONFIG_MAKEFILE(dlls/netcfgx/tests)
|
||||||
WINE_CONFIG_MAKEFILE(dlls/netprofm)
|
WINE_CONFIG_MAKEFILE(dlls/netprofm)
|
||||||
WINE_CONFIG_MAKEFILE(dlls/netprofm/tests)
|
WINE_CONFIG_MAKEFILE(dlls/netprofm/tests)
|
||||||
WINE_CONFIG_MAKEFILE(dlls/newdev)
|
WINE_CONFIG_MAKEFILE(dlls/newdev)
|
||||||
|
WINE_CONFIG_MAKEFILE(dlls/ninput)
|
||||||
WINE_CONFIG_MAKEFILE(dlls/normaliz)
|
WINE_CONFIG_MAKEFILE(dlls/normaliz)
|
||||||
WINE_CONFIG_MAKEFILE(dlls/npmshtml)
|
WINE_CONFIG_MAKEFILE(dlls/npmshtml)
|
||||||
WINE_CONFIG_MAKEFILE(dlls/npptools)
|
WINE_CONFIG_MAKEFILE(dlls/npptools)
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
MODULE = ninput.dll
|
||||||
|
|
||||||
|
C_SRCS = \
|
||||||
|
main.c
|
|
@ -0,0 +1,41 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2018 Andrey Gusev
|
||||||
|
*
|
||||||
|
* 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(ninput);
|
||||||
|
|
||||||
|
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD reason, LPVOID lpv)
|
||||||
|
{
|
||||||
|
TRACE("(%p, %d, %p)\n", hInstDLL, reason, lpv);
|
||||||
|
|
||||||
|
switch (reason)
|
||||||
|
{
|
||||||
|
case DLL_WINE_PREATTACH:
|
||||||
|
return FALSE; /* prefer native version */
|
||||||
|
case DLL_PROCESS_ATTACH:
|
||||||
|
DisableThreadLibraryCalls(hInstDLL);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
return TRUE;
|
||||||
|
}
|
|
@ -0,0 +1,24 @@
|
||||||
|
@ stub DefaultInputHandler
|
||||||
|
@ stub AddPointerInteractionContext
|
||||||
|
@ stub BufferPointerPacketsInteractionContext
|
||||||
|
@ stub CreateInteractionContext
|
||||||
|
@ stub DestroyInteractionContext
|
||||||
|
@ stub GetCrossSlideParameterInteractionContext
|
||||||
|
@ stub GetInertiaParameterInteractionContext
|
||||||
|
@ stub GetInteractionConfigurationInteractionContext
|
||||||
|
@ stub GetMouseWheelParameterInteractionContext
|
||||||
|
@ stub GetPropertyInteractionContext
|
||||||
|
@ stub GetStateInteractionContext
|
||||||
|
@ stub ProcessBufferedPacketsInteractionContext
|
||||||
|
@ stub ProcessInertiaInteractionContext
|
||||||
|
@ stub ProcessPointerFramesInteractionContext
|
||||||
|
@ stub RegisterOutputCallbackInteractionContext
|
||||||
|
@ stub RemovePointerInteractionContext
|
||||||
|
@ stub ResetInteractionContext
|
||||||
|
@ stub SetCrossSlideParametersInteractionContext
|
||||||
|
@ stub SetInertiaParameterInteractionContext
|
||||||
|
@ stub SetInteractionConfigurationInteractionContext
|
||||||
|
@ stub SetMouseWheelParameterInteractionContext
|
||||||
|
@ stub SetPivotInteractionContext
|
||||||
|
@ stub SetPropertyInteractionContext
|
||||||
|
@ stub StopInteractionContext
|
Loading…
Reference in New Issue