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
3d6669cc
Commit
3d6669cc
authored
Apr 14, 2021
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 14, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mfplat: Use RTWQ* type in BeginGetEvent().
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8335099b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
main.c
dlls/mfplat/main.c
+3
-3
No files found.
dlls/mfplat/main.c
View file @
3d6669cc
...
...
@@ -7109,7 +7109,7 @@ static void queue_notify_subscriber(struct event_queue *queue)
static
HRESULT
WINAPI
eventqueue_BeginGetEvent
(
IMFMediaEventQueue
*
iface
,
IMFAsyncCallback
*
callback
,
IUnknown
*
state
)
{
struct
event_queue
*
queue
=
impl_from_IMFMediaEventQueue
(
iface
);
MF
ASYNCRESULT
*
result_data
;
RTWQ
ASYNCRESULT
*
result_data
;
HRESULT
hr
;
TRACE
(
"%p, %p, %p.
\n
"
,
iface
,
callback
,
state
);
...
...
@@ -7121,9 +7121,9 @@ static HRESULT WINAPI eventqueue_BeginGetEvent(IMFMediaEventQueue *iface, IMFAsy
if
(
queue
->
is_shut_down
)
hr
=
MF_E_SHUTDOWN
;
else
if
((
result_data
=
(
MF
ASYNCRESULT
*
)
queue
->
subscriber
))
else
if
((
result_data
=
(
RTWQ
ASYNCRESULT
*
)
queue
->
subscriber
))
{
if
(
result_data
->
pCallback
==
callback
)
if
(
result_data
->
pCallback
==
(
IRtwqAsyncCallback
*
)
callback
)
hr
=
IRtwqAsyncResult_GetStateNoAddRef
(
queue
->
subscriber
)
==
state
?
MF_S_MULTIPLE_BEGIN
:
MF_E_MULTIPLE_BEGIN
;
else
...
...
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