=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: clusapi: Add stub for GetClusterInformation.
Alexandre Julliard
julliard at winehq.org
Fri May 24 11:12:44 CDT 2013
Module: wine
Branch: master
Commit: c6acd7a41c818dee0ae5fdd45590ec48fd53c395
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c6acd7a41c818dee0ae5fdd45590ec48fd53c395
Author: André Hentschel <nerv at dawncrow.de>
Date: Fri May 24 01:01:03 2013 +0200
clusapi: Add stub for GetClusterInformation.
---
dlls/clusapi/clusapi.c | 14 ++++++++++++++
dlls/clusapi/clusapi.spec | 2 +-
include/clusapi.h | 17 +++++++++++++++++
3 files changed, 32 insertions(+), 1 deletions(-)
diff --git a/dlls/clusapi/clusapi.c b/dlls/clusapi/clusapi.c
index f782d43..88c6fbf 100644
--- a/dlls/clusapi/clusapi.c
+++ b/dlls/clusapi/clusapi.c
@@ -28,6 +28,20 @@
WINE_DEFAULT_DEBUG_CHANNEL(clusapi);
/***********************************************************************
+ * GetClusterInformation (CLUSAPI.@)
+ *
+ */
+DWORD WINAPI GetClusterInformation(HCLUSTER hCluster, LPWSTR lpszClusterName,
+ LPDWORD lpcchClusterName, LPCLUSTERVERSIONINFO lpClusterInfo)
+{
+ FIXME("(%p, %p, %p, %p) stub!\n", hCluster, lpszClusterName, lpcchClusterName, lpClusterInfo);
+
+ *lpcchClusterName = 0;
+
+ return ERROR_SUCCESS;
+}
+
+/***********************************************************************
* GetNodeClusterState (CLUSAPI.@)
*
* PARAMS
diff --git a/dlls/clusapi/clusapi.spec b/dlls/clusapi/clusapi.spec
index 9c6abe2..01d3329 100644
--- a/dlls/clusapi/clusapi.spec
+++ b/dlls/clusapi/clusapi.spec
@@ -70,7 +70,7 @@
@ stub GetClusterFromResource
@ stub GetClusterGroupKey
@ stub GetClusterGroupState
-@ stub GetClusterInformation
+@ stdcall GetClusterInformation(ptr ptr ptr ptr)
@ stub GetClusterKey
@ stub GetClusterNetInterface
@ stub GetClusterNetInterfaceKey
diff --git a/include/clusapi.h b/include/clusapi.h
index 7e04964..4ab07cc 100644
--- a/include/clusapi.h
+++ b/include/clusapi.h
@@ -26,7 +26,24 @@ extern "C" {
typedef struct _HCLUSTER *HCLUSTER;
typedef struct _HCLUSENUM *HCLUSENUM;
+
+typedef struct _CLUSTERVERSIONINFO
+{
+ DWORD dwVersionInfoSize;
+ WORD MajorVersion;
+ WORD MinorVersion;
+ WORD BuildNumber;
+ WCHAR szVendorId[64];
+ WCHAR szCSDVersion[64];
+ DWORD dwClusterHighestVersion;
+ DWORD dwClusterLowestVersion;
+ DWORD dwFlags;
+ DWORD dwReserved;
+} CLUSTERVERSIONINFO, *LPCLUSTERVERSIONINFO;
+
BOOL WINAPI CloseCluster(HCLUSTER hCluster);
+DWORD WINAPI GetClusterInformation(HCLUSTER hCluster, LPWSTR lpszClusterName,
+ LPDWORD lpcchClusterName, LPCLUSTERVERSIONINFO lpClusterInfo);
DWORD WINAPI GetNodeClusterState(LPCWSTR lpszNodeName, LPDWORD pdwClusterState);
HCLUSTER WINAPI OpenCluster(LPCWSTR lpszClusterName);
HCLUSENUM WINAPI ClusterOpenEnum(HCLUSTER hCluster, DWORD dwType);
More information about the wine-cvs
mailing list