dmloader/tests: Skip the tests if we don't have IDirectMusicLoader8.

Michael Stefaniuc mstefani at redhat.de
Fri Mar 14 05:14:09 CDT 2014


Regression introduced by 82f771e34768b4914bb5cbaeec7cde28be15689e
There are still some Win2K machines with a stoneage dmusic version out
there.
---

<puk> fgouget: the fix is in
https://testbot.winehq.org/JobDetails.pl?Key=5690
<puk> fgouget: can you please test it on one of your VMs that crash?
<fgouget> sure
<puk> thx
<fgouget> it skips
<puk> correct
<puk> it did that before


 dlls/dmloader/tests/loader.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/dmloader/tests/loader.c b/dlls/dmloader/tests/loader.c
index 273149d..28adba1 100644
--- a/dlls/dmloader/tests/loader.c
+++ b/dlls/dmloader/tests/loader.c
@@ -29,13 +29,13 @@ static unsigned char rifffile[8+4+8+16+8+256] = "RIFF\x24\x01\x00\x00WAVE" /* he
 
 static BOOL missing_dmloader(void)
 {
-    IDirectMusicLoader *dml;
+    IDirectMusicLoader8 *dml;
     HRESULT hr = CoCreateInstance(&CLSID_DirectMusicLoader, NULL, CLSCTX_INPROC_SERVER,
-            &IID_IDirectMusicLoader, (void**)&dml);
+            &IID_IDirectMusicLoader8, (void**)&dml);
 
     if (hr == S_OK && dml)
     {
-        IDirectMusicLoader_Release(dml);
+        IDirectMusicLoader8_Release(dml);
         return FALSE;
     }
     return TRUE;
-- 
1.8.3.1



More information about the wine-patches mailing list