Sebastian Lackner : wbemprox/tests: Actually test the return value of IEnumWbemClassObject_Next.

Alexandre Julliard julliard at wine.codeweavers.com
Tue May 5 09:50:51 CDT 2015


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

Author: Sebastian Lackner <sebastian at fds-team.de>
Date:   Fri Apr 17 06:49:55 2015 +0200

wbemprox/tests: Actually test the return value of IEnumWbemClassObject_Next.

---

 dlls/wbemprox/tests/query.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wbemprox/tests/query.c b/dlls/wbemprox/tests/query.c
index eb3bd58..8fd027e 100644
--- a/dlls/wbemprox/tests/query.c
+++ b/dlls/wbemprox/tests/query.c
@@ -383,7 +383,7 @@ static void test_Win32_ComputerSystem( IWbemServices *services )
         return;
     }
 
-    IEnumWbemClassObject_Next( result, 10000, 1, &service, &count );
+    hr = IEnumWbemClassObject_Next( result, 10000, 1, &service, &count );
     ok( hr == S_OK, "got %08x\n", hr );
 
     type = 0xdeadbeef;




More information about the wine-cvs mailing list