See
https://docs.microsoft.com/en-us/uwp/api/windows.foundation.typedeventhandler-2
---
mingw-w64-headers/include/windows.foundation.idl | 7 ++++++-
mingw-w64-headers/include/windows.storage.idl | 3 ---
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/mingw-w64-headers/include/windows.foundation.idl
b/mingw-w64-headers/include/windows.foundation.idl
index a9ce9196a..7bcc5f69c 100644
--- a/mingw-w64-headers/include/windows.foundation.idl
+++ b/mingw-w64-headers/include/windows.foundation.idl
@@ -30,7 +30,6 @@ namespace Windows {
interface IAsyncAction;
interface IAsyncOperation<T>;
interface AsyncActionCompletedHandler; // delegate
- interface TypedEventHandler; // delegate
struct DateTime;
}
}
@@ -63,6 +62,12 @@ namespace Windows {
]
delegate HRESULT EventHandler<TResult>([in] IInspectable *sender, [in]
TResult args);
+ [
+ contract(Windows.Foundation.FoundationContract, 1.0),
+ uuid(9de1c534-6ae1-11e0-84e1-18a905bcc53f)
+ ]
+ delegate HRESULT TypedEventHandler<TSender,TArgs>(TSender sender, TArgs
args);
+
[
contract(Windows.Foundation.FoundationContract, 1.0),
uuid(fcdcf02c-e5d8-4478-915a-4d90b74b83a5)
diff --git a/mingw-w64-headers/include/windows.storage.idl
b/mingw-w64-headers/include/windows.storage.idl
index f25257fd0..6949f3089 100644
--- a/mingw-w64-headers/include/windows.storage.idl
+++ b/mingw-w64-headers/include/windows.storage.idl
@@ -13,9 +13,6 @@ import "hstring.idl";
import "windows.foundation.idl";
namespace Windows {
- namespace Foundation {
- interface TypedEventHandler;
- }
namespace Storage {
interface IStorageItem;
interface IStorageFolder;
--
2.29.2
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public