Commit ca9df810 authored by Bernhard Kölbl's avatar Bernhard Kölbl Committed by Alexandre Julliard

include: Add missing required iface and retval for IMapView<K, V>.

In windows.foundation.collections.idl. Signed-off-by: 's avatarBernhard Kölbl <besentv@gmail.com> Signed-off-by: 's avatarRémi Bernon <rbernon@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent e5a71cad
......@@ -76,18 +76,6 @@ cpp_quote("#endif")
{
[
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)
]
interface IIterator<T> : IInspectable
......@@ -109,6 +97,29 @@ cpp_quote("#endif")
[
contract(Windows.Foundation.FoundationContract, 1.0),
uuid(02b51929-c1c4-4a7e-8940-0312b5c18500)
]
interface IKeyValuePair<K, V> : IInspectable
{
[propget] HRESULT Key([out, retval] K *key);
[propget] HRESULT Value([out, retval] V *value);
}
[
contract(Windows.Foundation.FoundationContract, 1.0),
uuid(e480ce40-a338-4ada-adcf-272272e48cb9)
]
interface IMapView<K, V> : IInspectable
requires IIterable<IKeyValuePair<K, V> *>
{
HRESULT Lookup([in] K key, [out, retval] V *value);
[propget] HRESULT Size([out, retval] unsigned int *size);
HRESULT HasKey([in] K key, [out, retval] boolean *found);
HRESULT Split([out] IMapView<K, V> **first, [out] IMapView<K, V> **second);
}
[
contract(Windows.Foundation.FoundationContract, 1.0),
uuid(bbe1fa4c-b0e3-4583-baef-1f1b2e483e56)
]
interface IVectorView<T> : IInspectable
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment