Alistair Leslie-Hughes : qwave: Add QOSAddSocketToFlow stub.

Alexandre Julliard julliard at winehq.org
Thu Mar 5 16:35:27 CST 2020


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

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Thu Mar  5 00:09:38 2020 +0000

qwave: Add QOSAddSocketToFlow stub.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48580
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/qwave/main.c     | 8 ++++++++
 dlls/qwave/qwave.spec | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/dlls/qwave/main.c b/dlls/qwave/main.c
index 685fcfb6c6..e256d1b8c6 100644
--- a/dlls/qwave/main.c
+++ b/dlls/qwave/main.c
@@ -50,3 +50,11 @@ BOOL WINAPI QOSCreateHandle(PQOS_VERSION version, PHANDLE handle)
         SetLastError(ERROR_SERVICE_ALREADY_RUNNING);
     return FALSE;
 }
+
+BOOL WINAPI QOSAddSocketToFlow(HANDLE handle, SOCKET socket, PSOCKADDR addr,
+                               QOS_TRAFFIC_TYPE traffictype, DWORD flags, PQOS_FLOWID flowid)
+{
+    FIXME("%p, %lx, %p, %d, 0x%08x, %p stub!\n", handle, socket, addr, traffictype, flags, flowid);
+    SetLastError(ERROR_NOT_SUPPORTED);
+    return FALSE;
+}
diff --git a/dlls/qwave/qwave.spec b/dlls/qwave/qwave.spec
index 94b62eb1d8..83dfc6787c 100644
--- a/dlls/qwave/qwave.spec
+++ b/dlls/qwave/qwave.spec
@@ -1,6 +1,6 @@
 @ stub QDLHPathDiagnostics
 @ stub QDLHStartDiagnosingPath
-@ stub QOSAddSocketToFlow
+@ stdcall QOSAddSocketToFlow(ptr long ptr long long ptr)
 @ stub QOSCancel
 @ stub QOSCloseHandle
 @ stdcall QOSCreateHandle(ptr ptr)




More information about the wine-cvs mailing list