Added wmvcore-WMCreateSyncReaderPriv patchset

This commit is contained in:
Alistair Leslie-Hughes 2018-11-12 14:56:37 +11:00
parent dffcd7e6d6
commit 50917334e1
3 changed files with 63 additions and 0 deletions

View File

@ -391,6 +391,7 @@ patch_enable_all ()
enable_wintrust_WTHelperGetProvCertFromChain="$1"
enable_wintrust_WinVerifyTrust="$1"
enable_wmvcore_WMCheckURlExtension="$1"
enable_wmvcore_WMCreateSyncReaderPriv="$1"
enable_wow64cpu_Wow64Transition="$1"
enable_wpcap_Dynamic_Linking="$1"
enable_ws2_32_APC_Performance="$1"
@ -1337,6 +1338,9 @@ patch_enable ()
wmvcore-WMCheckURlExtension)
enable_wmvcore_WMCheckURlExtension="$2"
;;
wmvcore-WMCreateSyncReaderPriv)
enable_wmvcore_WMCreateSyncReaderPriv="$2"
;;
wow64cpu-Wow64Transition)
enable_wow64cpu_Wow64Transition="$2"
;;
@ -7886,6 +7890,21 @@ if test "$enable_wmvcore_WMCheckURlExtension" -eq 1; then
) >> "$patchlist"
fi
# Patchset wmvcore-WMCreateSyncReaderPriv
# |
# | This patchset fixes the following Wine bugs:
# | * [#37327] wmvcore: Implement WMCreateSyncReaderPriv
# |
# | Modified files:
# | * dlls/wmvcore/wmvcore.spec, dlls/wmvcore/wmvcore_main.c
# |
if test "$enable_wmvcore_WMCreateSyncReaderPriv" -eq 1; then
patch_apply wmvcore-WMCreateSyncReaderPriv/0001-wmvcore-Implement-WMCreateSyncReaderPriv.patch
(
printf '%s\n' '+ { "Andrey Gusev", "wmvcore: Implement WMCreateSyncReaderPriv.", 1 },';
) >> "$patchlist"
fi
# Patchset wpcap-Dynamic_Linking
# |
# | Modified files:

View File

@ -0,0 +1,43 @@
From 7924a02651498da3a905ce8e41e1bc3f76f5a3d2 Mon Sep 17 00:00:00 2001
From: Andrey Gusev <andrey.goosev@gmail.com>
Date: Mon, 12 Nov 2018 14:54:32 +1100
Subject: [PATCH] wmvcore: Implement WMCreateSyncReaderPriv
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=37327
---
dlls/wmvcore/wmvcore.spec | 2 +-
dlls/wmvcore/wmvcore_main.c | 5 +++++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/dlls/wmvcore/wmvcore.spec b/dlls/wmvcore/wmvcore.spec
index 61c3c08..23d8caf 100644
--- a/dlls/wmvcore/wmvcore.spec
+++ b/dlls/wmvcore/wmvcore.spec
@@ -1,7 +1,7 @@
@ stdcall WMCheckURLExtension(wstr)
@ stdcall WMCheckURLScheme(wstr)
@ stub WMCreateBackupRestorerPrivate
-@ stub WMCreateSyncReaderPriv
+@ stdcall WMCreateSyncReaderPriv(ptr)
@ stub WMIsAvailableOffline
@ stub WMValidateData
@ stdcall -private DllRegisterServer()
diff --git a/dlls/wmvcore/wmvcore_main.c b/dlls/wmvcore/wmvcore_main.c
index 14014ee..0fa7b57 100644
--- a/dlls/wmvcore/wmvcore_main.c
+++ b/dlls/wmvcore/wmvcore_main.c
@@ -2122,6 +2122,11 @@ HRESULT WINAPI WMCreateSyncReader(IUnknown *pcert, DWORD rights, IWMSyncReader *
return E_NOTIMPL;
}
+HRESULT WINAPI WMCreateSyncReaderPriv(IWMSyncReader **syncreader)
+{
+ return WMCreateSyncReader(NULL, 0, syncreader);
+}
+
typedef struct {
IWMProfileManager IWMProfileManager_iface;
LONG ref;
--
1.9.1

View File

@ -0,0 +1 @@
Fixes: [37327] wmvcore: Implement WMCreateSyncReaderPriv