ReactOS  0.4.15-dev-1070-ge1a01de
clusapi.c File Reference
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "clusapi.h"
#include "wine/debug.h"
Include dependency graph for clusapi.c:

Go to the source code of this file.

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (clusapi)
 
DWORD WINAPI GetClusterInformation (HCLUSTER hCluster, LPWSTR lpszClusterName, LPDWORD lpcchClusterName, LPCLUSTERVERSIONINFO lpClusterInfo)
 
DWORD WINAPI GetNodeClusterState (LPCWSTR lpszNodeName, LPDWORD pdwClusterState)
 
HCLUSTER WINAPI OpenCluster (LPCWSTR lpszClusterName)
 
BOOL WINAPI CloseCluster (HCLUSTER hCluster)
 
HCLUSENUM WINAPI ClusterOpenEnum (HCLUSTER hCluster, DWORD dwType)
 
DWORD WINAPI ClusterCloseEnum (HCLUSENUM hEnum)
 
DWORD WINAPI ClusterEnum (HCLUSENUM hEnum, DWORD dwIndex, LPDWORD lpdwType, LPWSTR lpszName, LPDWORD lpcchName)
 
BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
 

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

◆ DllMain()

BOOL WINAPI DllMain ( HINSTANCE  hinstDLL,
DWORD  fdwReason,
LPVOID  lpvReserved 
)

Definition at line 123 of file clusapi.c.

124 {
125  switch(fdwReason)
126  {
127  case DLL_WINE_PREATTACH:
128  return FALSE; /* prefer native version */
129  case DLL_PROCESS_ATTACH:
130  DisableThreadLibraryCalls( hinstDLL );
131  break;
132  }
133  return TRUE;
134 }
#define TRUE
Definition: types.h:120
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
#define FALSE
Definition: types.h:117

◆ 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

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( clusapi  )