Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
5d8997d8
Commit
5d8997d8
authored
Jul 06, 2004
by
Robert Reif
Committed by
Alexandre Julliard
Jul 06, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create DirectSound or DirectSound8 depending on riid.
parent
c4d7c8da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
dsound_main.c
dlls/dsound/dsound_main.c
+4
-4
No files found.
dlls/dsound/dsound_main.c
View file @
5d8997d8
...
...
@@ -477,11 +477,11 @@ static HRESULT WINAPI DSCF_CreateInstance(
*
ppobj
=
NULL
;
if
(
IsEqualGUID
(
&
IID_IDirectSound
,
riid
)
||
IsEqualGUID
(
&
IID_IDirectSound8
,
riid
)
)
{
/* FIXME: reuse already created dsound if present? */
if
(
IsEqualIID
(
&
IID_IDirectSound
,
riid
)
)
return
DirectSoundCreate
(
0
,(
LPDIRECTSOUND
*
)
ppobj
,
pOuter
);
if
(
IsEqualIID
(
&
IID_IDirectSound8
,
riid
)
)
return
DirectSoundCreate8
(
0
,(
LPDIRECTSOUND8
*
)
ppobj
,
pOuter
);
}
WARN
(
"(%p,%p,%s,%p) Interface not found!
\n
"
,
This
,
pOuter
,
debugstr_guid
(
riid
),
ppobj
);
return
E_NOINTERFACE
;
...
...
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