=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: ninput: Add RegisterOutputCallbackInteractionContext() stub.

Alexandre Julliard julliard at winehq.org
Fri Jun 22 18:32:38 CDT 2018


Module: wine
Branch: master
Commit: bf04ee668556e8e13ddabc4ae0dc80ee5a4e1191
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=bf04ee668556e8e13ddabc4ae0dc80ee5a4e1191

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Thu Jun 21 16:19:46 2018 +0200

ninput: Add RegisterOutputCallbackInteractionContext() stub.

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ninput/main.c      | 13 +++++++++++++
 dlls/ninput/ninput.spec |  2 +-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/dlls/ninput/main.c b/dlls/ninput/main.c
index 0170374..5d2be62 100644
--- a/dlls/ninput/main.c
+++ b/dlls/ninput/main.c
@@ -148,6 +148,19 @@ HRESULT WINAPI SetInteractionConfigurationInteractionContext(HINTERACTIONCONTEXT
     return S_OK;
 }
 
+HRESULT WINAPI RegisterOutputCallbackInteractionContext(HINTERACTIONCONTEXT handle,
+        INTERACTION_CONTEXT_OUTPUT_CALLBACK callback, void *data)
+{
+    struct interaction_context *context = context_from_handle(handle);
+
+    FIXME("context %p, callback %p, data %p: stub!.\n", context, callback, data);
+
+    if (!context)
+        return E_HANDLE;
+
+    return S_OK;
+}
+
 HRESULT WINAPI ProcessInertiaInteractionContext(HINTERACTIONCONTEXT context)
 {
     FIXME("context %p: stub!\n", context);
diff --git a/dlls/ninput/ninput.spec b/dlls/ninput/ninput.spec
index 70d296c..e289787 100644
--- a/dlls/ninput/ninput.spec
+++ b/dlls/ninput/ninput.spec
@@ -12,7 +12,7 @@
 @ stub ProcessBufferedPacketsInteractionContext
 @ stdcall ProcessInertiaInteractionContext(ptr)
 @ stub ProcessPointerFramesInteractionContext
-@ stub RegisterOutputCallbackInteractionContext
+@ stdcall RegisterOutputCallbackInteractionContext(ptr ptr ptr)
 @ stub RemovePointerInteractionContext
 @ stub ResetInteractionContext
 @ stub SetCrossSlideParametersInteractionContext




More information about the wine-cvs mailing list