[PATCH 0/1] MR4578: include: Add Windows.Storage.Streams.InMemoryRandomAccessStream runtimeclass definition.
From: Vijay Kiran Kamuju <infyquest(a)gmail.com> Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54963 --- include/windows.storage.streams.idl | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/include/windows.storage.streams.idl b/include/windows.storage.streams.idl index 8e8aba3b377..58c1dbbe34f 100644 --- a/include/windows.storage.streams.idl +++ b/include/windows.storage.streams.idl @@ -38,6 +38,7 @@ namespace Windows.Storage.Streams { interface IRandomAccessStreamStatics; interface IRandomAccessStreamWithContentType; runtimeclass Buffer; + runtimeclass InMemoryRandomAccessStream; runtimeclass RandomAccessStream; runtimeclass RandomAccessStreamReference; @@ -129,6 +130,18 @@ namespace Windows.Storage.Streams { { } + [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + marshaling_behavior(agile) + ] + runtimeclass InMemoryRandomAccessStream + { + [default] interface Windows.Storage.Streams.IRandomAccessStream; + interface Windows.Storage.Streams.IOutputStream; + interface Windows.Foundation.IClosable; + interface Windows.Storage.Streams.IInputStream; + } + [ activatable(Windows.Storage.Streams.IBufferFactory, Windows.Foundation.UniversalApiContract, 1.0), contract(Windows.Foundation.UniversalApiContract, 1.0), -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/4578
Shouldn't this also be [activatable]? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4578#note_54629
On Fri Dec 1 21:45:23 2023 +0000, Fabian Maurer wrote:
Shouldn't this also be [activatable]? According the idl its activatable, but I was not sure how to add the activatable as its in hex [activatable(0x06020000)]
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4578#note_54631
participants (3)
-
Fabian Maurer (@DarkShadow44) -
Vijay Kiran Kamuju -
Vijay Kiran Kamuju (@infyquest)