See 
https://docs.microsoft.com/en-us/uwp/api/windows.storage.applicationdatasetversionhandler
---
 mingw-w64-headers/include/windows.storage.idl | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/mingw-w64-headers/include/windows.storage.idl 
b/mingw-w64-headers/include/windows.storage.idl
index 6949f3089..08d684829 100644
--- a/mingw-w64-headers/include/windows.storage.idl
+++ b/mingw-w64-headers/include/windows.storage.idl
@@ -20,7 +20,6 @@ namespace Windows {
     interface IApplicationDataStatics;
     interface IApplicationDataSetVersionHandler;
     interface ApplicationDataContainer;
-    // delegate  ApplicationDataSetVersionHandler;
     interface ISetVersionRequest;
     interface ISetVersionDeferral;
     typedef enum StorageDeleteOption StorageDeleteOption;
@@ -78,6 +77,14 @@ namespace Windows {
       OpenIfExists
     };
 
+#ifdef __WIDL__
+    [
+        contract(Windows.Foundation.FoundationContract, 1.0),
+        uuid(a05791e6-cc9f-4687-acab-a364fd785463)
+    ]
+    delegate HRESULT ApplicationDataSetVersionHandler(ISetVersionRequest* 
setVersionRequest);
+#endif
+
     [uuid(4207A996-CA2F-42F7-BDE8-8B10457A7F30)]
     interface IStorageItem : IInspectable
     {
@@ -157,11 +164,6 @@ namespace Windows {
       [propget] HRESULT Current(IApplicationData** data);
     }
 
-    [uuid(A05791E6-CC9F-4687-ACAB-A364FD785463)]
-    interface IApplicationDataSetVersionHandler : IUnknown {
-      HRESULT Invoke(ISetVersionRequest* setVersionRequest);
-    }
-
     [uuid(B9C76B9B-1056-4E69-8330-162619956F9B)]
     interface ISetVersionRequest : IInspectable {
       [propget] HRESULT CurrentVersion(UINT32* currentVersion);
-- 
2.29.2



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

Reply via email to