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
64841cab
Commit
64841cab
authored
Feb 09, 2006
by
Robert Reif
Committed by
Alexandre Julliard
Feb 09, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Fix duplex test.
parent
094e8539
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
duplex.c
dlls/dsound/tests/duplex.c
+4
-1
No files found.
dlls/dsound/tests/duplex.c
View file @
64841cab
...
@@ -123,12 +123,15 @@ static void IDirectSoundFullDuplex_tests(void)
...
@@ -123,12 +123,15 @@ static void IDirectSoundFullDuplex_tests(void)
rc
=
CoCreateInstance
(
&
CLSID_DirectSoundFullDuplex
,
NULL
,
rc
=
CoCreateInstance
(
&
CLSID_DirectSoundFullDuplex
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IDirectSoundFullDuplex
,
CLSCTX_INPROC_SERVER
,
&
IID_IDirectSoundFullDuplex
,
(
void
**
)
&
dsfdo
);
(
void
**
)
&
dsfdo
);
ok
(
rc
==
S_OK
||
rc
==
REGDB_E_CLASSNOTREG
,
ok
(
rc
==
S_OK
||
rc
==
REGDB_E_CLASSNOTREG
||
rc
==
CLASS_E_CLASSNOTAVAILABLE
,
"CoCreateInstance(CLSID_DirectSoundFullDuplex) failed: %s (0x%08lx)
\n
"
,
"CoCreateInstance(CLSID_DirectSoundFullDuplex) failed: %s (0x%08lx)
\n
"
,
DXGetErrorString8
(
rc
),
rc
);
DXGetErrorString8
(
rc
),
rc
);
if
(
rc
==
REGDB_E_CLASSNOTREG
)
{
if
(
rc
==
REGDB_E_CLASSNOTREG
)
{
trace
(
" Class Not Registered
\n
"
);
trace
(
" Class Not Registered
\n
"
);
return
;
return
;
}
else
if
(
rc
==
CLASS_E_CLASSNOTAVAILABLE
)
{
trace
(
" Class Not Available
\n
"
);
return
;
}
}
if
(
dsfdo
)
if
(
dsfdo
)
IDirectSoundFullDuplex_test
(
dsfdo
,
FALSE
,
NULL
,
NULL
);
IDirectSoundFullDuplex_test
(
dsfdo
,
FALSE
,
NULL
,
NULL
);
...
...
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