The casing was wrong in 2c428051a1717b643c26049b67e5d6acc22d994f.
Also use IAsyncAction with its proper namespace, no need to use a dummy
IInspectable.
---
mingw-w64-headers/include/windows.foundation.idl | 2 +-
mingw-w64-headers/include/windows.storage.idl | 15 +++++++--------
.../include/windows.system.threading.idl | 1 -
3 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/mingw-w64-headers/include/windows.foundation.idl
b/mingw-w64-headers/include/windows.foundation.idl
index b7b842b6d..cfacff0d7 100644
--- a/mingw-w64-headers/include/windows.foundation.idl
+++ b/mingw-w64-headers/include/windows.foundation.idl
@@ -56,7 +56,7 @@ namespace Windows {
}
[uuid(5A648006-843A-4DA9-865B-9D26E5DFAD7B)]
- interface IASyncAction : IAsyncInfo {
+ interface IAsyncAction : IAsyncInfo {
[propput] HRESULT Completed(AsyncActionCompletedHandler* handler);
[propget] HRESULT Completed(AsyncActionCompletedHandler** handler);
HRESULT GetResults();
diff --git a/mingw-w64-headers/include/windows.storage.idl
b/mingw-w64-headers/include/windows.storage.idl
index eac686e41..dc7057e3d 100644
--- a/mingw-w64-headers/include/windows.storage.idl
+++ b/mingw-w64-headers/include/windows.storage.idl
@@ -14,7 +14,6 @@ import "windows.foundation.idl";
namespace Windows {
namespace Foundation {
- interface IAsyncAction;
interface TypedEventHandler;
//struct EventRegistrationToken;
@@ -91,10 +90,10 @@ namespace Windows {
[uuid(4207A996-CA2F-42F7-BDE8-8B10457A7F30)]
interface IStorageItem : IInspectable
{
- HRESULT RenameAsyncOverloadDefaultOptions(HSTRING desiredName,
/*IAsyncAction*/ IInspectable** action);
- HRESULT RenameAsync(HSTRING desiredName, NameCollisionOption option,
/*IAsyncAction*/ IInspectable** action);
- HRESULT DeleteAsyncOverloadDefaultOptions(/*IAsyncAction*/
IInspectable** action);
- HRESULT DeleteAsync(StorageDeleteOption option, /*IAsyncAction*/
IInspectable** action);
+ HRESULT RenameAsyncOverloadDefaultOptions(HSTRING desiredName,
Windows.Foundation.IAsyncAction** action);
+ HRESULT RenameAsync(HSTRING desiredName, NameCollisionOption option,
Windows.Foundation.IAsyncAction** action);
+ HRESULT
DeleteAsyncOverloadDefaultOptions(Windows.Foundation.IAsyncAction** action);
+ HRESULT DeleteAsync(StorageDeleteOption option,
Windows.Foundation.IAsyncAction** action);
HRESULT
GetBasicPropertiesAsync(/*IAsyncOperation<Windows.Storage.FileProperties.BasicProperties*>*/
IInspectable** action);
[propget] HRESULT Name(HSTRING *value);
[propget] HRESULT Path(HSTRING *value);
@@ -143,9 +142,9 @@ namespace Windows {
[uuid(C3DA6FB7-B744-4B45-B0B8-223A0938D0DC)]
interface IApplicationData : IInspectable {
[propget] HRESULT Version(int* value);
- HRESULT SetVersionAsync(int desiredVersion,
IApplicationDataSetVersionHandler* handler, /*IAsyncAction*/ IInspectable**
setVersionOperation);
- HRESULT ClearAllAsync(/*IAsyncAction*/ IInspectable** clearOperation);
- HRESULT ClearAsync(ApplicationDataLocality locality, /*IAsyncAction*/
IInspectable** clearOperation);
+ HRESULT SetVersionAsync(int desiredVersion,
IApplicationDataSetVersionHandler* handler, Windows.Foundation.IAsyncAction**
setVersionOperation);
+ HRESULT ClearAllAsync(Windows.Foundation.IAsyncAction** clearOperation);
+ HRESULT ClearAsync(ApplicationDataLocality locality,
Windows.Foundation.IAsyncAction** clearOperation);
[propget] HRESULT LocalSettings(IApplicationDataContainer** value);
[propget] HRESULT RoamingSettings(IApplicationDataContainer** value);
[propget] HRESULT LocalFolder(IStorageFolder** value);
diff --git a/mingw-w64-headers/include/windows.system.threading.idl
b/mingw-w64-headers/include/windows.system.threading.idl
index 86458502c..ab5054981 100644
--- a/mingw-w64-headers/include/windows.system.threading.idl
+++ b/mingw-w64-headers/include/windows.system.threading.idl
@@ -13,7 +13,6 @@ import "windows.foundation.idl";
namespace Windows {
namespace Foundation {
- interface IAsyncAction;
struct TimeSpan;
}
--
2.29.2
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public