include: Add IMapView interface.

Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jactry Zeng 2021-10-29 16:52:53 +08:00 committed by Alexandre Julliard
parent aa234f3a58
commit b74523bb34
1 changed files with 12 additions and 0 deletions

View File

@ -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)