mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
65 lines
1.6 KiB
Diff
65 lines
1.6 KiB
Diff
From 6a45cb2e23fae1c06531fece0430ee43a3828064 Mon Sep 17 00:00:00 2001
|
|
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
|
|
---
|
|
dlls/qwave/main.c | 8 ++++++++
|
|
dlls/qwave/qwave.spec | 2 +-
|
|
include/qos2.h | 2 ++
|
|
3 files changed, 11 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/dlls/qwave/main.c b/dlls/qwave/main.c
|
|
index ce1cfbd6..4366c32c 100644
|
|
--- 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;
|
|
+}
|
|
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
|
|
diff --git a/include/qos2.h b/include/qos2.h
|
|
index ac486f71..f2e68f52 100644
|
|
--- 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
|
|
--
|
|
2.19.1
|
|
|