[PATCH 4/5] windows.gaming.input: Register Windows.Gaming.Input.Custom classes.
Rémi Bernon
rbernon at codeweavers.com
Tue Mar 1 02:17:08 CST 2022
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
dlls/windows.gaming.input/classes.idl | 15 +++++++++++++++
include/windows.gaming.input.custom.idl | 2 ++
include/windows.gaming.input.idl | 2 ++
3 files changed, 19 insertions(+)
diff --git a/dlls/windows.gaming.input/classes.idl b/dlls/windows.gaming.input/classes.idl
index c9cb91e3182..fd52d8ebf66 100644
--- a/dlls/windows.gaming.input/classes.idl
+++ b/dlls/windows.gaming.input/classes.idl
@@ -20,4 +20,19 @@
#pragma makedep register
+#ifdef __WIDL__
+#pragma winrt ns_prefix
+#endif
+
+import "inspectable.idl";
+import "asyncinfo.idl";
+import "eventtoken.idl";
+import "windowscontracts.idl";
+import "windows.foundation.idl";
+import "windows.devices.haptics.idl";
+import "windows.gaming.input.forcefeedback.idl";
+import "windows.system.idl";
+
+#define DO_NO_IMPORTS
#include "windows.gaming.input.idl"
+#include "windows.gaming.input.custom.idl"
diff --git a/include/windows.gaming.input.custom.idl b/include/windows.gaming.input.custom.idl
index a95ec9db482..fe20ce3d0cc 100644
--- a/include/windows.gaming.input.custom.idl
+++ b/include/windows.gaming.input.custom.idl
@@ -20,6 +20,7 @@
#pragma winrt ns_prefix
#endif
+#ifndef DO_NO_IMPORTS
import "inspectable.idl";
import "asyncinfo.idl";
import "eventtoken.idl";
@@ -27,6 +28,7 @@ import "windowscontracts.idl";
import "windows.foundation.idl";
import "windows.gaming.input.idl";
import "windows.storage.streams.idl";
+#endif
namespace Windows.Gaming.Input.Custom {
typedef enum XusbDeviceSubtype XusbDeviceSubtype;
diff --git a/include/windows.gaming.input.idl b/include/windows.gaming.input.idl
index a7d5e71381d..90253b3a8f6 100644
--- a/include/windows.gaming.input.idl
+++ b/include/windows.gaming.input.idl
@@ -20,6 +20,7 @@
#pragma winrt ns_prefix
#endif
+#ifndef DO_NO_IMPORTS
import "inspectable.idl";
import "asyncinfo.idl";
import "eventtoken.idl";
@@ -28,6 +29,7 @@ import "windows.foundation.idl";
import "windows.devices.haptics.idl";
import "windows.gaming.input.forcefeedback.idl";
import "windows.system.idl";
+#endif
namespace Windows.Gaming.Input {
typedef enum GamepadButtons GamepadButtons;
--
2.34.1
More information about the wine-devel
mailing list