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

This commit is contained in:
Paul Vriens 2007-11-12 19:32:13 +01:00 committed by Alexandre Julliard
parent 65d3682c22
commit 52ccb14155
1 changed files with 1 additions and 1 deletions

View File

@ -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 */