---
 mingw-w64-headers/include/windows.foundation.idl | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/mingw-w64-headers/include/windows.foundation.idl 
b/mingw-w64-headers/include/windows.foundation.idl
index 7bcc5f69c..0c140ee4a 100644
--- a/mingw-w64-headers/include/windows.foundation.idl
+++ b/mingw-w64-headers/include/windows.foundation.idl
@@ -29,7 +29,6 @@ namespace Windows {
     interface IAsyncInfo;
     interface IAsyncAction;
     interface IAsyncOperation<T>;
-    interface AsyncActionCompletedHandler; // delegate
     struct    DateTime;
   }
 }
@@ -56,6 +55,12 @@ namespace Windows {
     }
 
 #ifdef __WIDL__
+    [
+        contract(Windows.Foundation.FoundationContract, 1.0),
+        uuid(a4ed5c81-76c9-40bd-8be6-b1d90fb20ae7)
+    ]
+    delegate HRESULT AsyncActionCompletedHandler(IAsyncAction *asyncAction, 
AsyncStatus status);
+
     [
         contract(Windows.Foundation.FoundationContract, 1.0),
         uuid(9de1c535-6ae1-11e0-84e1-18a905bcc53f)
@@ -91,11 +96,5 @@ namespace Windows {
       [propget] HRESULT Completed(AsyncActionCompletedHandler** handler);
       HRESULT GetResults();
     }
-
-    [uuid(A4ED5C81-76C9-40BD-8BE6-B1D90FB20AE7)]
-    interface AsyncActionCompletedHandler : IUnknown {
-      //FIXME: should support cyclic dependency
-      HRESULT Invoke(IAsyncAction *asyncAction, AsyncStatus status);
-    }
   }
 }
-- 
2.29.2



_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to