win32u: Store the service table entry directly into the ntdll variable.
[wine.git] / include / windows.security.credentials.ui.idl
blob3457ea1ec3381272a0526894cd1bcc9e7c3155d3
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.storage.streams.idl";
30 namespace Windows.Security.Credentials.UI {
31 typedef enum UserConsentVerificationResult UserConsentVerificationResult;
32 typedef enum UserConsentVerifierAvailability UserConsentVerifierAvailability;
34 interface IUserConsentVerifierStatics;
36 runtimeclass UserConsentVerifier;
38 declare {
39 interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Security.Credentials.UI.UserConsentVerificationResult>;
40 interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Security.Credentials.UI.UserConsentVerifierAvailability>;
41 interface Windows.Foundation.IAsyncOperation<Windows.Security.Credentials.UI.UserConsentVerificationResult>;
42 interface Windows.Foundation.IAsyncOperation<Windows.Security.Credentials.UI.UserConsentVerifierAvailability>;
46 contract(Windows.Foundation.UniversalApiContract, 1.0)
48 enum UserConsentVerificationResult
50 Verified = 0,
51 DeviceNotPresent = 1,
52 NotConfiguredForUser = 2,
53 DisabledByPolicy = 3,
54 DeviceBusy = 4,
55 RetriesExhausted = 5,
56 Canceled = 6,
60 contract(Windows.Foundation.UniversalApiContract, 1.0)
62 enum UserConsentVerifierAvailability
64 Available = 0,
65 DeviceNotPresent = 1,
66 NotConfiguredForUser = 2,
67 DisabledByPolicy = 3,
68 DeviceBusy = 4,
72 contract(Windows.Foundation.UniversalApiContract, 1.0),
73 exclusiveto(Windows.Security.Credentials.UI.UserConsentVerifier),
74 uuid(af4f3f91-564c-4ddc-b8b5-973447627c65)
76 interface IUserConsentVerifierStatics : IInspectable
78 HRESULT CheckAvailabilityAsync([out, retval] Windows.Foundation.IAsyncOperation<Windows.Security.Credentials.UI.UserConsentVerifierAvailability> **result);
79 HRESULT RequestVerificationAsync([in] HSTRING message, [out, retval] Windows.Foundation.IAsyncOperation<Windows.Security.Credentials.UI.UserConsentVerificationResult> **result);
83 contract(Windows.Foundation.UniversalApiContract, 1.0),
84 marshaling_behavior(agile),
85 static(Windows.Security.Credentials.UI.IUserConsentVerifierStatics, Windows.Foundation.UniversalApiContract, 1.0),
86 threading(both)
88 runtimeclass UserConsentVerifier