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
e5b9d0df
Commit
e5b9d0df
authored
12 years ago
by
Christian Costa
Committed by
Alexandre Julliard
12 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmsynth: Display more info in IDirectMusicSynth8Impl_Download stub.
parent
aecd9c12
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
0 deletions
+43
-0
synth.c
dlls/dmsynth/synth.c
+43
-0
No files found.
dlls/dmsynth/synth.c
View file @
e5b9d0df
...
...
@@ -123,9 +123,52 @@ static HRESULT WINAPI IDirectMusicSynth8Impl_SetNumChannelGroups(LPDIRECTMUSICSY
static
HRESULT
WINAPI
IDirectMusicSynth8Impl_Download
(
LPDIRECTMUSICSYNTH8
iface
,
LPHANDLE
hDownload
,
LPVOID
data
,
LPBOOL
free
)
{
IDirectMusicSynth8Impl
*
This
=
impl_from_IDirectMusicSynth8
(
iface
);
DMUS_DOWNLOADINFO
*
info
=
(
DMUS_DOWNLOADINFO
*
)
data
;
FIXME
(
"(%p)->(%p, %p, %p): stub
\n
"
,
This
,
hDownload
,
data
,
free
);
if
(
!
hDownload
||
!
data
||
!
free
)
return
E_POINTER
;
if
(
TRACE_ON
(
dmsynth
))
{
TRACE
(
"Dump DMUS_DOWNLOADINFO struct:
\n
"
);
TRACE
(
" - dwDLType = %u
\n
"
,
info
->
dwDLType
);
TRACE
(
" - dwDLId = %u
\n
"
,
info
->
dwDLId
);
TRACE
(
" - dwNumOffsetTableEntries = %u
\n
"
,
info
->
dwNumOffsetTableEntries
);
TRACE
(
" - cbSize = %u
\n
"
,
info
->
cbSize
);
}
if
(
info
->
dwDLType
==
DMUS_DOWNLOADINFO_INSTRUMENT
)
{
FIXME
(
"Download type DMUS_DOWNLOADINFO_INSTRUMENT not yet supported
\n
"
);
}
else
if
(
info
->
dwDLType
==
DMUS_DOWNLOADINFO_WAVE
)
{
FIXME
(
"Download type DMUS_DOWNLOADINFO_WAVE not yet supported
\n
"
);
}
else
if
(
info
->
dwDLType
==
DMUS_DOWNLOADINFO_INSTRUMENT2
)
{
FIXME
(
"Download type DMUS_DOWNLOADINFO_INSTRUMENT2 not yet supported
\n
"
);
}
else
if
(
info
->
dwDLType
==
DMUS_DOWNLOADINFO_WAVEARTICULATION
)
{
FIXME
(
"Download type DMUS_DOWNLOADINFO_WAVEARTICULATION not yet supported
\n
"
);
}
else
if
(
info
->
dwDLType
==
DMUS_DOWNLOADINFO_STREAMINGWAVE
)
{
FIXME
(
"Download type DMUS_DOWNLOADINFO_STREAMINGWAVE not yet supported
\n
"
);
}
else
if
(
info
->
dwDLType
==
DMUS_DOWNLOADINFO_ONESHOTWAVE
)
{
FIXME
(
"Download type DMUS_DOWNLOADINFO_ONESHOTWAVE not yet supported
\n
"
);
}
else
{
WARN
(
"Unknown download type %u
\n
"
,
info
->
dwDLType
);
return
DMUS_E_UNKNOWNDOWNLOAD
;
}
return
S_OK
;
}
...
...
This diff is collapsed.
Click to expand it.
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