[PATCH 2/2] mshtmlmedia: Import MFPlat functions.

Mohamad Al-Jaf mohamadaljaf at gmail.com
Thu Apr 21 17:33:52 CDT 2022


On Windows 7, these functions are implemented
directly in this dll.

Signed-off-by: Mohamad Al-Jaf <mohamadaljaf at gmail.com>
---
 dlls/mshtmlmedia/Makefile.in      | 1 +
 dlls/mshtmlmedia/mshtmlmedia.spec | 8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/dlls/mshtmlmedia/Makefile.in b/dlls/mshtmlmedia/Makefile.in
index 35295737e51..bedeedd0a88 100644
--- a/dlls/mshtmlmedia/Makefile.in
+++ b/dlls/mshtmlmedia/Makefile.in
@@ -1,4 +1,5 @@
 MODULE    = mshtmlmedia.dll
+IMPORTS   = mfplat
 
 C_SRCS = \
 	main.c
diff --git a/dlls/mshtmlmedia/mshtmlmedia.spec b/dlls/mshtmlmedia/mshtmlmedia.spec
index 8303bf2c0f8..bf907573014 100644
--- a/dlls/mshtmlmedia/mshtmlmedia.spec
+++ b/dlls/mshtmlmedia/mshtmlmedia.spec
@@ -1,7 +1,7 @@
 @ stub DllAllThreadsDetach
 @ stdcall -private DllCanUnloadNow()
 @ stdcall -private DllGetClassObject(ptr ptr ptr)
-@ stub MFCreateDXGIDeviceManager
-@ stub MFCreateMFByteStreamOnStreamEx
-@ stub MFLockDXGIDeviceManager
-@ stub MFUnlockDXGIDeviceManager
+@ stdcall -import MFCreateDXGIDeviceManager(ptr ptr)
+@ stdcall -import MFCreateMFByteStreamOnStreamEx(ptr ptr)
+@ stdcall -import MFLockDXGIDeviceManager(ptr ptr)
+@ stdcall -import MFUnlockDXGIDeviceManager()
-- 
2.36.0




More information about the wine-devel mailing list