mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-01-28 22:04:43 -08:00
Added mfplat-MFGetConfigurationDWORD patchset
This commit is contained in:
parent
8390ba0d95
commit
5b012f08d5
1
patches/mfplat-MFGetConfigurationDWORD/definition
Normal file
1
patches/mfplat-MFGetConfigurationDWORD/definition
Normal file
@ -0,0 +1 @@
|
||||
Fixes: [47757] - mfplat: Add MFGetConfigurationDWORD stub.
|
@ -0,0 +1,50 @@
|
||||
From 952b1a97b70dd5247631dbbf29ca2d361d047ed6 Mon Sep 17 00:00:00 2001
|
||||
From: Andrey Gusev <andrey.goosev@gmail.com>
|
||||
Date: Sun, 1 Sep 2019 18:34:53 +0300
|
||||
Subject: [PATCH] mfplat: Add DestroyPropVariant stub.
|
||||
|
||||
---
|
||||
dlls/mfplat/main.c | 13 +++++++++++++
|
||||
dlls/mfplat/mfplat.spec | 2 +-
|
||||
2 files changed, 14 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/mfplat/main.c b/dlls/mfplat/main.c
|
||||
index 42aecb5247..a74d472d15 100644
|
||||
--- a/dlls/mfplat/main.c
|
||||
+++ b/dlls/mfplat/main.c
|
||||
@@ -7629,6 +7629,19 @@ HRESULT WINAPI CreatePropertyStore(IPropertyStore **store)
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
+/***********************************************************************
|
||||
+ * DestroyPropVariant (mfplat.@)
|
||||
+ */
|
||||
+HRESULT WINAPI DestroyPropVariant(PROPVARIANT *pv)
|
||||
+{
|
||||
+ FIXME("%p stub!\n", pv);
|
||||
+
|
||||
+ if (!pv)
|
||||
+ return E_POINTER;
|
||||
+
|
||||
+ return E_NOTIMPL;
|
||||
+}
|
||||
+
|
||||
struct dxgi_device_manager
|
||||
{
|
||||
IMFDXGIDeviceManager IMFDXGIDeviceManager_iface;
|
||||
diff --git a/dlls/mfplat/mfplat.spec b/dlls/mfplat/mfplat.spec
|
||||
index 3e1b5e6376..18cefa936b 100644
|
||||
--- a/dlls/mfplat/mfplat.spec
|
||||
+++ b/dlls/mfplat/mfplat.spec
|
||||
@@ -11,7 +11,7 @@
|
||||
@ stub CopyPropVariant
|
||||
@ stub CreatePropVariant
|
||||
@ stdcall CreatePropertyStore(ptr)
|
||||
-@ stub DestroyPropVariant
|
||||
+@ stdcall DestroyPropVariant(ptr)
|
||||
@ stub GetAMSubtypeFromD3DFormat
|
||||
@ stub GetD3DFormatFromMFSubtype
|
||||
@ stub LFGetGlobalPool
|
||||
--
|
||||
2.21.0
|
||||
|
@ -0,0 +1,47 @@
|
||||
From 2e637109299000cbcffa3ad1da1a49e2b4b666d9 Mon Sep 17 00:00:00 2001
|
||||
From: Andrey Gusev <andrey.goosev@gmail.com>
|
||||
Date: Sun, 1 Sep 2019 17:40:05 +0300
|
||||
Subject: [PATCH] mfplat: Add MFGetConfigurationDWORD stub.
|
||||
|
||||
---
|
||||
dlls/mfplat/main.c | 10 ++++++++++
|
||||
dlls/mfplat/mfplat.spec | 2 +-
|
||||
2 files changed, 11 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/mfplat/main.c b/dlls/mfplat/main.c
|
||||
index 5cbf1212f7..42aecb5247 100644
|
||||
--- a/dlls/mfplat/main.c
|
||||
+++ b/dlls/mfplat/main.c
|
||||
@@ -2300,6 +2300,16 @@ static HRESULT attributes_deserialize_read(struct attr_serialize_context *contex
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
+/***********************************************************************
|
||||
+ * MFGetConfigurationDWORD (mfplat.@)
|
||||
+ */
|
||||
+HRESULT WINAPI MFGetConfigurationDWORD(void *unk1, void *unk2, void *unk3)
|
||||
+{
|
||||
+ FIXME("%p, %p, %p stub!\n", unk1, unk2, unk3);
|
||||
+
|
||||
+ return E_NOTIMPL;
|
||||
+}
|
||||
+
|
||||
/***********************************************************************
|
||||
* MFInitAttributesFromBlob (mfplat.@)
|
||||
*/
|
||||
diff --git a/dlls/mfplat/mfplat.spec b/dlls/mfplat/mfplat.spec
|
||||
index cc440c5ee0..3e1b5e6376 100644
|
||||
--- a/dlls/mfplat/mfplat.spec
|
||||
+++ b/dlls/mfplat/mfplat.spec
|
||||
@@ -89,7 +89,7 @@
|
||||
@ stub MFGetAdaptersAddresses
|
||||
@ stdcall MFGetAttributesAsBlob(ptr ptr long)
|
||||
@ stdcall MFGetAttributesAsBlobSize(ptr ptr)
|
||||
-@ stub MFGetConfigurationDWORD
|
||||
+@ stdcall MFGetConfigurationDWORD(ptr ptr ptr)
|
||||
@ stub MFGetConfigurationPolicy
|
||||
@ stub MFGetConfigurationStore
|
||||
@ stub MFGetConfigurationString
|
||||
--
|
||||
2.21.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user