2006-10-13 21:03:55 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2006 James Hawkins
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WINE_CLUSAPI_H
|
|
|
|
#define __WINE_CLUSAPI_H
|
|
|
|
|
2007-02-07 22:48:29 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2008-12-05 23:42:51 +00:00
|
|
|
typedef struct _HCLUSTER *HCLUSTER;
|
2008-12-06 00:20:20 +00:00
|
|
|
typedef struct _HCLUSENUM *HCLUSENUM;
|
2008-12-05 23:42:51 +00:00
|
|
|
|
2013-05-23 23:01:03 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
|
2008-12-05 23:42:51 +00:00
|
|
|
BOOL WINAPI CloseCluster(HCLUSTER hCluster);
|
2013-05-23 23:01:03 +00:00
|
|
|
DWORD WINAPI GetClusterInformation(HCLUSTER hCluster, LPWSTR lpszClusterName,
|
|
|
|
LPDWORD lpcchClusterName, LPCLUSTERVERSIONINFO lpClusterInfo);
|
2007-02-07 15:22:19 +00:00
|
|
|
DWORD WINAPI GetNodeClusterState(LPCWSTR lpszNodeName, LPDWORD pdwClusterState);
|
2008-12-05 23:42:51 +00:00
|
|
|
HCLUSTER WINAPI OpenCluster(LPCWSTR lpszClusterName);
|
2008-12-06 00:20:20 +00:00
|
|
|
HCLUSENUM WINAPI ClusterOpenEnum(HCLUSTER hCluster, DWORD dwType);
|
|
|
|
DWORD WINAPI ClusterEnum(HCLUSENUM hEnum, DWORD dwIndex, LPDWORD lpdwType, LPWSTR lpszName, LPDWORD lpcchName);
|
|
|
|
DWORD WINAPI ClusterCloseEnum(HCLUSENUM hEnum);
|
2006-10-13 21:03:55 +00:00
|
|
|
|
2007-02-07 22:48:29 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2006-10-13 21:03:55 +00:00
|
|
|
#endif /* __WINE_CLUSAPI_H */
|