It's in the .NET System namespace which translates to the Windows.Foundation
namespace in winrt interfaces.
---
.../include/windows.foundation.collections.idl | 6 ------
mingw-w64-headers/include/windows.foundation.idl | 8 ++++++++
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/mingw-w64-headers/include/windows.foundation.collections.idl
b/mingw-w64-headers/include/windows.foundation.collections.idl
index ed05016b9..15866c290 100644
--- a/mingw-w64-headers/include/windows.foundation.collections.idl
+++ b/mingw-w64-headers/include/windows.foundation.collections.idl
@@ -41,12 +41,6 @@ cpp_quote("extern \"C\" {")
cpp_quote("#endif")
#ifdef __WIDL__
- [
- contract(Windows.Foundation.FoundationContract, 1.0),
- uuid(9de1c535-6ae1-11e0-84e1-18a905bcc53f)
- ]
- delegate HRESULT EventHandler<T>([in] IInspectable *sender, [in] T
args);
-
namespace Collections
{
[
diff --git a/mingw-w64-headers/include/windows.foundation.idl
b/mingw-w64-headers/include/windows.foundation.idl
index 7cc35209f..85e630c54 100644
--- a/mingw-w64-headers/include/windows.foundation.idl
+++ b/mingw-w64-headers/include/windows.foundation.idl
@@ -60,6 +60,14 @@ namespace Windows {
HRESULT Close();
}
+#ifdef __WIDL__
+ [
+ contract(Windows.Foundation.FoundationContract, 1.0),
+ uuid(9de1c535-6ae1-11e0-84e1-18a905bcc53f)
+ ]
+ delegate HRESULT EventHandler<TResult>([in] IInspectable *sender, [in]
TResult args);
+#endif
+
[uuid(5A648006-843A-4DA9-865B-9D26E5DFAD7B)]
interface IAsyncAction : IAsyncInfo {
[propput] HRESULT Completed(AsyncActionCompletedHandler* handler);
--
2.29.2
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public