user32/tests: Account for some messages from dual-monitor setups.
[wine.git] / include / windows.networking.connectivity.idl
blob8c6489ba13bde7a55b0fe11c750e4732b2228b91
1 /*
2 * Copyright (C) 2023 Mohamad Al-Jaf
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifdef __WIDL__
20 #pragma winrt ns_prefix
21 #endif
23 import "inspectable.idl";
24 import "asyncinfo.idl";
25 import "eventtoken.idl";
26 import "windowscontracts.idl";
27 import "windows.foundation.idl";
28 /* import "windows.networking.idl"; */
29 import "windows.storage.streams.idl";
31 namespace Windows.Networking.Connectivity {
32 interface IIPInformation;
33 interface INetworkAdapter;
35 runtimeclass IPInformation;
36 runtimeclass NetworkAdapter;
39 contract(Windows.Foundation.UniversalApiContract, 1.0),
40 exclusiveto(Windows.Networking.Connectivity.IPInformation),
41 uuid(d85145e0-138f-47d7-9b3a-36bb488cef33)
43 interface IIPInformation : IInspectable
45 [propget] HRESULT NetworkAdapter([out, retval] Windows.Networking.Connectivity.NetworkAdapter **value);
46 [propget] HRESULT PrefixLength([out, retval] Windows.Foundation.IReference<BYTE> **value);
50 contract(Windows.Foundation.UniversalApiContract, 1.0),
51 marshaling_behavior(agile)
53 runtimeclass IPInformation
55 [default] interface Windows.Networking.Connectivity.IIPInformation;
59 contract(Windows.Foundation.UniversalApiContract, 1.0),
60 marshaling_behavior(agile),
62 runtimeclass NetworkAdapter
64 [default] interface Windows.Networking.Connectivity.INetworkAdapter;