include: Add Windows.Gaming.Input.IGamepadStatics2 interface declaration.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Rémi Bernon 2022-03-08 10:55:25 +01:00 committed by Alexandre Julliard
parent 5518b29cfa
commit a9fbfa1b9c
1 changed files with 12 additions and 0 deletions

View File

@ -293,6 +293,18 @@ namespace Windows.Gaming.Input {
[propget] HRESULT Gamepads([out, retval] Windows.Foundation.Collections.IVectorView<Gamepad *> **value);
}
[
contract(Windows.Foundation.UniversalApiContract, 4.0),
exclusiveto(Windows.Gaming.Input.Gamepad),
uuid(42676dc5-0856-47c4-9213-b395504c3a3c)
]
interface IGamepadStatics2 : IInspectable
requires Windows.Gaming.Input.IGamepadStatics
{
HRESULT FromGameController([in] Windows.Gaming.Input.IGameController *controller,
[out, retval] Windows.Gaming.Input.Gamepad **value);
}
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
exclusiveto(Windows.Gaming.Input.Headset),