comctl32/tests: Use CRT allocation functions.
[wine.git] / include / windows.gaming.ui.idl
blobfc7e661ccf9e009a3e6b7300db0a3ca50db35350
1 /*
2 * Copyright 2022 Paul Gofman 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 #ifndef DO_NO_IMPORTS
24 import "inspectable.idl";
25 import "eventtoken.idl";
26 import "windowscontracts.idl";
27 import "windows.foundation.idl";
28 #endif
30 namespace Windows.Gaming.UI {
31 runtimeclass GameBar;
34 contract(Windows.Foundation.UniversalApiContract, 2.0),
35 exclusiveto(Windows.Gaming.UI.GameBar),
36 uuid(1db9a292-cc78-4173-be45-b61e67283ea7)
38 interface IGameBarStatics : IInspectable
40 [eventadd] HRESULT VisibilityChanged([in] Windows.Foundation.EventHandler<IInspectable *> *handler, [out, retval] EventRegistrationToken *token);
41 [eventremove] HRESULT VisibilityChanged([in] EventRegistrationToken token);
42 [eventadd] HRESULT IsInputRedirectedChanged([in] Windows.Foundation.EventHandler<IInspectable *> *handler, [out, retval] EventRegistrationToken *token);
43 [eventremove] HRESULT IsInputRedirectedChanged([in] EventRegistrationToken token);
44 [propget] HRESULT Visible([out, retval] boolean *value);
45 [propget] HRESULT IsInputRedirected([out, retval] boolean *value);
49 contract(Windows.Foundation.UniversalApiContract, 2.0),
50 marshaling_behavior(agile),
51 static(Windows.Gaming.UI.IGameBarStatics, Windows.Foundation.UniversalApiContract, 2.0),
52 threading(both)
54 runtimeclass GameBar