2018-11-26 17:13:16 -08:00
|
|
|
From 6a45cb2e23fae1c06531fece0430ee43a3828064 Mon Sep 17 00:00:00 2001
|
2018-11-22 16:55:33 -08:00
|
|
|
From: Gijs Vermeulen <gijsvrm@gmail.com>
|
|
|
|
Date: Thu, 22 Nov 2018 10:28:22 +1100
|
|
|
|
Subject: [PATCH] qwave: Added QOSCreateHandle stub
|
|
|
|
|
|
|
|
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46174
|
|
|
|
---
|
2018-11-26 17:13:16 -08:00
|
|
|
dlls/qwave/main.c | 8 ++++++++
|
|
|
|
dlls/qwave/qwave.spec | 2 +-
|
|
|
|
include/qos2.h | 2 ++
|
|
|
|
3 files changed, 11 insertions(+), 1 deletion(-)
|
2018-11-22 16:55:33 -08:00
|
|
|
|
|
|
|
diff --git a/dlls/qwave/main.c b/dlls/qwave/main.c
|
2018-11-26 17:13:16 -08:00
|
|
|
index ce1cfbd6..4366c32c 100644
|
2018-11-22 16:55:33 -08:00
|
|
|
--- a/dlls/qwave/main.c
|
|
|
|
+++ b/dlls/qwave/main.c
|
|
|
|
@@ -21,6 +21,7 @@
|
|
|
|
|
|
|
|
#include "windef.h"
|
|
|
|
#include "winbase.h"
|
|
|
|
+#include "qos2.h"
|
|
|
|
#include "wine/debug.h"
|
|
|
|
|
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(qwave);
|
|
|
|
@@ -39,3 +40,10 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD reason, LPVOID lpv)
|
|
|
|
}
|
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
+
|
|
|
|
+BOOL WINAPI QOSCreateHandle(QOS_VERSION *version, HANDLE *handle)
|
|
|
|
+{
|
|
|
|
+ FIXME("%p %p stub!\n", version, handle);
|
|
|
|
+ SetLastError(ERROR_SERVICE_DEPENDENCY_FAIL);
|
|
|
|
+ return FALSE;
|
|
|
|
+}
|
2018-11-26 17:13:16 -08:00
|
|
|
diff --git a/dlls/qwave/qwave.spec b/dlls/qwave/qwave.spec
|
|
|
|
index 27b07f55..94b62eb1 100644
|
|
|
|
--- a/dlls/qwave/qwave.spec
|
|
|
|
+++ b/dlls/qwave/qwave.spec
|
|
|
|
@@ -3,7 +3,7 @@
|
|
|
|
@ stub QOSAddSocketToFlow
|
|
|
|
@ stub QOSCancel
|
|
|
|
@ stub QOSCloseHandle
|
|
|
|
-@ stub QOSCreateHandle
|
|
|
|
+@ stdcall QOSCreateHandle(ptr ptr)
|
|
|
|
@ stub QOSEnumerateFlows
|
|
|
|
@ stub QOSNotifyFlow
|
|
|
|
@ stub QOSQueryFlow
|
2018-11-22 16:55:33 -08:00
|
|
|
diff --git a/include/qos2.h b/include/qos2.h
|
2018-11-26 17:13:16 -08:00
|
|
|
index ac486f71..f2e68f52 100644
|
2018-11-22 16:55:33 -08:00
|
|
|
--- a/include/qos2.h
|
|
|
|
+++ b/include/qos2.h
|
|
|
|
@@ -93,6 +93,8 @@ typedef struct _QOS_VERSION {
|
|
|
|
USHORT MinorVersion;
|
|
|
|
} QOS_VERSION, *PQOS_VERSION;
|
|
|
|
|
|
|
|
+BOOL WINAPI QOSCreateHandle(QOS_VERSION *version, HANDLE *handle);
|
|
|
|
+
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
--
|
2018-11-26 17:13:16 -08:00
|
|
|
2.19.1
|
2018-11-22 16:55:33 -08:00
|
|
|
|