Alistair Leslie-Hughes : clusapi: Corrected value in GetNodeClusterState.

Alexandre Julliard julliard at winehq.org
Mon Nov 12 06:27:53 CST 2007


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

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Mon Nov 12 21:01:19 2007 +1100

clusapi: Corrected value in GetNodeClusterState.

---

 dlls/clusapi/clusapi.c |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/dlls/clusapi/clusapi.c b/dlls/clusapi/clusapi.c
index 78dfd0f..734676c 100644
--- a/dlls/clusapi/clusapi.c
+++ b/dlls/clusapi/clusapi.c
@@ -30,12 +30,21 @@ WINE_DEFAULT_DEBUG_CHANNEL(clusapi);
 /***********************************************************************
  *             GetNodeClusterState   (CLUSAPI.@)
  *
+ * PARAMS
+ *   lpszNodeName    [I] Optional Pointer to a NULL terminated unicode string
+ *   pdwClusterState [O] Current state of the cluster
+ *                        0x00 - Cluster not installed.
+ *                        0x01 - Cluster not configured.
+ *                        0x03 - Cluster not running.
+ *                        0x13 - Cluster is running.
  */
 DWORD WINAPI GetNodeClusterState(LPCWSTR lpszNodeName, LPDWORD pdwClusterState)
 {
-    FIXME("(%s,%p) stub!\n",debugstr_w(lpszNodeName),pdwClusterState);
+    FIXME("(%s,%p,%u) stub!\n",debugstr_w(lpszNodeName),pdwClusterState, *pdwClusterState);
 
-    return 0;
+    *pdwClusterState = 0;
+
+    return ERROR_SUCCESS;
 }
 
 




More information about the wine-cvs mailing list