Commit 52ccb141 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

dsound/tests: Better check to see if class is not available.

parent 65d3682c
......@@ -289,7 +289,7 @@ static void propset_private_tests(void)
(void **)(&pcf));
/* some early versions of Direct Sound do not have this */
if (pcf==0)
if (rc==CLASS_E_CLASSNOTAVAILABLE)
return;
/* direct sound private does have an IKsPropertySet */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment