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

Alexandre Julliard julliard at winehq.org
Fri Mar 14 15:39:29 CDT 2014


Module: wine
Branch: master
Commit: 79fe43752418e06edd4c47c3b6136ce978742a63
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=79fe43752418e06edd4c47c3b6136ce978742a63

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Fri Mar 14 11:14:09 2014 +0100

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

---

 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;




More information about the wine-cvs mailing list