Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
0e90cbf9
Commit
0e90cbf9
authored
Sep 27, 2023
by
Mohamad Al-Jaf
Committed by
Alexandre Julliard
Oct 05, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add ISystemMediaTransportControls interface definition.
parent
29260f77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
168 additions
and
0 deletions
+168
-0
windows.media.idl
include/windows.media.idl
+168
-0
No files found.
include/windows.media.idl
View file @
0e90cbf9
...
...
@@ -26,9 +26,24 @@ import "windows.foundation.idl";
namespace
Windows
.
Media
{
typedef
enum
AudioProcessing
AudioProcessing
;
typedef
enum
MediaPlaybackStatus
MediaPlaybackStatus
;
typedef
enum
SoundLevel
SoundLevel
;
typedef
enum
SystemMediaTransportControlsButton
SystemMediaTransportControlsButton
;
typedef
enum
SystemMediaTransportControlsProperty
SystemMediaTransportControlsProperty
;
interface
IMediaControl
;
interface
IMediaMarker
;
interface
ISystemMediaTransportControls
;
interface
ISystemMediaTransportControls2
;
interface
ISystemMediaTransportControlsButtonPressedEventArgs
;
interface
ISystemMediaTransportControlsDisplayUpdater
;
interface
ISystemMediaTransportControlsPropertyChangedEventArgs
;
interface
ISystemMediaTransportControlsStatics
;
runtimeclass
SystemMediaTransportControls
;
runtimeclass
SystemMediaTransportControlsButtonPressedEventArgs
;
runtimeclass
SystemMediaTransportControlsDisplayUpdater
;
runtimeclass
SystemMediaTransportControlsPropertyChangedEventArgs
;
declare
{
...
...
@@ -36,6 +51,8 @@ namespace Windows.Media
interface
Windows
.
Foundation.Collections.IIterator<Windows.Media.IMediaMarker*>;
interface
Windows
.
Foundation.Collections.IVectorView<Windows.Media.IMediaMarker*>;
interface
Windows
.
Foundation.Collections.IVector<Windows.Media.IMediaMarker*>;
interface
Windows
.
Foundation.TypedEventHandler<Windows.Media.SystemMediaTransportControls*
,
Windows
.
Media.SystemMediaTransportControlsButtonPressedEventArgs*>;
interface
Windows
.
Foundation.TypedEventHandler<Windows.Media.SystemMediaTransportControls*
,
Windows
.
Media.SystemMediaTransportControlsPropertyChangedEventArgs*>;
}
[
...
...
@@ -48,6 +65,53 @@ namespace Windows.Media
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
enum
MediaPlaybackStatus
{
Closed
=
0
,
Changing
=
1
,
Stopped
=
2
,
Playing
=
3
,
Paused
=
4
,
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
enum
SoundLevel
{
Muted
=
0
,
Low
=
1
,
Full
=
2
,
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
enum
SystemMediaTransportControlsButton
{
Play
=
0
,
Pause
=
1
,
Stop
=
2
,
Record
=
3
,
FastForward
=
4
,
Rewind
=
5
,
Next
=
6
,
Previous
=
7
,
ChannelUp
=
8
,
ChannelDown
=
9
,
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
enum
SystemMediaTransportControlsProperty
{
SoundLevel
=
0
,
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
uuid
(
1803
def8
-
dca5
-
4b6
f
-
9
c20
-
e3d3c0643625
)
]
...
...
@@ -58,4 +122,108 @@ namespace Windows.Media
[
propget
]
HRESULT
Text
(
[
out
,
retval
]
HSTRING
*
value
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
exclusiveto
(
Windows
.
Media.SystemMediaTransportControls)
,
uuid
(
99
fa3ff4
-
1742
-
42
a6
-902e-087
d41f965ec
)
]
interface
ISystemMediaTransportControls
:
IInspectable
{
[
propget
]
HRESULT
PlaybackStatus
(
[
out
,
retval
]
Windows
.
Media.MediaPlaybackStatus
*
value
)
;
[
propput
]
HRESULT
PlaybackStatus
(
[
in
]
Windows
.
Media.MediaPlaybackStatus
value
)
;
[
propget
]
HRESULT
DisplayUpdater
(
[
out
,
retval
]
Windows
.
Media.SystemMediaTransportControlsDisplayUpdater
**
value
)
;
[
propget
]
HRESULT
SoundLevel
(
[
out
,
retval
]
Windows
.
Media.SoundLevel
*
value
)
;
[
propget
]
HRESULT
IsEnabled
(
[
out
,
retval
]
boolean
*
value
)
;
[
propput
]
HRESULT
IsEnabled
(
[
in
]
boolean
value
)
;
[
propget
]
HRESULT
IsPlayEnabled
(
[
out
,
retval
]
boolean
*
value
)
;
[
propput
]
HRESULT
IsPlayEnabled
(
[
in
]
boolean
value
)
;
[
propget
]
HRESULT
IsStopEnabled
(
[
out
,
retval
]
boolean
*
value
)
;
[
propput
]
HRESULT
IsStopEnabled
(
[
in
]
boolean
value
)
;
[
propget
]
HRESULT
IsPauseEnabled
(
[
out
,
retval
]
boolean
*
value
)
;
[
propput
]
HRESULT
IsPauseEnabled
(
[
in
]
boolean
value
)
;
[
propget
]
HRESULT
IsRecordEnabled
(
[
out
,
retval
]
boolean
*
value
)
;
[
propput
]
HRESULT
IsRecordEnabled
(
[
in
]
boolean
value
)
;
[
propget
]
HRESULT
IsFastForwardEnabled
(
[
out
,
retval
]
boolean
*
value
)
;
[
propput
]
HRESULT
IsFastForwardEnabled
(
[
in
]
boolean
value
)
;
[
propget
]
HRESULT
IsRewindEnabled
(
[
out
,
retval
]
boolean
*
value
)
;
[
propput
]
HRESULT
IsRewindEnabled
(
[
in
]
boolean
value
)
;
[
propget
]
HRESULT
IsPreviousEnabled
(
[
out
,
retval
]
boolean
*
value
)
;
[
propput
]
HRESULT
IsPreviousEnabled
(
[
in
]
boolean
value
)
;
[
propget
]
HRESULT
IsNextEnabled
(
[
out
,
retval
]
boolean
*
value
)
;
[
propput
]
HRESULT
IsNextEnabled
(
[
in
]
boolean
value
)
;
[
propget
]
HRESULT
IsChannelUpEnabled
(
[
out
,
retval
]
boolean
*
value
)
;
[
propput
]
HRESULT
IsChannelUpEnabled
(
[
in
]
boolean
value
)
;
[
propget
]
HRESULT
IsChannelDownEnabled
(
[
out
,
retval
]
boolean
*
value
)
;
[
propput
]
HRESULT
IsChannelDownEnabled
(
[
in
]
boolean
value
)
;
[
eventadd
]
HRESULT
ButtonPressed
(
[
in
]
Windows
.
Foundation.TypedEventHandler<Windows.Media.SystemMediaTransportControls
*
,
Windows
.
Media.SystemMediaTransportControlsButtonPressedEventArgs
*
>
*
handler
,
[
out
,
retval
]
EventRegistrationToken
*
token
)
;
[
eventremove
]
HRESULT
ButtonPressed
(
[
in
]
EventRegistrationToken
token
)
;
[
eventadd
]
HRESULT
PropertyChanged
(
[
in
]
Windows
.
Foundation.TypedEventHandler<Windows.Media.SystemMediaTransportControls
*
,
Windows
.
Media.SystemMediaTransportControlsPropertyChangedEventArgs
*
>
*
handler
,
[
out
,
retval
]
EventRegistrationToken
*
token
)
;
[
eventremove
]
HRESULT
PropertyChanged
(
[
in
]
EventRegistrationToken
token
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
exclusiveto
(
Windows
.
Media.SystemMediaTransportControlsButtonPressedEventArgs)
,
uuid
(
b7f47116
-
a56f
-
4
dc8
-
9
e11
-
92031
f4a87c2
)
]
interface
ISystemMediaTransportControlsButtonPressedEventArgs
:
IInspectable
{
[
propget
]
HRESULT
Button
(
[
out
,
retval
]
Windows
.
Media.SystemMediaTransportControlsButton
*
value
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
exclusiveto
(
Windows
.
Media.SystemMediaTransportControlsPropertyChangedEventArgs)
,
uuid
(
d0ca0936
-
339b
-
4
cb3
-
8
eeb
-
737607
f56e08
)
]
interface
ISystemMediaTransportControlsPropertyChangedEventArgs
:
IInspectable
{
[
propget
]
HRESULT
Property
(
[
out
,
retval
]
Windows
.
Media.SystemMediaTransportControlsProperty
*
value
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
marshaling_behavior
(
agile
),
static
(
Windows
.
Media.ISystemMediaTransportControlsStatics
,
Windows
.
Foundation.UniversalApiContract
,
1.0
),
threading
(
mta
)
]
runtimeclass
SystemMediaTransportControls
{
[
default
]
interface
Windows
.
Media.ISystemMediaTransportControls;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
interface
Windows
.
Media.ISystemMediaTransportControls2;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
marshaling_behavior
(
agile
)
]
runtimeclass
SystemMediaTransportControlsButtonPressedEventArgs
{
[
default
]
interface
Windows
.
Media.ISystemMediaTransportControlsButtonPressedEventArgs;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
marshaling_behavior
(
agile
),
threading
(
both
)
]
runtimeclass
SystemMediaTransportControlsDisplayUpdater
{
[
default
]
interface
Windows
.
Media.ISystemMediaTransportControlsDisplayUpdater;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
marshaling_behavior
(
agile
)
]
runtimeclass
SystemMediaTransportControlsPropertyChangedEventArgs
{
[
default
]
interface
Windows
.
Media.ISystemMediaTransportControlsPropertyChangedEventArgs;
}
}
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