Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
711f9e1f
Commit
711f9e1f
authored
Dec 25, 2022
by
Mohamad Al-Jaf
Committed by
Alexandre Julliard
Aug 17, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add IRandomAccessStream interface definition.
Needed by IStorageFile.
parent
fe877fdf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
windows.storage.streams.idl
include/windows.storage.streams.idl
+34
-0
No files found.
include/windows.storage.streams.idl
View file @
711f9e1f
...
...
@@ -30,14 +30,19 @@ namespace Windows.Storage.Streams {
interface
IBufferStatics
;
interface
IContentTypeProvider
;
interface
IInputStream
;
interface
IInputStreamReference
;
interface
IOutputStream
;
interface
IRandomAccessStream
;
interface
IRandomAccessStreamReference
;
interface
IRandomAccessStreamStatics
;
interface
IRandomAccessStreamWithContentType
;
runtimeclass
Buffer
;
declare
{
interface
Windows
.
Foundation.AsyncOperationCompletedHandler<Windows.Storage.Streams.IBuffer
*
>
;
interface
Windows
.
Foundation.AsyncOperationCompletedHandler<Windows.Storage.Streams.IRandomAccessStream
*
>
;
interface
Windows
.
Foundation.IAsyncOperation<Windows.Storage.Streams.IBuffer
*
>
;
interface
Windows
.
Foundation.IAsyncOperation<Windows.Storage.Streams.IRandomAccessStream
*
>
;
}
[
...
...
@@ -76,6 +81,26 @@ namespace Windows.Storage.Streams {
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
uuid
(
905
a0fe1
-
bc53
-
11
df
-
8
c49
-
001
e4fc686da
),
]
interface
IRandomAccessStream
:
IInspectable
requires
Windows
.
Foundation.IClosable
,
Windows
.
Storage.Streams.IInputStream
,
Windows
.
Storage.Streams.IOutputStream
{
[
propget
]
HRESULT
Size
(
[
out
,
retval
]
UINT64
*
value
)
;
[
propput
]
HRESULT
Size
(
[
in
]
UINT64
value
)
;
HRESULT
GetInputStreamAt
(
[
in
]
UINT64
position
,
[
out
,
retval
]
Windows
.
Storage.Streams.IInputStream
**
stream
)
;
HRESULT
GetOutputStreamAt
(
[
in
]
UINT64
position
,
[
out
,
retval
]
Windows
.
Storage.Streams.IOutputStream
**
stream
)
;
[
propget
]
HRESULT
Position
(
[
out
,
retval
]
UINT64
*
value
)
;
HRESULT
Seek
(
[
in
]
UINT64
position
)
;
HRESULT
CloneStream
(
[
out
,
retval
]
Windows
.
Storage.Streams.IRandomAccessStream
**
stream
)
;
[
propget
]
HRESULT
CanRead
(
[
out
,
retval
]
boolean
*
value
)
;
[
propget
]
HRESULT
CanWrite
(
[
out
,
retval
]
boolean
*
value
)
;
}
[
uuid
(
cc254827
-
4b
3d-438
f
-
9232
-
10
c76bc7e038
),
]
interface
IRandomAccessStreamWithContentType
:
IInspectable
...
...
@@ -89,6 +114,15 @@ namespace Windows.Storage.Streams {
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
marshaling_behavior
(
agile
),
static
(
Windows
.
Storage.Streams.IRandomAccessStreamStatics
,
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
runtimeclass
RandomAccessStream
{
}
[
activatable
(
Windows
.
Storage.Streams.IBufferFactory
,
Windows
.
Foundation.UniversalApiContract
,
1.0
),
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
marshaling_behavior
(
agile
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment