-- v2: include: Add IRandomAccessStream generic types in windows.storage.streams.idl. include: Add ApplicationData runtimeclass in windows.storage.idl. include: Add KnownFolders runtimeclass in windows.storage.idl.
From: Biswapriyo Nath nathbappai@gmail.com
--- include/windows.storage.idl | 162 ++++++++++++++++++++++++++++++++++++ 1 file changed, 162 insertions(+)
diff --git a/include/windows.storage.idl b/include/windows.storage.idl index 717460a0817..debd0f2a03a 100644 --- a/include/windows.storage.idl +++ b/include/windows.storage.idl @@ -35,10 +35,19 @@ namespace Windows.Storage { typedef enum CreationCollisionOption CreationCollisionOption; typedef enum FileAccessMode FileAccessMode; typedef enum FileAttributes FileAttributes; + typedef enum KnownFolderId KnownFolderId; + typedef enum KnownFoldersAccessStatus KnownFoldersAccessStatus; typedef enum NameCollisionOption NameCollisionOption; typedef enum StorageDeleteOption StorageDeleteOption; typedef enum StorageItemTypes StorageItemTypes;
+ interface IKnownFoldersCameraRollStatics; + interface IKnownFoldersPlaylistsStatics; + interface IKnownFoldersSavedPicturesStatics; + interface IKnownFoldersStatics; + interface IKnownFoldersStatics2; + interface IKnownFoldersStatics3; + interface IKnownFoldersStatics4; interface IStorageFolder; interface IStorageFolderStatics; interface IStorageFolderStatics2; @@ -46,6 +55,7 @@ namespace Windows.Storage { interface IStorageFileStatics2; interface IStorageItem;
+ runtimeclass KnownFolders; runtimeclass StorageFolder; runtimeclass StorageFile; runtimeclass StorageStreamTransaction; @@ -57,6 +67,7 @@ namespace Windows.Storage { interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Foundation.Collections.IVectorView<Windows.Storage.IStorageItem *> *>; interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Foundation.Collections.IVectorView<Windows.Storage.StorageFile *> *>; interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Foundation.Collections.IVectorView<Windows.Storage.StorageFolder *> *>; + interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Storage.KnownFoldersAccessStatus>; interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Storage.IStorageItem *>; interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Storage.StorageFile *>; interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Storage.StorageFolder *>; @@ -64,6 +75,7 @@ namespace Windows.Storage { interface Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Windows.Storage.IStorageItem *> *>; interface Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Windows.Storage.StorageFile *> *>; interface Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Windows.Storage.StorageFolder *> *>; + interface Windows.Foundation.IAsyncOperation<Windows.Storage.KnownFoldersAccessStatus>; interface Windows.Foundation.IAsyncOperation<Windows.Storage.IStorageItem *>; interface Windows.Foundation.IAsyncOperation<Windows.Storage.StorageFile *>; interface Windows.Foundation.IAsyncOperation<Windows.Storage.StorageFolder *>; @@ -105,6 +117,47 @@ namespace Windows.Storage { LocallyIncomplete = 0x200, };
+ [ + contract(Windows.Foundation.UniversalApiContract, 2.0) + ] + enum KnownFolderId + { + AppCaptures = 0, + CameraRoll = 1, + DocumentsLibrary = 2, + HomeGroup = 3, + MediaServerDevices = 4, + MusicLibrary = 5, + Objects3D = 6, + PicturesLibrary = 7, + Playlists = 8, + RecordedCalls = 9, + RemovableDevices = 10, + SavedPictures = 11, + Screenshots = 12, + VideosLibrary = 13, + [contract(Windows.Foundation.UniversalApiContract, 4.0)] + AllAppMods = 14, + [contract(Windows.Foundation.UniversalApiContract, 4.0)] + CurrentAppMods = 15, + [contract(Windows.Foundation.UniversalApiContract, 11.0)] + DownloadsFolder = 16, + }; + + [ + contract(Windows.Foundation.UniversalApiContract, 10.0) + ] + enum KnownFoldersAccessStatus + { + DeniedBySystem = 0, + NotDeclaredByApp = 1, + DeniedByUser = 2, + UserPromptRequired = 3, + Allowed = 4, + [contract(Windows.Foundation.UniversalApiContract, 11.0)] + AllowedPerAppFolder = 5, + }; + [ contract(Windows.Foundation.UniversalApiContract, 1.0) ] @@ -135,6 +188,100 @@ namespace Windows.Storage { Folder = 0x2, };
+ [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + exclusiveto(Windows.Storage.KnownFolders), + uuid(5d115e66-27e8-492f-b8e5-2f90896cd4cd) + ] + interface IKnownFoldersCameraRollStatics : IInspectable + { + [propget] HRESULT CameraRoll([out, retval] Windows.Storage.StorageFolder **value); + } + + [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + exclusiveto(Windows.Storage.KnownFolders), + uuid(dad5ecd6-306f-4d6a-b496-46ba8eb106ce) + ] + interface IKnownFoldersPlaylistsStatics : IInspectable + { + [propget] HRESULT Playlists([out, retval] Windows.Storage.StorageFolder **value); + } + + [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + exclusiveto(Windows.Storage.KnownFolders), + uuid(055c93ea-253d-467c-b6ca-a97da1e9a18d) + ] + interface IKnownFoldersSavedPicturesStatics : IInspectable + { + [propget] HRESULT SavedPictures([out, retval] Windows.Storage.StorageFolder **value); + } + + [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + exclusiveto(Windows.Storage.KnownFolders), + uuid(5a2a7520-4802-452d-9ad9-4351ada7ec35) + ] + interface IKnownFoldersStatics : IInspectable + { + [propget] HRESULT MusicLibrary([out, retval] Windows.Storage.StorageFolder **value); + [propget] HRESULT PicturesLibrary([out, retval] Windows.Storage.StorageFolder **value); + [propget] HRESULT VideosLibrary([out, retval] Windows.Storage.StorageFolder **value); + [propget] HRESULT DocumentsLibrary([out, retval] Windows.Storage.StorageFolder **value); + [propget] HRESULT HomeGroup([out, retval] Windows.Storage.StorageFolder **value); + [propget] HRESULT RemovableDevices([out, retval] Windows.Storage.StorageFolder **value); + [propget] HRESULT MediaServerDevices([out, retval] Windows.Storage.StorageFolder **value); + } + + [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + exclusiveto(Windows.Storage.KnownFolders), + uuid(194bd0cd-cf6e-4d07-9d53-e9163a2536e9) + ] + interface IKnownFoldersStatics2 : IInspectable + { + [propget] HRESULT Objects3D([out, retval] Windows.Storage.StorageFolder **value); + [propget] HRESULT AppCaptures([out, retval] Windows.Storage.StorageFolder **value); + [propget] HRESULT RecordedCalls([out, retval] Windows.Storage.StorageFolder **value); + } + + [ + contract(Windows.Foundation.UniversalApiContract, 2.0), + exclusiveto(Windows.Storage.KnownFolders), + uuid(c5194341-9742-4ed5-823d-fc1401148764) + ] + interface IKnownFoldersStatics3 : IInspectable + { + HRESULT GetFolderForUserAsync( + [in] Windows.System.User *user, + [in] Windows.Storage.KnownFolderId folder_id, + [out, retval] Windows.Foundation.IAsyncOperation<Windows.Storage.StorageFolder *> **operation + ); + } + + [ + contract(Windows.Foundation.UniversalApiContract, 10.0), + exclusiveto(Windows.Storage.KnownFolders), + uuid(1722e6bf-9ff9-4b21-bed5-90ecb13a192e) + ] + interface IKnownFoldersStatics4 : IInspectable + { + HRESULT RequestAccessAsync( + [in] Windows.Storage.KnownFolderId folder_id, + [out, retval] Windows.Foundation.IAsyncOperation<Windows.Storage.KnownFoldersAccessStatus> **operation + ); + HRESULT RequestAccessForUserAsync( + [in] Windows.System.User *user, + [in] Windows.Storage.KnownFolderId folder_id, + [out, retval] Windows.Foundation.IAsyncOperation<Windows.Storage.KnownFoldersAccessStatus> **operation + ); + HRESULT GetFolderAsync( + [in] Windows.Storage.KnownFolderId folder_id, + [out, retval] Windows.Foundation.IAsyncOperation<Windows.Storage.StorageFolder *> **operation + ); + } + [ contract(Windows.Foundation.UniversalApiContract, 1.0), uuid(fa3f6186-4214-428c-a64c-14c9ac7315ea) @@ -266,6 +413,21 @@ namespace Windows.Storage { HRESULT CommitAsync([out, retval] Windows.Foundation.IAsyncAction **operation); }
+ [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + marshaling_behavior(agile), + static(Windows.Storage.IKnownFoldersCameraRollStatics, Windows.Foundation.UniversalApiContract, 1.0), + static(Windows.Storage.IKnownFoldersPlaylistsStatics, Windows.Foundation.UniversalApiContract, 1.0), + static(Windows.Storage.IKnownFoldersSavedPicturesStatics, Windows.Foundation.UniversalApiContract, 1.0), + static(Windows.Storage.IKnownFoldersStatics, Windows.Foundation.UniversalApiContract, 1.0), + static(Windows.Storage.IKnownFoldersStatics2, Windows.Foundation.UniversalApiContract, 1.0), + static(Windows.Storage.IKnownFoldersStatics3, Windows.Foundation.UniversalApiContract, 2.0), + static(Windows.Storage.IKnownFoldersStatics4, Windows.Foundation.UniversalApiContract, 10.0) + ] + runtimeclass KnownFolders + { + } + [ contract(Windows.Foundation.UniversalApiContract, 1.0), static(Windows.Storage.IStorageFileStatics, Windows.Foundation.UniversalApiContract, 1.0),
From: Biswapriyo Nath nathbappai@gmail.com
--- include/windows.storage.idl | 220 ++++++++++++++++++++++++++++++++++++ 1 file changed, 220 insertions(+)
diff --git a/include/windows.storage.idl b/include/windows.storage.idl index debd0f2a03a..b83c31f2814 100644 --- a/include/windows.storage.idl +++ b/include/windows.storage.idl @@ -32,6 +32,8 @@ import "windows.storage.streams.idl"; import "windows.system.idl";
namespace Windows.Storage { + typedef enum ApplicationDataCreateDisposition ApplicationDataCreateDisposition; + typedef enum ApplicationDataLocality ApplicationDataLocality; typedef enum CreationCollisionOption CreationCollisionOption; typedef enum FileAccessMode FileAccessMode; typedef enum FileAttributes FileAttributes; @@ -41,6 +43,12 @@ namespace Windows.Storage { typedef enum StorageDeleteOption StorageDeleteOption; typedef enum StorageItemTypes StorageItemTypes;
+ interface IApplicationData; + interface IApplicationData2; + interface IApplicationData3; + interface IApplicationDataContainer; + interface IApplicationDataStatics; + interface IApplicationDataStatics2; interface IKnownFoldersCameraRollStatics; interface IKnownFoldersPlaylistsStatics; interface IKnownFoldersSavedPicturesStatics; @@ -48,6 +56,8 @@ namespace Windows.Storage { interface IKnownFoldersStatics2; interface IKnownFoldersStatics3; interface IKnownFoldersStatics4; + interface ISetVersionDeferral; + interface ISetVersionRequest; interface IStorageFolder; interface IStorageFolderStatics; interface IStorageFolderStatics2; @@ -55,18 +65,27 @@ namespace Windows.Storage { interface IStorageFileStatics2; interface IStorageItem;
+ runtimeclass ApplicationData; + runtimeclass ApplicationDataContainer; runtimeclass KnownFolders; + runtimeclass SetVersionDeferral; + runtimeclass SetVersionRequest; runtimeclass StorageFolder; runtimeclass StorageFile; runtimeclass StorageStreamTransaction;
declare { + interface Windows.Foundation.Collections.IKeyValuePair<HSTRING, Windows.Storage.ApplicationDataContainer *>; + interface Windows.Foundation.Collections.IIterable<Windows.Foundation.Collections.IKeyValuePair<HSTRING, Windows.Storage.ApplicationDataContainer *> *>; + interface Windows.Foundation.Collections.IIterator<Windows.Foundation.Collections.IKeyValuePair<HSTRING, Windows.Storage.ApplicationDataContainer *> *>; + interface Windows.Foundation.Collections.IMapView<HSTRING, Windows.Storage.ApplicationDataContainer *>; interface Windows.Foundation.Collections.IVectorView<Windows.Storage.IStorageItem *>; interface Windows.Foundation.Collections.IVectorView<Windows.Storage.StorageFile *>; interface Windows.Foundation.Collections.IVectorView<Windows.Storage.StorageFolder *>; interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Foundation.Collections.IVectorView<Windows.Storage.IStorageItem *> *>; interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Foundation.Collections.IVectorView<Windows.Storage.StorageFile *> *>; interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Foundation.Collections.IVectorView<Windows.Storage.StorageFolder *> *>; + interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Storage.ApplicationData *>; interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Storage.KnownFoldersAccessStatus>; interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Storage.IStorageItem *>; interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Storage.StorageFile *>; @@ -75,13 +94,37 @@ namespace Windows.Storage { interface Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Windows.Storage.IStorageItem *> *>; interface Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Windows.Storage.StorageFile *> *>; interface Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Windows.Storage.StorageFolder *> *>; + interface Windows.Foundation.IAsyncOperation<Windows.Storage.ApplicationData *>; interface Windows.Foundation.IAsyncOperation<Windows.Storage.KnownFoldersAccessStatus>; interface Windows.Foundation.IAsyncOperation<Windows.Storage.IStorageItem *>; interface Windows.Foundation.IAsyncOperation<Windows.Storage.StorageFile *>; interface Windows.Foundation.IAsyncOperation<Windows.Storage.StorageFolder *>; interface Windows.Foundation.IAsyncOperation<Windows.Storage.StorageStreamTransaction *>; + interface Windows.Foundation.TypedEventHandler<Windows.Storage.ApplicationData *, IInspectable *>; }
+ [ + contract(Windows.Foundation.UniversalApiContract, 1.0) + ] + enum ApplicationDataCreateDisposition + { + Always = 0, + Existing = 1, + }; + + [ + contract(Windows.Foundation.UniversalApiContract, 1.0) + ] + enum ApplicationDataLocality + { + Local = 0, + Roaming = 1, + Temporary = 2, + LocalCache = 3, + [contract(Windows.Foundation.UniversalApiContract, 12.0)] + SharedLocal = 4, + }; + [ contract(Windows.Foundation.UniversalApiContract, 1.0) ] @@ -188,6 +231,118 @@ namespace Windows.Storage { Folder = 0x2, };
+ [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + uuid(a05791e6-cc9f-4687-acab-a364fd785463) + ] + delegate HRESULT ApplicationDataSetVersionHandler([in] Windows.Storage.SetVersionRequest *version); + + [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + exclusiveto(Windows.Storage.ApplicationData), + uuid(c3da6fb7-b744-4b45-b0b8-223a0938d0dc) + ] + interface IApplicationData : IInspectable + { + [propget] HRESULT Version([out, retval] UINT32 *value); + HRESULT SetVersionAsync( + [in] UINT32 version, + [in] Windows.Storage.ApplicationDataSetVersionHandler *handler, + [out, retval] Windows.Foundation.IAsyncAction **operation + ); + [overload("ClearAsync")] + HRESULT ClearAllAsync( + [out, retval] Windows.Foundation.IAsyncAction **operation + ); + [overload("ClearAsync")] + HRESULT ClearAsync( + [in] Windows.Storage.ApplicationDataLocality locality, + [out, retval] Windows.Foundation.IAsyncAction **operation + ); + [propget] HRESULT LocalSettings([out, retval] Windows.Storage.ApplicationDataContainer **value); + [propget] HRESULT RoamingSettings([out, retval] Windows.Storage.ApplicationDataContainer **value); + [propget] HRESULT LocalFolder([out, retval] Windows.Storage.StorageFolder **value); + [propget] HRESULT RoamingFolder([out, retval] Windows.Storage.StorageFolder **value); + [propget] HRESULT TemporaryFolder([out, retval] Windows.Storage.StorageFolder **value); + [eventadd] HRESULT DataChanged( + [in] Windows.Foundation.TypedEventHandler<Windows.Storage.ApplicationData *, IInspectable *> *handler, + [out, retval] EventRegistrationToken *token + ); + [eventremove] HRESULT DataChanged([in] EventRegistrationToken token); + HRESULT SignalDataChanged(); + [propget] HRESULT RoamingStorageQuota([out, retval] UINT64 *value); + } + + [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + exclusiveto(Windows.Storage.ApplicationData), + uuid(9e65cd69-0ba3-4e32-be29-b02de6607638) + ] + interface IApplicationData2 : IInspectable + { + [propget] HRESULT LocalCacheFolder([out, retval] Windows.Storage.StorageFolder **value); + } + + [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + exclusiveto(Windows.Storage.ApplicationData), + uuid(dc222cf4-2772-4c1d-aa2c-c9f743ade8d1) + ] + interface IApplicationData3 : IInspectable + { + HRESULT GetPublisherCacheFolder( + [in] HSTRING folder_name, + [out, retval] Windows.Storage.StorageFolder **value + ); + HRESULT ClearPublisherCacheFolderAsync( + [in] HSTRING folder_name, + [out, retval] Windows.Foundation.IAsyncAction **operation + ); + [propget] HRESULT SharedLocalFolder([out, retval] Windows.Storage.StorageFolder **value); + } + + [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + exclusiveto(Windows.Storage.ApplicationDataContainer), + uuid(c5aefd1e-f467-40ba-8566-ab640a441e1d) + ] + interface IApplicationDataContainer : IInspectable + { + [propget] HRESULT Name([out, retval] HSTRING *value); + [propget] HRESULT Locality([out, retval] Windows.Storage.ApplicationDataLocality *value); + [propget] HRESULT Values([out, retval] Windows.Foundation.Collections.IPropertySet **value); + [propget] HRESULT Containers([out, retval] Windows.Foundation.Collections.IMapView<HSTRING, Windows.Storage.ApplicationDataContainer *> **value); + HRESULT CreateContainer( + [in] HSTRING name, + [in] Windows.Storage.ApplicationDataCreateDisposition disposition, + [out, retval] Windows.Storage.ApplicationDataContainer **container + ); + HRESULT DeleteContainer([in] HSTRING name); + } + + [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + exclusiveto(Windows.Storage.ApplicationData), + uuid(5612147b-e843-45e3-94d8-06169e3c8e17) + ] + interface IApplicationDataStatics : IInspectable + { + [propget] HRESULT Current([out, retval] Windows.Storage.ApplicationData **value); + } + + [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + exclusiveto(Windows.Storage.ApplicationData), + uuid(cd606211-cf49-40a4-a47c-c7f0dbba8107) + ] + interface IApplicationDataStatics2 : IInspectable + { + HRESULT GetForUserAsync( + [in] Windows.System.User *user, + [out, retval] Windows.Foundation.IAsyncOperation<Windows.Storage.ApplicationData *> **operation + ); + } + [ contract(Windows.Foundation.UniversalApiContract, 1.0), exclusiveto(Windows.Storage.KnownFolders), @@ -282,6 +437,28 @@ namespace Windows.Storage { ); }
+ [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + exclusiveto(Windows.Storage.SetVersionDeferral), + uuid(033508a2-781a-437a-b078-3f32badcfe47) + ] + interface ISetVersionDeferral : IInspectable + { + HRESULT Complete(); + } + + [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + exclusiveto(Windows.Storage.SetVersionRequest), + uuid(b9c76b9b-1056-4e69-8330-162619956f9b) + ] + interface ISetVersionRequest : IInspectable + { + [propget] HRESULT CurrentVersion([out, retval] UINT32 *version); + [propget] HRESULT DesiredVersion([out, retval] UINT32 *version); + HRESULT GetDeferral([out, retval] Windows.Storage.SetVersionDeferral **deferral); + } + [ contract(Windows.Foundation.UniversalApiContract, 1.0), uuid(fa3f6186-4214-428c-a64c-14c9ac7315ea) @@ -413,6 +590,31 @@ namespace Windows.Storage { HRESULT CommitAsync([out, retval] Windows.Foundation.IAsyncAction **operation); }
+ [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + marshaling_behavior(agile), + static(Windows.Storage.IApplicationDataStatics, Windows.Foundation.UniversalApiContract, 1.0), + static(Windows.Storage.IApplicationDataStatics2, Windows.Foundation.UniversalApiContract, 1.0), + threading(mta) + ] + runtimeclass ApplicationData + { + [default] interface Windows.Storage.IApplicationData; + [contract(Windows.Foundation.UniversalApiContract, 1.0)] interface Windows.Storage.IApplicationData2; + [contract(Windows.Foundation.UniversalApiContract, 1.0)] interface Windows.Storage.IApplicationData3; + [contract(Windows.Foundation.UniversalApiContract, 12.0)] interface Windows.Foundation.IClosable; + } + + [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + marshaling_behavior(agile) + ] + runtimeclass ApplicationDataContainer + { + [default] interface Windows.Storage.IApplicationDataContainer; + [contract(Windows.Foundation.UniversalApiContract, 12.0)] interface Windows.Foundation.IClosable; + } + [ contract(Windows.Foundation.UniversalApiContract, 1.0), marshaling_behavior(agile), @@ -428,6 +630,24 @@ namespace Windows.Storage { { }
+ [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + marshaling_behavior(agile) + ] + runtimeclass SetVersionDeferral + { + [default] interface Windows.Storage.ISetVersionDeferral; + } + + [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + marshaling_behavior(agile) + ] + runtimeclass SetVersionRequest + { + [default] interface Windows.Storage.ISetVersionRequest; + } + [ contract(Windows.Foundation.UniversalApiContract, 1.0), static(Windows.Storage.IStorageFileStatics, Windows.Foundation.UniversalApiContract, 1.0),
From: Biswapriyo Nath nathbappai@gmail.com
This fixes the following error.
windows.storage.h:3992:9: error: unknown type name '__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream' --- include/windows.storage.streams.idl | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/include/windows.storage.streams.idl b/include/windows.storage.streams.idl index bcbdf588ec6..5bdeb3689ff 100644 --- a/include/windows.storage.streams.idl +++ b/include/windows.storage.streams.idl @@ -37,8 +37,13 @@ namespace Windows.Storage.Streams { interface IRandomAccessStreamStatics; interface IRandomAccessStreamWithContentType; runtimeclass Buffer; + runtimeclass RandomAccessStream;
declare { + interface Windows.Foundation.Collections.IIterable<Windows.Storage.Streams.IRandomAccessStream *>; + interface Windows.Foundation.Collections.IIterator<Windows.Storage.Streams.IRandomAccessStream *>; + interface Windows.Foundation.Collections.IVectorView<Windows.Storage.Streams.IRandomAccessStream *>; + interface Windows.Foundation.Collections.IVector<Windows.Storage.Streams.IRandomAccessStream *>; interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Storage.Streams.IBuffer *>; interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Storage.Streams.IRandomAccessStream *>; interface Windows.Foundation.IAsyncOperation<Windows.Storage.Streams.IBuffer *>;