query: Return a more appropriate error code from CIState.
authorMike McCormack <mike@codeweavers.com>
Wed, 12 Jul 2006 05:56:17 +0000 (14:56 +0900)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 12 Jul 2006 11:21:38 +0000 (13:21 +0200)
dlls/query/query_main.c

index 5a91095..6b08352 100644 (file)
@@ -30,6 +30,7 @@
 #include "winreg.h"
 #include "ole2.h"
 #include "ntquery.h"
+#include "cierror.h"
 #include "initguid.h"
 
 #include "wine/debug.h"
@@ -73,5 +74,5 @@ HRESULT WINAPI DllRegisterServer(void)
 HRESULT WINAPI CIState( WCHAR const *pwcsCat, WCHAR const *pwcsMachine, CI_STATE *pCiState)
 {
     FIXME("%s %s %p\n", debugstr_w(pwcsCat), debugstr_w(pwcsMachine), pCiState);
-    return E_FAIL;
+    return CI_E_NOT_RUNNING;
 }