- Fix one more dsound_winetest dsound8 failure
[reactos.git] / reactos / dll / directx / dsound_new / directsound.c
index c2e1687..12b03cf 100644 (file)
@@ -353,6 +353,14 @@ IDirectSound8_fnVerifyCertification(
     LPDIRECTSOUND8 iface,
     LPDWORD pdwCertified)
 {
+    LPCDirectSoundImpl This = (LPCDirectSoundImpl)CONTAINING_RECORD(iface, CDirectSoundImpl, lpVtbl);
+
+    if (!This->bInitialized)
+    {
+        /* object not yet initialized */
+        return DSERR_UNINITIALIZED;
+    }
+
     UNIMPLEMENTED;
     return DS_CERTIFIED;
 }