mstask: Don't assume a ONCE trigger is on the current day.
[wine.git] / include / windows.system.idl
blobaaf5ecd69a10ecb99334f6e75902871210a04862
1 /*
2 * Copyright 2021 RĂ©mi Bernon for CodeWeavers
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 {
30 namespace System {
31 interface IUser;
32 interface IUserStatics;
33 interface IUserChangedEventArgs;
34 interface IUserChangedEventArgs2;
35 runtimeclass User;
36 runtimeclass UserChangedEventArgs;
40 namespace Windows {
41 namespace System {
43 contract(Windows.Foundation.UniversalApiContract, 1.0),
44 exclusiveto(Windows.System.UserChangedEventArgs),
45 uuid(086459dc-18c6-48db-bc99-724fb9203ccc)
47 interface IUserChangedEventArgs : IInspectable
49 [propget] HRESULT User([out, retval] Windows.System.User** value);
53 contract(Windows.Foundation.UniversalApiContract, 1.0),
54 marshaling_behavior(agile),
55 static(Windows.System.IUserStatics, Windows.Foundation.UniversalApiContract, 1.0),
56 threading(both),
58 runtimeclass User
60 [default] interface Windows.System.IUser;
64 contract(Windows.Foundation.UniversalApiContract, 1.0),
65 marshaling_behavior(agile)
67 runtimeclass UserChangedEventArgs
69 [default] interface Windows.System.IUserChangedEventArgs;
70 [contract(Windows.Foundation.UniversalApiContract, 10.0)] interface Windows.System.IUserChangedEventArgs2;