[PATCH 4/5] include: Add Windows.Gaming.Input.IGamepadStatics2 interface declaration.
Rémi Bernon
rbernon at codeweavers.com
Tue Mar 8 03:55:25 CST 2022
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
include/windows.gaming.input.idl | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/include/windows.gaming.input.idl b/include/windows.gaming.input.idl
index 6a5fc8af1ee..5bf94f78820 100644
--- a/include/windows.gaming.input.idl
+++ b/include/windows.gaming.input.idl
@@ -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),
--
2.35.1
More information about the wine-devel
mailing list