Jactry Zeng : include: Add IMapView interface.

Alexandre Julliard julliard at winehq.org
Wed Nov 3 16:42:01 CDT 2021


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

Author: Jactry Zeng <jzeng at codeweavers.com>
Date:   Fri Oct 29 16:52:53 2021 +0800

include: Add IMapView interface.

Signed-off-by: Jactry Zeng <jzeng at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/windows.foundation.collections.idl | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/include/windows.foundation.collections.idl b/include/windows.foundation.collections.idl
index b0b9430048b..876e15336a2 100644
--- a/include/windows.foundation.collections.idl
+++ b/include/windows.foundation.collections.idl
@@ -74,6 +74,18 @@ cpp_quote("#endif")
 
         namespace Collections
         {
+            [
+                contract(Windows.Foundation.FoundationContract, 1.0),
+                uuid(e480ce40-a338-4ada-adcf-272272e48cb9)
+            ]
+            interface IMapView<K, V> : IInspectable
+            {
+                HRESULT Lookup([in] K key, [out] V *value);
+                [propget] HRESULT Size([out] unsigned int *size);
+                HRESULT HasKey([in] K key, [out] boolean *found);
+                HRESULT Split([out] IMapView<K, V> **first, [out] IMapView<K, V> **second);
+            }
+
             [
                 contract(Windows.Foundation.FoundationContract, 1.0),
                 uuid(6a79e863-4300-459a-9966-cbb660963ee1)




More information about the wine-cvs mailing list