ReactOS  0.4.15-dev-1647-g91fceab
clusapi.h
Go to the documentation of this file.
1 /*
2  * Copyright 2006 James Hawkins
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  */
18 
19 #ifndef __WINE_CLUSAPI_H
20 #define __WINE_CLUSAPI_H
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 typedef struct _HCLUSTER *HCLUSTER;
27 typedef struct _HCLUSENUM *HCLUSENUM;
28 
29 
30 typedef struct _CLUSTERVERSIONINFO
31 {
43 
45 DWORD WINAPI GetClusterInformation(HCLUSTER hCluster, LPWSTR lpszClusterName,
46  LPDWORD lpcchClusterName, LPCLUSTERVERSIONINFO lpClusterInfo);
47 DWORD WINAPI GetNodeClusterState(LPCWSTR lpszNodeName, LPDWORD pdwClusterState);
48 HCLUSTER WINAPI OpenCluster(LPCWSTR lpszClusterName);
50 DWORD WINAPI ClusterEnum(HCLUSENUM hEnum, DWORD dwIndex, LPDWORD lpdwType, LPWSTR lpszName, LPDWORD lpcchName);
52 
53 #ifdef __cplusplus
54 }
55 #endif
56 
57 #endif /* __WINE_CLUSAPI_H */
DWORD WINAPI ClusterEnum(HCLUSENUM hEnum, DWORD dwIndex, LPDWORD lpdwType, LPWSTR lpszName, LPDWORD lpcchName)
Definition: clusapi.c:112
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
HCLUSTER WINAPI OpenCluster(LPCWSTR lpszClusterName)
Definition: clusapi.c:68
struct _CLUSTERVERSIONINFO * LPCLUSTERVERSIONINFO
DWORD dwVersionInfoSize
Definition: clusapi.h:32
DWORD WINAPI GetNodeClusterState(LPCWSTR lpszNodeName, LPDWORD pdwClusterState)
Definition: clusapi.c:55
WCHAR szVendorId[64]
Definition: clusapi.h:36
unsigned int BOOL
Definition: ntddk_ex.h:94
struct _HCLUSENUM * HCLUSENUM
Definition: clusapi.h:27
__wchar_t WCHAR
Definition: xmlstorage.h:180
struct _CLUSTERVERSIONINFO CLUSTERVERSIONINFO
#define WINAPI
Definition: msvc.h:6
DWORD dwClusterLowestVersion
Definition: clusapi.h:39
unsigned short WORD
Definition: ntddk_ex.h:93
unsigned long DWORD
Definition: ntddk_ex.h:95
WCHAR szCSDVersion[64]
Definition: clusapi.h:37
DWORD dwClusterHighestVersion
Definition: clusapi.h:38
HCLUSENUM WINAPI ClusterOpenEnum(HCLUSTER hCluster, DWORD dwType)
Definition: clusapi.c:90
uint32_t * LPDWORD
Definition: typedefs.h:59
WCHAR * LPWSTR
Definition: xmlstorage.h:184
struct _HCLUSTER * HCLUSTER
Definition: clusapi.h:26
BOOL WINAPI CloseCluster(HCLUSTER hCluster)
Definition: clusapi.c:79
DWORD WINAPI GetClusterInformation(HCLUSTER hCluster, LPWSTR lpszClusterName, LPDWORD lpcchClusterName, LPCLUSTERVERSIONINFO lpClusterInfo)
Definition: clusapi.c:34
DWORD WINAPI ClusterCloseEnum(HCLUSENUM hEnum)
Definition: clusapi.c:101