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
9a4dbd9a
Commit
9a4dbd9a
authored
Sep 28, 2023
by
Mohamad Al-Jaf
Committed by
Alexandre Julliard
Oct 17, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add ISystemMediaTransportControlsDisplayUpdater interface definition.
parent
3cb90b60
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
81 additions
and
1 deletion
+81
-1
main.c
dlls/windows.media.mediacontrol/main.c
+1
-1
windows.media.idl
include/windows.media.idl
+80
-0
No files found.
dlls/windows.media.mediacontrol/main.c
View file @
9a4dbd9a
...
...
@@ -215,7 +215,7 @@ static HRESULT WINAPI media_control_put_PlaybackStatus( ISystemMediaTransportCon
return
S_OK
;
}
static
HRESULT
WINAPI
media_control_get_DisplayUpdater
(
ISystemMediaTransportControls
*
iface
,
__x_ABI_CWindows_CMedia_C
ISystemMediaTransportControlsDisplayUpdater
**
value
)
static
HRESULT
WINAPI
media_control_get_DisplayUpdater
(
ISystemMediaTransportControls
*
iface
,
ISystemMediaTransportControlsDisplayUpdater
**
value
)
{
FIXME
(
"iface %p, value %p stub!
\n
"
,
iface
,
value
);
return
E_NOTIMPL
;
...
...
include/windows.media.idl
View file @
9a4dbd9a
...
...
@@ -22,28 +22,40 @@
import
"inspectable.idl"
;
import
"windows.foundation.idl"
;
import
"windows.storage.idl"
;
import
"windows.storage.streams.idl"
;
namespace
Windows
.
Media
{
typedef
enum
AudioProcessing
AudioProcessing
;
typedef
enum
MediaPlaybackStatus
MediaPlaybackStatus
;
typedef
enum
MediaPlaybackType
MediaPlaybackType
;
typedef
enum
SoundLevel
SoundLevel
;
typedef
enum
SystemMediaTransportControlsButton
SystemMediaTransportControlsButton
;
typedef
enum
SystemMediaTransportControlsProperty
SystemMediaTransportControlsProperty
;
interface
IImageDisplayProperties
;
interface
IMediaControl
;
interface
IMediaMarker
;
interface
IMusicDisplayProperties
;
interface
IMusicDisplayProperties2
;
interface
IMusicDisplayProperties3
;
interface
ISystemMediaTransportControls
;
interface
ISystemMediaTransportControls2
;
interface
ISystemMediaTransportControlsButtonPressedEventArgs
;
interface
ISystemMediaTransportControlsDisplayUpdater
;
interface
ISystemMediaTransportControlsPropertyChangedEventArgs
;
interface
ISystemMediaTransportControlsStatics
;
interface
IVideoDisplayProperties
;
interface
IVideoDisplayProperties2
;
runtimeclass
ImageDisplayProperties
;
runtimeclass
MusicDisplayProperties
;
runtimeclass
SystemMediaTransportControls
;
runtimeclass
SystemMediaTransportControlsButtonPressedEventArgs
;
runtimeclass
SystemMediaTransportControlsDisplayUpdater
;
runtimeclass
SystemMediaTransportControlsPropertyChangedEventArgs
;
runtimeclass
VideoDisplayProperties
;
declare
{
...
...
@@ -79,6 +91,17 @@ namespace Windows.Media
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
enum
MediaPlaybackType
{
Unknown
=
0
,
Music
=
1
,
Video
=
2
,
Image
=
3
,
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
enum
SoundLevel
{
Muted
=
0
,
...
...
@@ -169,6 +192,30 @@ namespace Windows.Media
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
exclusiveto
(
Windows
.
Media.SystemMediaTransportControlsDisplayUpdater)
,
uuid
(
8
abbc53e
-
fa55
-
4
ecf
-
ad8e
-
c984e5dd1550
)
]
interface
ISystemMediaTransportControlsDisplayUpdater
:
IInspectable
{
[
propget
]
HRESULT
Type
(
[
out
,
retval
]
Windows
.
Media.MediaPlaybackType
*
value
)
;
[
propput
]
HRESULT
Type
(
[
in
]
Windows
.
Media.MediaPlaybackType
value
)
;
[
propget
]
HRESULT
AppMediaId
(
[
out
,
retval
]
HSTRING
*
value
)
;
[
propput
]
HRESULT
AppMediaId
(
[
in
]
HSTRING
value
)
;
[
propget
]
HRESULT
Thumbnail
(
[
out
,
retval
]
Windows
.
Storage.Streams.RandomAccessStreamReference
**
value
)
;
[
propput
]
HRESULT
Thumbnail
(
[
in
]
Windows
.
Storage.Streams.RandomAccessStreamReference
*
value
)
;
[
propget
]
HRESULT
MusicProperties
(
[
out
,
retval
]
Windows
.
Media.MusicDisplayProperties
**
value
)
;
[
propget
]
HRESULT
VideoProperties
(
[
out
,
retval
]
Windows
.
Media.VideoDisplayProperties
**
value
)
;
[
propget
]
HRESULT
ImageProperties
(
[
out
,
retval
]
Windows
.
Media.ImageDisplayProperties
**
value
)
;
HRESULT
CopyFromFileAsync
(
[
in
]
Windows
.
Media.MediaPlaybackType
type
,
[
in
]
Windows
.
Storage.StorageFile
*
source
,
[
out
,
retval
]
Windows
.
Foundation.IAsyncOperation<boolean>
**
operation
)
;
HRESULT
ClearAll
()
;
HRESULT
Update
()
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
exclusiveto
(
Windows
.
Media.SystemMediaTransportControlsButtonPressedEventArgs)
,
uuid
(
b7f47116
-
a56f
-
4
dc8
-
9
e11
-
92031
f4a87c2
)
]
...
...
@@ -190,6 +237,28 @@ namespace Windows.Media
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
marshaling_behavior
(
agile
),
threading
(
both
)
]
runtimeclass
ImageDisplayProperties
{
[
default
]
interface
Windows
.
Media.IImageDisplayProperties;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
marshaling_behavior
(
agile
),
threading
(
both
)
]
runtimeclass
MusicDisplayProperties
{
[
default
]
interface
Windows
.
Media.IMusicDisplayProperties;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
interface
Windows
.
Media.IMusicDisplayProperties2;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
3.0
)
]
interface
Windows
.
Media.IMusicDisplayProperties3;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
marshaling_behavior
(
agile
),
static
(
Windows
.
Media.ISystemMediaTransportControlsStatics
,
Windows
.
Foundation.UniversalApiContract
,
1.0
),
threading
(
mta
)
]
...
...
@@ -226,4 +295,15 @@ namespace Windows.Media
{
[
default
]
interface
Windows
.
Media.ISystemMediaTransportControlsPropertyChangedEventArgs;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
marshaling_behavior
(
agile
),
threading
(
both
)
]
runtimeclass
VideoDisplayProperties
{
[
default
]
interface
Windows
.
Media.IVideoDisplayProperties;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
interface
Windows
.
Media.IVideoDisplayProperties2;
}
}
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