[PATCH 4/4] include: Add IWMPMedia3 interface to wmp.idl.

Rémi Bernon rbernon at codeweavers.com
Thu Jan 28 12:14:53 CST 2021


Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
 include/wmp.idl | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/include/wmp.idl b/include/wmp.idl
index 2a438b00ce7..ac2fa27effc 100644
--- a/include/wmp.idl
+++ b/include/wmp.idl
@@ -855,6 +855,21 @@ library WMPLib {
         HRESULT error([out, retval] IWMPErrorItem **out);
     }
 
+    [
+        odl,
+        uuid(f118efc7-f03a-4fb4-99c9-1c02a5c1065b),
+        dual,
+        oleautomation
+    ]
+    interface IWMPMedia3 : IWMPMedia2
+    {
+        [id(0x0301)]
+        HRESULT getAttributeCountByType([in] BSTR type, [in] BSTR language, [out, retval] long *out);
+
+        [id(0x0302)]
+        HRESULT getItemInfoByType([in] BSTR type, [in] BSTR language, [in] long index, [out, retval] VARIANT *out);
+    }
+
     [
         odl,
         uuid(a12dcf7d-14ab-4c1b-a8cd-63909f06025b),
@@ -1486,7 +1501,7 @@ library WMPLib {
         interface IWMPDVD;
         interface IWMPControls2;
         interface IWMPMedia2;
-        /* interface IWMPMedia3; */
+        interface IWMPMedia3;
         /* interface IWMPMetadataPicture; */
         /* interface IWMPMetadataText; */
         /* interface IWMPSettings2; */
-- 
2.30.0




More information about the wine-devel mailing list