[PATCH 4/6] include: Add Windows.Gaming.Input.Custom.ICustomGameControllerFactory declaration.
Rémi Bernon
rbernon at codeweavers.com
Mon Feb 28 02:44:05 CST 2022
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
include/windows.gaming.input.custom.idl | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/include/windows.gaming.input.custom.idl b/include/windows.gaming.input.custom.idl
index d24f07f02e1..2338e3be166 100644
--- a/include/windows.gaming.input.custom.idl
+++ b/include/windows.gaming.input.custom.idl
@@ -31,6 +31,7 @@ import "windows.storage.streams.idl";
namespace Windows.Gaming.Input.Custom {
typedef struct GameControllerVersionInfo GameControllerVersionInfo;
interface IGameControllerProvider;
+ interface ICustomGameControllerFactory;
[contract(Windows.Foundation.UniversalApiContract, 3.0)]
struct GameControllerVersionInfo
@@ -53,4 +54,16 @@ namespace Windows.Gaming.Input.Custom {
[propget] HRESULT HardwareVersionInfo([out, retval] Windows.Gaming.Input.Custom.GameControllerVersionInfo *value);
[propget] HRESULT IsConnected([out, retval] boolean *value);
}
+
+ [
+ contract(Windows.Foundation.UniversalApiContract, 3.0),
+ uuid(69a0ae5e-758e-4cbe-ace6-62155fe9126f)
+ ]
+ interface ICustomGameControllerFactory : IInspectable
+ {
+ HRESULT CreateGameController([in] Windows.Gaming.Input.Custom.IGameControllerProvider *provider,
+ [out, retval] IInspectable **value);
+ HRESULT OnGameControllerAdded([in] Windows.Gaming.Input.IGameController *value);
+ HRESULT OnGameControllerRemoved([in] Windows.Gaming.Input.IGameController *value);
+ }
}
--
2.34.1
More information about the wine-devel
mailing list