clusapi.h - add node cluster states for GetNodeClusterState()

EA Durbin ead1234 at hotmail.com
Mon Apr 9 22:45:11 CDT 2007


http://msdn2.microsoft.com/en-us/library/aa369629.aspx

_________________________________________________________________
Mortgage rates near historic lows. Refinance $200,000 loan for as low as 
$771/month* 
https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h27f8&disc=y&vers=689&s=4056&p=5117
-------------- next part --------------
>From 3e05cc28947203e1014a298ea3935385900f7498 Mon Sep 17 00:00:00 2001
From: EA Durbin <ead1234 at hotmail.com>
Date: Mon, 9 Apr 2007 22:22:36 -0500
Subject: clusapi.h add interfaces for GetNodeClusterState
---
include/clusapi.h |   11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/include/clusapi.h b/include/clusapi.h
index ff4577f..67376b5 100644
--- a/include/clusapi.h
+++ b/include/clusapi.h
@@ -25,6 +25,17 @@ #endif

DWORD WINAPI GetNodeClusterState(LPCWSTR lpszNodeName, LPDWORD 
pdwClusterState);

+#define CLUSTER_INSTALLED      0x00000001
+#define CLUSTER_CONFIGURED     0x00000002
+#define CLUSTER_RUNNING        0x00000010
+
+typedef enum NODE_CLUSTER_STATE {
+    ClusterStateNotInstalled         = 0x00000000,
+    ClusterStateNotConfigured        = CLUSTER_INSTALLED,
+    ClusterStateNotRunning           = CLUSTER_INSTALLED | 
CLUSTER_CONFIGURED,
+    ClusterStateRunning              = CLUSTER_INSTALLED | 
CLUSTER_CONFIGURED | CLUSTER_RUNNING
+} NODE_CLUSTER_STATE;
+
#ifdef __cplusplus
}
#endif
--
1.4.1




More information about the wine-patches mailing list