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
11d3f697
Commit
11d3f697
authored
Apr 20, 2021
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 20, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add mfplay event macros.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f1fd0b46
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletion
+18
-1
mfplay.idl
include/mfplay.idl
+18
-1
No files found.
include/mfplay.idl
View file @
11d3f697
...
...
@@ -22,13 +22,15 @@ import "evr.idl";
interface
IMFNetCredential
;
typedef
UINT32
MFP_CREATION_OPTIONS
;
typedef
[
v1_enum
]
enum
_MFP_CREATION_OPTIONS
{
MFP_OPTION_NONE
=
0
,
MFP_OPTION_FREE_THREADED_CALLBACK
=
0
x1
,
MFP_OPTION_NO_MMCSS
=
0
x2
,
MFP_OPTION_NO_REMOTE_DESKTOP_OPTIMIZATION
=
0
x4
,
}
MFP_CREATION_OPTIONS
;
}
_
MFP_CREATION_OPTIONS
;
typedef
[
v1_enum
]
enum
MFP_MEDIAPLAYER_STATE
{
...
...
@@ -180,6 +182,21 @@ typedef struct MFP_ACQUIRE_USER_CREDENTIAL_EVENT
IMFNetCredential
*
pCredential
;
}
MFP_ACQUIRE_USER_CREDENTIAL_EVENT
;
cpp_quote
(
"#define __MFP_CAST_EVENT(hdr, tag) (((hdr)->eEventType == MFP_EVENT_TYPE_##tag) ? (MFP_##Tag##_EVENT *)(hdr) : NULL)"
)
cpp_quote
(
"#define MFP_GET_PLAY_EVENT(hdr) __MFP_CAST_EVENT(hdr, PLAY)"
)
cpp_quote
(
"#define MFP_GET_PAUSE_EVENT(hdr) __MFP_CAST_EVENT(hdr, PAUSE)"
)
cpp_quote
(
"#define MFP_GET_STOP_EVENT(hdr) __MFP_CAST_EVENT(hdr, STOP)"
)
cpp_quote
(
"#define MFP_GET_POSITION_SET_EVENT(hdr) __MFP_CAST_EVENT(hdr, POSITION_SET)"
)
cpp_quote
(
"#define MFP_GET_RATE_SET_EVENT(hdr) __MFP_CAST_EVENT(hdr, RATE_SET)"
)
cpp_quote
(
"#define MFP_GET_MEDIAITEM_CREATED_EVENT(hdr) __MFP_CAST_EVENT(hdr, MEDIAITEM_CREATED)"
)
cpp_quote
(
"#define MFP_GET_MEDIAITEM_SET_EVENT(hdr) __MFP_CAST_EVENT(hdr, MEDIAITEM_SET)"
)
cpp_quote
(
"#define MFP_GET_FRAME_STEP_EVENT(hdr) __MFP_CAST_EVENT(hdr, FRAME_STEP)"
)
cpp_quote
(
"#define MFP_GET_MEDIAITEM_CLEARED_EVENT(hdr) __MFP_CAST_EVENT(hdr, MEDIAITEM_CLEARED)"
)
cpp_quote
(
"#define MFP_GET_MF_EVENT(hdr) __MFP_CAST_EVENT(hdr, MF)"
)
cpp_quote
(
"#define MFP_GET_ERROR_EVENT(hdr) __MFP_CAST_EVENT(hdr, ERROR)"
)
cpp_quote
(
"#define MFP_GET_PLAYBACK_ENDED_EVENT(hdr) __MFP_CAST_EVENT(hdr, PLAYBACK_ENDED)"
)
cpp_quote
(
"#define MFP_GET_ACQUIRE_USER_CREDENTIAL_EVENT(hdr) __MFP_CAST_EVENT(hdr, ACQUIRE_USER_CREDENTIAL)"
)
[
object
,
uuid
(
766
c8ffb
-
5
fdb
-
4
fea
-
a28d
-
b912996f51bd
),
...
...
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