clusapi: Add stub for GetClusterInformation.

This commit is contained in:
André Hentschel 2013-05-24 01:01:03 +02:00 committed by Alexandre Julliard
parent f8971d0342
commit c6acd7a41c
3 changed files with 32 additions and 1 deletions

View File

@ -27,6 +27,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.@)
*

View File

@ -70,7 +70,7 @@
@ stub GetClusterFromResource
@ stub GetClusterGroupKey
@ stub GetClusterGroupState
@ stub GetClusterInformation
@ stdcall GetClusterInformation(ptr ptr ptr ptr)
@ stub GetClusterKey
@ stub GetClusterNetInterface
@ stub GetClusterNetInterfaceKey

View File

@ -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);