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
3c4d8360
Commit
3c4d8360
authored
Sep 06, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Sep 29, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmime: Implement IDirectMusicPerformance_DownloadInstrument.
parent
96b0bdd7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
6 deletions
+16
-6
performance.c
dlls/dmime/performance.c
+16
-6
No files found.
dlls/dmime/performance.c
View file @
3c4d8360
...
@@ -828,14 +828,24 @@ static HRESULT WINAPI performance_PChannelInfo(IDirectMusicPerformance8 *iface,
...
@@ -828,14 +828,24 @@ static HRESULT WINAPI performance_PChannelInfo(IDirectMusicPerformance8 *iface,
}
}
static
HRESULT
WINAPI
performance_DownloadInstrument
(
IDirectMusicPerformance8
*
iface
,
static
HRESULT
WINAPI
performance_DownloadInstrument
(
IDirectMusicPerformance8
*
iface
,
IDirectMusicInstrument
*
pInst
,
DWORD
dwPC
hannel
,
IDirectMusicInstrument
*
instrument
,
DWORD
port_c
hannel
,
IDirectMusicDownloadedInstrument
**
ppDownInst
,
DMUS_NOTERANGE
*
pNoteR
anges
,
IDirectMusicDownloadedInstrument
**
downloaded
,
DMUS_NOTERANGE
*
note_r
anges
,
DWORD
dwNumNoteRanges
,
IDirectMusicPort
**
ppPort
,
DWORD
*
pdwGroup
,
DWORD
*
pdwMC
hannel
)
DWORD
note_range_count
,
IDirectMusicPort
**
port
,
DWORD
*
group
,
DWORD
*
music_c
hannel
)
{
{
struct
performance
*
This
=
impl_from_IDirectMusicPerformance8
(
iface
);
struct
performance
*
This
=
impl_from_IDirectMusicPerformance8
(
iface
);
IDirectMusicPort
*
tmp_port
=
NULL
;
HRESULT
hr
;
FIXME
(
"(%p, %p, %ld, %p, %p, %ld, %p, %p, %p): stub
\n
"
,
This
,
pInst
,
dwPChannel
,
ppDownInst
,
pNoteRanges
,
dwNumNoteRanges
,
ppPort
,
pdwGroup
,
pdwMChannel
);
TRACE
(
"(%p, %p, %ld, %p, %p, %ld, %p, %p, %p)
\n
"
,
This
,
instrument
,
port_channel
,
downloaded
,
return
S_OK
;
note_ranges
,
note_range_count
,
port
,
group
,
music_channel
);
if
(
!
port
)
port
=
&
tmp_port
;
if
(
FAILED
(
hr
=
IDirectMusicPerformance_PChannelInfo
(
iface
,
port_channel
,
port
,
group
,
music_channel
)))
return
hr
;
hr
=
IDirectMusicPort_DownloadInstrument
(
*
port
,
instrument
,
downloaded
,
note_ranges
,
note_range_count
);
if
(
tmp_port
)
IDirectMusicPort_Release
(
tmp_port
);
return
hr
;
}
}
static
HRESULT
WINAPI
performance_Invalidate
(
IDirectMusicPerformance8
*
iface
,
MUSIC_TIME
mtTime
,
DWORD
dwFlags
)
static
HRESULT
WINAPI
performance_Invalidate
(
IDirectMusicPerformance8
*
iface
,
MUSIC_TIME
mtTime
,
DWORD
dwFlags
)
...
...
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