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
9cb01426
Commit
9cb01426
authored
Sep 26, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Oct 04, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmime: Redirect IDirectMusicPerformance_PlaySegment to PlaySegmentEx.
parent
c6e6f87a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
performance.c
dlls/dmime/performance.c
+7
-8
No files found.
dlls/dmime/performance.c
View file @
9cb01426
...
...
@@ -384,16 +384,15 @@ static HRESULT WINAPI performance_Init(IDirectMusicPerformance8 *iface, IDirectM
return
S_OK
;
}
static
HRESULT
WINAPI
performance_PlaySegment
(
IDirectMusicPerformance8
*
iface
,
IDirectMusicSegment
*
pS
egment
,
DWORD
dwFlags
,
__int64
i64StartTime
,
IDirectMusicSegmentState
**
ppSegmentS
tate
)
static
HRESULT
WINAPI
performance_PlaySegment
(
IDirectMusicPerformance8
*
iface
,
IDirectMusicSegment
*
s
egment
,
DWORD
segment_flags
,
INT64
start_time
,
IDirectMusicSegmentState
**
ret_s
tate
)
{
struct
performance
*
This
=
impl_from_IDirectMusicPerformance8
(
iface
);
struct
performance
*
This
=
impl_from_IDirectMusicPerformance8
(
iface
);
FIXME
(
"(%p, %p, %ld, 0x%s, %p): stub
\n
"
,
This
,
pSegment
,
dwFlags
,
wine_dbgstr_longlong
(
i64StartTime
),
ppSegmentState
);
if
(
ppSegmentState
)
return
create_dmsegmentstate
(
&
IID_IDirectMusicSegmentState
,(
void
**
)
ppSegmentState
);
return
S_OK
;
TRACE
(
"(%p, %p, %ld, %I64d, %p)
\n
"
,
This
,
segment
,
segment_flags
,
start_time
,
ret_state
);
return
IDirectMusicPerformance8_PlaySegmentEx
(
iface
,
(
IUnknown
*
)
segment
,
NULL
,
NULL
,
segment_flags
,
start_time
,
ret_state
,
NULL
,
NULL
);
}
static
HRESULT
WINAPI
performance_Stop
(
IDirectMusicPerformance8
*
iface
,
IDirectMusicSegment
*
pSegment
,
...
...
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