Commit 5dd5c225 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

clusapi: Add stubs for OpenCluster and CloseCluster.

parent 77cf8034
...@@ -47,6 +47,27 @@ DWORD WINAPI GetNodeClusterState(LPCWSTR lpszNodeName, LPDWORD pdwClusterState) ...@@ -47,6 +47,27 @@ DWORD WINAPI GetNodeClusterState(LPCWSTR lpszNodeName, LPDWORD pdwClusterState)
return ERROR_SUCCESS; return ERROR_SUCCESS;
} }
/***********************************************************************
* OpenCluster (CLUSAPI.@)
*
*/
HCLUSTER WINAPI OpenCluster(LPCWSTR lpszClusterName)
{
FIXME("(%s) stub!\n", debugstr_w(lpszClusterName));
return (HCLUSTER)0xdeadbeef;
}
/***********************************************************************
* CloseCluster (CLUSAPI.@)
*
*/
BOOL WINAPI CloseCluster(HCLUSTER hCluster)
{
FIXME("(%p) stub!\n", hCluster);
return TRUE;
}
/*********************************************************************** /***********************************************************************
* DllMain (CLUSAPI.@) * DllMain (CLUSAPI.@)
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
@ stub BackupClusterDatabase @ stub BackupClusterDatabase
@ stub CanResourceBeDependent @ stub CanResourceBeDependent
@ stub ChangeClusterResourceGroup @ stub ChangeClusterResourceGroup
@ stub CloseCluster @ stdcall CloseCluster(ptr)
@ stub CloseClusterGroup @ stub CloseClusterGroup
@ stub CloseClusterNetInterface @ stub CloseClusterNetInterface
@ stub CloseClusterNetwork @ stub CloseClusterNetwork
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
@ stub OfflineClusterResource @ stub OfflineClusterResource
@ stub OnlineClusterGroup @ stub OnlineClusterGroup
@ stub OnlineClusterResource @ stub OnlineClusterResource
@ stub OpenCluster @ stdcall OpenCluster(wstr)
@ stub OpenClusterGroup @ stub OpenClusterGroup
@ stub OpenClusterNetInterface @ stub OpenClusterNetInterface
@ stub OpenClusterNetwork @ stub OpenClusterNetwork
......
...@@ -23,7 +23,11 @@ ...@@ -23,7 +23,11 @@
extern "C" { extern "C" {
#endif #endif
typedef struct _HCLUSTER *HCLUSTER;
BOOL WINAPI CloseCluster(HCLUSTER hCluster);
DWORD WINAPI GetNodeClusterState(LPCWSTR lpszNodeName, LPDWORD pdwClusterState); DWORD WINAPI GetNodeClusterState(LPCWSTR lpszNodeName, LPDWORD pdwClusterState);
HCLUSTER WINAPI OpenCluster(LPCWSTR lpszClusterName);
#ifdef __cplusplus #ifdef __cplusplus
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment