No need to declare it anywhere else.
---
 .../include/windows.foundation.collections.idl              | 6 ++++--
 mingw-w64-headers/include/windows.foundation.idl            | 4 ----
 mingw-w64-headers/include/windows.storage.idl               | 3 +--
 3 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/mingw-w64-headers/include/windows.foundation.collections.idl 
b/mingw-w64-headers/include/windows.foundation.collections.idl
index 15866c290..bc2d26694 100644
--- a/mingw-w64-headers/include/windows.foundation.collections.idl
+++ b/mingw-w64-headers/include/windows.foundation.collections.idl
@@ -40,9 +40,11 @@ cpp_quote("}}}}")
 cpp_quote("extern \"C\" {")
 cpp_quote("#endif")
 
-#ifdef __WIDL__
         namespace Collections
         {
+            interface IPropertySet;
+
+#ifdef __WIDL__
             [
                 contract(Windows.Foundation.FoundationContract, 1.0),
                 uuid(6a79e863-4300-459a-9966-cbb660963ee1)
@@ -75,7 +77,7 @@ cpp_quote("#endif")
                 HRESULT IndexOf([in, optional] T element, [out] ULONG *index, 
[out, retval] BOOLEAN *value);
                 HRESULT GetMany([in] ULONG start_index, [out] T *items, [out, 
retval] ULONG *value);
             }
-        }
 #endif
+        }
     }
 }
diff --git a/mingw-w64-headers/include/windows.foundation.idl 
b/mingw-w64-headers/include/windows.foundation.idl
index 85e630c54..b42a729f5 100644
--- a/mingw-w64-headers/include/windows.foundation.idl
+++ b/mingw-w64-headers/include/windows.foundation.idl
@@ -32,10 +32,6 @@ namespace Windows {
     interface AsyncActionCompletedHandler; // delegate
     interface TypedEventHandler;           // delegate
     struct    DateTime;
-
-    namespace Collections {
-      interface IPropertySet;
-    }
   }
 }
 
diff --git a/mingw-w64-headers/include/windows.storage.idl 
b/mingw-w64-headers/include/windows.storage.idl
index bad75958d..7be244e3d 100644
--- a/mingw-w64-headers/include/windows.storage.idl
+++ b/mingw-w64-headers/include/windows.storage.idl
@@ -17,7 +17,6 @@ namespace Windows {
     interface TypedEventHandler;
 
     namespace Collections {
-      interface IPropertySet;
       interface IMapView;
     }
   }
@@ -132,7 +131,7 @@ namespace Windows {
     interface IApplicationDataContainer : IInspectable {
       [propget] HRESULT Name(HSTRING* value);
       [propget] HRESULT Locality(ApplicationDataLocality* value);
-      [propget] HRESULT Values(/*IPropertySet*/IInspectable** value);
+      [propget] HRESULT Values(Windows.Foundation.Collections.IPropertySet** 
value);
       [propget] HRESULT Containers(/*IMapView<HSTRING, 
ApplicationDataContainer*>*/IInspectable** value);
        HRESULT CreateContainer(HSTRING name, ApplicationDataCreateDisposition 
disposition, IApplicationDataContainer** container);
        HRESULT DeleteContainer([in] HSTRING name);
-- 
2.29.2



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

Reply via email to