Mike McCormack : query: Return a more appropriate error code from CIState.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Jul 12 06:53:46 CDT 2006


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

Author: Mike McCormack <mike at codeweavers.com>
Date:   Wed Jul 12 14:56:17 2006 +0900

query: Return a more appropriate error code from CIState.

---

 dlls/query/query_main.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/query/query_main.c b/dlls/query/query_main.c
index 5a91095..6b08352 100644
--- a/dlls/query/query_main.c
+++ b/dlls/query/query_main.c
@@ -30,6 +30,7 @@ #include "winuser.h"
 #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;
 }




More information about the wine-cvs mailing list