This allows stronger typing in the user code.
---
 .../include/windows.storage.accesscache.h            | 12 ++++++------
 .../include/windows.storage.accesscache.idl          |  4 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/mingw-w64-headers/include/windows.storage.accesscache.h 
b/mingw-w64-headers/include/windows.storage.accesscache.h
index 1b4de62a..5b8202ed 100644
--- a/mingw-w64-headers/include/windows.storage.accesscache.h
+++ b/mingw-w64-headers/include/windows.storage.accesscache.h
@@ -280,7 +280,7 @@ namespace ABI {
 
                     virtual HRESULT STDMETHODCALLTYPE GetFileAsync(
                         HSTRING token,
-                        IInspectable **operation) = 0;
+                        IAsyncOperation_IStorageFile **operation) = 0;
 
                     virtual HRESULT STDMETHODCALLTYPE GetFolderAsync(
                         HSTRING token,
@@ -294,7 +294,7 @@ namespace ABI {
                     virtual HRESULT STDMETHODCALLTYPE GetFileWithOptionsAsync(
                         HSTRING token,
                         AccessCacheOptions options,
-                        IInspectable **operation) = 0;
+                        IAsyncOperation_IStorageFile **operation) = 0;
 
                     virtual HRESULT STDMETHODCALLTYPE 
GetFolderWithOptionsAsync(
                         HSTRING token,
@@ -391,7 +391,7 @@ typedef struct 
__x_ABI_CWindows_CStorage_CAccessCache_CIStorageItemAccessListVtb
     HRESULT (STDMETHODCALLTYPE *GetFileAsync)(
         __x_ABI_CWindows_CStorage_CAccessCache_CIStorageItemAccessList *This,
         HSTRING token,
-        IInspectable **operation);
+        __x_ABI_CWindows_CStorage_CIAsyncOperation_IStorageFile **operation);
 
     HRESULT (STDMETHODCALLTYPE *GetFolderAsync)(
         __x_ABI_CWindows_CStorage_CAccessCache_CIStorageItemAccessList *This,
@@ -408,7 +408,7 @@ typedef struct 
__x_ABI_CWindows_CStorage_CAccessCache_CIStorageItemAccessListVtb
         __x_ABI_CWindows_CStorage_CAccessCache_CIStorageItemAccessList *This,
         HSTRING token,
         AccessCacheOptions options,
-        IInspectable **operation);
+        __x_ABI_CWindows_CStorage_CIAsyncOperation_IStorageFile **operation);
 
     HRESULT (STDMETHODCALLTYPE *GetFolderWithOptionsAsync)(
         __x_ABI_CWindows_CStorage_CAccessCache_CIStorageItemAccessList *This,
@@ -512,7 +512,7 @@ static FORCEINLINE HRESULT 
__x_ABI_CWindows_CStorage_CAccessCache_CIStorageItemA
 static FORCEINLINE HRESULT 
__x_ABI_CWindows_CStorage_CAccessCache_CIStorageItemAccessList_GetItemAsync(__x_ABI_CWindows_CStorage_CAccessCache_CIStorageItemAccessList*
 This,HSTRING token,IInspectable **operation) {
     return This->lpVtbl->GetItemAsync(This,token,operation);
 }
-static FORCEINLINE HRESULT 
__x_ABI_CWindows_CStorage_CAccessCache_CIStorageItemAccessList_GetFileAsync(__x_ABI_CWindows_CStorage_CAccessCache_CIStorageItemAccessList*
 This,HSTRING token,IInspectable **operation) {
+static FORCEINLINE HRESULT 
__x_ABI_CWindows_CStorage_CAccessCache_CIStorageItemAccessList_GetFileAsync(__x_ABI_CWindows_CStorage_CAccessCache_CIStorageItemAccessList*
 This,HSTRING token,__x_ABI_CWindows_CStorage_CIAsyncOperation_IStorageFile 
**operation) {
     return This->lpVtbl->GetFileAsync(This,token,operation);
 }
 static FORCEINLINE HRESULT 
__x_ABI_CWindows_CStorage_CAccessCache_CIStorageItemAccessList_GetFolderAsync(__x_ABI_CWindows_CStorage_CAccessCache_CIStorageItemAccessList*
 This,HSTRING token,IInspectable **operation) {
@@ -521,7 +521,7 @@ static FORCEINLINE HRESULT 
__x_ABI_CWindows_CStorage_CAccessCache_CIStorageItemA
 static FORCEINLINE HRESULT 
__x_ABI_CWindows_CStorage_CAccessCache_CIStorageItemAccessList_GetItemWithOptionsAsync(__x_ABI_CWindows_CStorage_CAccessCache_CIStorageItemAccessList*
 This,HSTRING token,AccessCacheOptions options,IInspectable **operation) {
     return This->lpVtbl->GetItemWithOptionsAsync(This,token,options,operation);
 }
-static FORCEINLINE HRESULT 
__x_ABI_CWindows_CStorage_CAccessCache_CIStorageItemAccessList_GetFileWithOptionsAsync(__x_ABI_CWindows_CStorage_CAccessCache_CIStorageItemAccessList*
 This,HSTRING token,AccessCacheOptions options,IInspectable **operation) {
+static FORCEINLINE HRESULT 
__x_ABI_CWindows_CStorage_CAccessCache_CIStorageItemAccessList_GetFileWithOptionsAsync(__x_ABI_CWindows_CStorage_CAccessCache_CIStorageItemAccessList*
 This,HSTRING token,AccessCacheOptions 
options,__x_ABI_CWindows_CStorage_CIAsyncOperation_IStorageFile **operation) {
     return This->lpVtbl->GetFileWithOptionsAsync(This,token,options,operation);
 }
 static FORCEINLINE HRESULT 
__x_ABI_CWindows_CStorage_CAccessCache_CIStorageItemAccessList_GetFolderWithOptionsAsync(__x_ABI_CWindows_CStorage_CAccessCache_CIStorageItemAccessList*
 This,HSTRING token,AccessCacheOptions options,IInspectable **operation) {
diff --git a/mingw-w64-headers/include/windows.storage.accesscache.idl 
b/mingw-w64-headers/include/windows.storage.accesscache.idl
index 120b2376..bddb3449 100644
--- a/mingw-w64-headers/include/windows.storage.accesscache.idl
+++ b/mingw-w64-headers/include/windows.storage.accesscache.idl
@@ -48,10 +48,10 @@ namespace Windows {
           HRESULT AddOrReplaceOverloadDefaultMetadata(HSTRING token, 
Windows.Storage.IStorageItem* file);
           HRESULT AddOrReplace(HSTRING token, Windows.Storage.IStorageItem* 
file, HSTRING metadata);
           HRESULT GetItemAsync(HSTRING token, 
/*IAsyncOperation<IStorageItem*>*/IInspectable** operation);
-          HRESULT GetFileAsync(HSTRING token, 
/*IAsyncOperation<StorageFile*>*/ IInspectable** operation);
+          HRESULT GetFileAsync(HSTRING token, IAsyncOperation_IStorageFile** 
operation);
           HRESULT GetFolderAsync(HSTRING token, 
/*IAsyncOperation<IStorageFolder*>*/IInspectable** operation);
           HRESULT GetItemWithOptionsAsync(HSTRING token, AccessCacheOptions 
options, /*IAsyncOperation<IStorageItem*>*/IInspectable** operation);
-          HRESULT GetFileWithOptionsAsync(HSTRING token, AccessCacheOptions 
options, /*IAsyncOperation<StorageFile*>*/ IInspectable** operation);
+          HRESULT GetFileWithOptionsAsync(HSTRING token, AccessCacheOptions 
options, IAsyncOperation_IStorageFile** operation);
           HRESULT GetFolderWithOptionsAsync(HSTRING token, AccessCacheOptions 
options, /*IAsyncOperation<IStorageFolder*>*/IInspectable** operation);
           HRESULT Remove(HSTRING token);
           HRESULT ContainsItem(HSTRING token, boolean* value);
-- 
2.29.2



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

Reply via email to