ReactOS 0.4.15-dev-7846-g8ba6c66
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
23extern "C" {
24#endif
25
26typedef struct _HCLUSTER *HCLUSTER;
27typedef struct _HCLUSENUM *HCLUSENUM;
28
29
30typedef struct _CLUSTERVERSIONINFO
31{
43
45DWORD WINAPI GetClusterInformation(HCLUSTER hCluster, LPWSTR lpszClusterName,
46 LPDWORD lpcchClusterName, LPCLUSTERVERSIONINFO lpClusterInfo);
47DWORD WINAPI GetNodeClusterState(LPCWSTR lpszNodeName, LPDWORD pdwClusterState);
48HCLUSTER WINAPI OpenCluster(LPCWSTR lpszClusterName);
50DWORD 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 GetNodeClusterState(LPCWSTR lpszNodeName, LPDWORD pdwClusterState)
Definition: clusapi.c:55
struct _HCLUSTER * HCLUSTER
Definition: clusapi.h:26
DWORD WINAPI ClusterCloseEnum(HCLUSENUM hEnum)
Definition: clusapi.c:101
HCLUSENUM WINAPI ClusterOpenEnum(HCLUSTER hCluster, DWORD dwType)
Definition: clusapi.c:90
struct _CLUSTERVERSIONINFO * LPCLUSTERVERSIONINFO
DWORD WINAPI ClusterEnum(HCLUSENUM hEnum, DWORD dwIndex, LPDWORD lpdwType, LPWSTR lpszName, LPDWORD lpcchName)
Definition: clusapi.c:112
struct _HCLUSENUM * HCLUSENUM
Definition: clusapi.h:27
BOOL WINAPI CloseCluster(HCLUSTER hCluster)
Definition: clusapi.c:79
DWORD WINAPI GetClusterInformation(HCLUSTER hCluster, LPWSTR lpszClusterName, LPDWORD lpcchClusterName, LPCLUSTERVERSIONINFO lpClusterInfo)
Definition: clusapi.c:34
HCLUSTER WINAPI OpenCluster(LPCWSTR lpszClusterName)
Definition: clusapi.c:68
struct _CLUSTERVERSIONINFO CLUSTERVERSIONINFO
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
DWORD dwClusterLowestVersion
Definition: clusapi.h:39
DWORD dwVersionInfoSize
Definition: clusapi.h:32
WCHAR szVendorId[64]
Definition: clusapi.h:36
DWORD dwClusterHighestVersion
Definition: clusapi.h:38
WCHAR szCSDVersion[64]
Definition: clusapi.h:37
uint32_t * LPDWORD
Definition: typedefs.h:59
#define WINAPI
Definition: msvc.h:6
__wchar_t WCHAR
Definition: xmlstorage.h:180
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185