It is easier to add IMFGetService than importing whole idl file from
wine as diff is hugely entangled.
From 24e5568e8be29c1b7fb40adc521abaf5c176ca2a Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath <[email protected]>
Date: Wed, 17 Mar 2021 12:00:56 +0530
Subject: [PATCH] headers: Add IMFGetService in mfidl.idl.

Signed-off-by: Biswapriyo Nath <[email protected]>
---
 mingw-w64-headers/include/mfidl.idl | 9 +++++++++
 mingw-w64-headers/wine-import.sh    | 6 +++++-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/mingw-w64-headers/include/mfidl.idl 
b/mingw-w64-headers/include/mfidl.idl
index 9dcf51f..1ac68cc 100644
--- a/mingw-w64-headers/include/mfidl.idl
+++ b/mingw-w64-headers/include/mfidl.idl
@@ -89,6 +89,15 @@ interface IMFTopology : IMFAttributes
     HRESULT GetOutputNodeCollection([out] IMFCollection **ppCollection);
 }
 
+[
+    object,
+    uuid(fa993888-4383-415a-a930-dd472a8cf6f7)
+]
+interface IMFGetService : IUnknown
+{
+    HRESULT GetService([in] REFGUID guidService, [in] REFIID riid, [out, 
iid_is(riid)] LPVOID *ppvObject);
+}
+
 typedef LONGLONG MFTIME;
 
 typedef enum _MF_CLOCK_STATE {
diff --git a/mingw-w64-headers/wine-import.sh b/mingw-w64-headers/wine-import.sh
index 10a9317..fa47863 100755
--- a/mingw-w64-headers/wine-import.sh
+++ b/mingw-w64-headers/wine-import.sh
@@ -80,6 +80,7 @@ for f in \
        d3dx9tex.h \
        d3dx9xof.h \
        devpkey.h \
+       dinput.h \
        dls1.h \
        dls2.h \
        dmerror.h \
@@ -178,12 +179,14 @@ for f in \
        mmstream \
        mscoree \
        msctf \
+       mulres \
        netfw \
        netlistmgr \
        objectarray \
        optary \
        qedit \
-        relogger \
+       relogger \
+       rtworkq \
        spatialaudioclient \
        taskschd \
        thumbcache \
@@ -195,6 +198,7 @@ for f in \
        wincodecsdk \
        windowscontracts \
        windows.foundation.collections \
+       windows.media.speechsynthesis \
        wmdrmsdk \
        wmp \
        wmprealestate \
-- 
2.30.2

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to