Rémi Bernon : include: Add IWMPMedia3 interface to wmp.idl.

Alexandre Julliard julliard at winehq.org
Fri Jan 29 15:10:20 CST 2021


Module: wine
Branch: master
Commit: 4b74eb09a6ebca81c79cce84a67a28ef995df7e0
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=4b74eb09a6ebca81c79cce84a67a28ef995df7e0

Author: Rémi Bernon <rbernon at codeweavers.com>
Date:   Thu Jan 28 19:14:53 2021 +0100

include: Add IWMPMedia3 interface to wmp.idl.

Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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; */




More information about the wine-cvs mailing list