ReactOS  0.4.15-dev-1377-ga59cecd
clusapi.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _CLUSTERVERSIONINFO
 

Typedefs

typedef struct _HCLUSTER * HCLUSTER
 
typedef struct _HCLUSENUM * HCLUSENUM
 
typedef struct _CLUSTERVERSIONINFO CLUSTERVERSIONINFO
 
typedef struct _CLUSTERVERSIONINFOLPCLUSTERVERSIONINFO
 

Functions

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)
 
DWORD WINAPI ClusterEnum (HCLUSENUM hEnum, DWORD dwIndex, LPDWORD lpdwType, LPWSTR lpszName, LPDWORD lpcchName)
 
DWORD WINAPI ClusterCloseEnum (HCLUSENUM hEnum)
 

Typedef Documentation

◆ CLUSTERVERSIONINFO

◆ HCLUSENUM

typedef struct _HCLUSENUM* HCLUSENUM

Definition at line 27 of file clusapi.h.

◆ HCLUSTER

typedef struct _HCLUSTER* HCLUSTER

Definition at line 26 of file clusapi.h.

◆ LPCLUSTERVERSIONINFO

Function Documentation

◆ CloseCluster()

BOOL WINAPI CloseCluster ( HCLUSTER  hCluster)

Definition at line 79 of file clusapi.c.

80 {
81  FIXME("(%p) stub!\n", hCluster);
82 
83  return TRUE;
84 }
#define TRUE
Definition: types.h:120
#define FIXME(fmt,...)
Definition: debug.h:111

◆ ClusterCloseEnum()

DWORD WINAPI ClusterCloseEnum ( HCLUSENUM  hEnum)

Definition at line 101 of file clusapi.c.

102 {
103  FIXME("(%p) stub!\n", hEnum);
104 
105  return ERROR_SUCCESS;
106 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define FIXME(fmt,...)
Definition: debug.h:111

◆ ClusterEnum()

DWORD WINAPI ClusterEnum ( HCLUSENUM  hEnum,
DWORD  dwIndex,
LPDWORD  lpdwType,
LPWSTR  lpszName,
LPDWORD  lpcchName 
)

Definition at line 112 of file clusapi.c.

113 {
114  FIXME("(%p, %u, %p, %p, %u) stub!\n", hEnum, dwIndex, lpdwType, lpszName, *lpcchName);
115 
116  return ERROR_NO_MORE_ITEMS;
117 }
#define ERROR_NO_MORE_ITEMS
Definition: compat.h:105
#define FIXME(fmt,...)
Definition: debug.h:111

◆ ClusterOpenEnum()

HCLUSENUM WINAPI ClusterOpenEnum ( HCLUSTER  hCluster,
DWORD  dwType 
)

Definition at line 90 of file clusapi.c.

91 {
92  FIXME("(%p, %u) stub!\n", hCluster,dwType);
93 
94  return (HCLUSENUM)0xdeadbeef;
95 }
#define FIXME(fmt,...)
Definition: debug.h:111
struct _HCLUSENUM * HCLUSENUM
Definition: clusapi.h:27

◆ GetClusterInformation()

DWORD WINAPI GetClusterInformation ( HCLUSTER  hCluster,
LPWSTR  lpszClusterName,
LPDWORD  lpcchClusterName,
LPCLUSTERVERSIONINFO  lpClusterInfo 
)

Definition at line 34 of file clusapi.c.

36 {
37  FIXME("(%p, %p, %p, %p) stub!\n", hCluster, lpszClusterName, lpcchClusterName, lpClusterInfo);
38 
39  *lpcchClusterName = 0;
40 
41  return ERROR_SUCCESS;
42 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define FIXME(fmt,...)
Definition: debug.h:111

◆ GetNodeClusterState()

DWORD WINAPI GetNodeClusterState ( LPCWSTR  lpszNodeName,
LPDWORD  pdwClusterState 
)

Definition at line 55 of file clusapi.c.

56 {
57  FIXME("(%s,%p) stub!\n",debugstr_w(lpszNodeName),pdwClusterState);
58 
59  *pdwClusterState = 0;
60 
61  return ERROR_SUCCESS;
62 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:111

◆ OpenCluster()

HCLUSTER WINAPI OpenCluster ( LPCWSTR  lpszClusterName)

Definition at line 68 of file clusapi.c.

69 {
70  FIXME("(%s) stub!\n", debugstr_w(lpszClusterName));
71 
72  return (HCLUSTER)0xdeadbeef;
73 }
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:111
struct _HCLUSTER * HCLUSTER
Definition: clusapi.h:26