Commit c6acd7a4 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

clusapi: Add stub for GetClusterInformation.

parent f8971d03
......@@ -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
......
......@@ -70,7 +70,7 @@
@ stub GetClusterFromResource
@ stub GetClusterGroupKey
@ stub GetClusterGroupState
@ stub GetClusterInformation
@ stdcall GetClusterInformation(ptr ptr ptr ptr)
@ stub GetClusterKey
@ stub GetClusterNetInterface
@ stub GetClusterNetInterfaceKey
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment