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
4c0f0281
Commit
4c0f0281
authored
May 01, 2012
by
Christian Costa
Committed by
Alexandre Julliard
May 02, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmusic: Check errors in IDirectMusic8Impl_Activate and remove FIXME.
parent
5ae038b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
10 deletions
+15
-10
dmusic.c
dlls/dmusic/dmusic.c
+15
-10
No files found.
dlls/dmusic/dmusic.c
View file @
4c0f0281
...
...
@@ -285,17 +285,22 @@ static HRESULT WINAPI IDirectMusic8Impl_SetMasterClock(LPDIRECTMUSIC8 iface, REF
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusic8Impl_Activate
(
LPDIRECTMUSIC8
iface
,
BOOL
fE
nable
)
static
HRESULT
WINAPI
IDirectMusic8Impl_Activate
(
LPDIRECTMUSIC8
iface
,
BOOL
e
nable
)
{
IDirectMusic8Impl
*
This
=
impl_from_IDirectMusic8
(
iface
);
int
i
;
FIXME
(
"(%p, %d): stub
\n
"
,
This
,
fEnable
);
for
(
i
=
0
;
i
<
This
->
nrofports
;
i
++
)
{
IDirectMusicPort_Activate
(
This
->
ppPorts
[
i
],
fEnable
);
}
return
S_OK
;
IDirectMusic8Impl
*
This
=
impl_from_IDirectMusic8
(
iface
);
int
i
;
HRESULT
hr
;
TRACE
(
"(%p)->(%u)
\n
"
,
This
,
enable
);
for
(
i
=
0
;
i
<
This
->
nrofports
;
i
++
)
{
hr
=
IDirectMusicPort_Activate
(
This
->
ppPorts
[
i
],
enable
);
if
(
FAILED
(
hr
))
return
hr
;
}
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusic8Impl_GetDefaultPort
(
LPDIRECTMUSIC8
iface
,
LPGUID
pguidPort
)
...
...
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