mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2024-11-19 17:06:04 -07:00
include: Add IOutputStream in windows.storage.streams.idl.
Required for 7e0ae4372c/widget/windows/WindowsSMTCProvider.cpp (L718)
This commit is contained in:
parent
8ee02bb9f8
commit
8b1d1ea302
Notes:
Alexandre Julliard
2024-10-03 23:04:46 +02:00
Approved-by: Rémi Bernon (@rbernon) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/wine/merge_requests/6592
2 changed files with 18 additions and 0 deletions
|
@ -104,9 +104,12 @@ namespace Windows.Foundation {
|
|||
interface Windows.Foundation.AsyncOperationCompletedHandler<IInspectable *>;
|
||||
interface Windows.Foundation.AsyncOperationCompletedHandler<boolean>;
|
||||
interface Windows.Foundation.AsyncOperationCompletedHandler<UINT32>;
|
||||
interface Windows.Foundation.AsyncOperationProgressHandler<UINT32, UINT32>;
|
||||
interface Windows.Foundation.AsyncOperationWithProgressCompletedHandler<UINT32, UINT32>;
|
||||
interface Windows.Foundation.IAsyncOperation<IInspectable *>;
|
||||
interface Windows.Foundation.IAsyncOperation<boolean>;
|
||||
interface Windows.Foundation.IAsyncOperation<UINT32>;
|
||||
interface Windows.Foundation.IAsyncOperationWithProgress<UINT32, UINT32>;
|
||||
interface Windows.Foundation.IReference<BYTE>;
|
||||
interface Windows.Foundation.IReference<DOUBLE>;
|
||||
interface Windows.Foundation.IReference<FLOAT>;
|
||||
|
|
|
@ -58,10 +58,12 @@ namespace Windows.Storage.Streams {
|
|||
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.IOutputStream *>;
|
||||
interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Storage.Streams.IRandomAccessStream *>;
|
||||
interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Storage.Streams.IRandomAccessStreamReference *>;
|
||||
interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Storage.Streams.IRandomAccessStreamWithContentType *>;
|
||||
interface Windows.Foundation.IAsyncOperation<Windows.Storage.Streams.IBuffer *>;
|
||||
interface Windows.Foundation.IAsyncOperation<Windows.Storage.Streams.IOutputStream *>;
|
||||
interface Windows.Foundation.IAsyncOperation<Windows.Storage.Streams.IRandomAccessStream *>;
|
||||
interface Windows.Foundation.IAsyncOperation<Windows.Storage.Streams.IRandomAccessStreamReference *>;
|
||||
interface Windows.Foundation.IAsyncOperation<Windows.Storage.Streams.IRandomAccessStreamWithContentType *>;
|
||||
|
@ -168,6 +170,19 @@ namespace Windows.Storage.Streams {
|
|||
[out, retval] Windows.Storage.Streams.DataWriter **data_writer);
|
||||
}
|
||||
|
||||
[
|
||||
contract(Windows.Foundation.UniversalApiContract, 1.0),
|
||||
uuid(905a0fe6-bc53-11df-8c49-001e4fc686da)
|
||||
]
|
||||
interface IOutputStream : IInspectable
|
||||
requires Windows.Foundation.IClosable
|
||||
{
|
||||
HRESULT WriteAsync(
|
||||
[in] Windows.Storage.Streams.IBuffer *buffer,
|
||||
[out, retval] Windows.Foundation.IAsyncOperationWithProgress<UINT32, UINT32> **operation);
|
||||
HRESULT FlushAsync([out, retval] Windows.Foundation.IAsyncOperation<boolean> **operation);
|
||||
}
|
||||
|
||||
[
|
||||
contract(Windows.Foundation.UniversalApiContract, 1.0),
|
||||
uuid(905a0fe1-bc53-11df-8c49-001e4fc686da),
|
||||
|
|
Loading…
Reference in a new issue