widl: Add support for function parameter flags to SLTG typelib generator.
[wine.git] / include / windows.security.isolation.idl
blob4147aefd646a0d5c03d6b7b036dde97c00ede11f
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";
29 namespace Windows.Security.Isolation {
30 typedef enum IsolatedWindowsEnvironmentHostError IsolatedWindowsEnvironmentHostError;
32 interface IIsolatedWindowsEnvironmentHostStatics;
34 runtimeclass IsolatedWindowsEnvironmentHost;
36 declare {
37 interface Windows.Foundation.Collections.IVectorView<Windows.Security.Isolation.IsolatedWindowsEnvironmentHostError>;
41 contractversion(3.0)
43 apicontract IsolatedWindowsEnvironmentContract
48 contract(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 1.0)
50 enum IsolatedWindowsEnvironmentHostError
52 AdminPolicyIsDisabledOrNotPresent = 0,
53 FeatureNotInstalled = 1,
54 HardwareRequirementsNotMet = 2,
55 RebootRequired = 3,
56 UnknownError = 4,
60 contract(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 1.0),
61 exclusiveto(Windows.Security.Isolation.IsolatedWindowsEnvironmentHost),
62 uuid(2c0e22c7-05a0-517a-b81c-6ee8790c381f)
64 interface IIsolatedWindowsEnvironmentHostStatics : IInspectable
66 [propget] HRESULT IsReady([out, retval] boolean *value);
67 [propget] HRESULT HostErrors([out, retval] Windows.Foundation.Collections.IVectorView<Windows.Security.Isolation.IsolatedWindowsEnvironmentHostError> **value);
71 contract(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 1.0),
72 marshaling_behavior(agile),
73 static(Windows.Security.Isolation.IIsolatedWindowsEnvironmentHostStatics, Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 1.0),
74 threading(both)
76 runtimeclass IsolatedWindowsEnvironmentHost