[PATCH 7/7] ninput: Add RegisterOutputCallbackInteractionContext() stub.

Józef Kucia jkucia at codeweavers.com
Thu Jun 21 09:19:46 CDT 2018


Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
 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 01703749d087..5d2be62fec21 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 70d296cc597f..e2897872b683 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
-- 
2.16.4




More information about the wine-devel mailing list