diff --git a/dlls/clusapi/clusapi.c b/dlls/clusapi/clusapi.c index 734676cb9e2..252f09b9a56 100644 --- a/dlls/clusapi/clusapi.c +++ b/dlls/clusapi/clusapi.c @@ -47,6 +47,27 @@ DWORD WINAPI GetNodeClusterState(LPCWSTR lpszNodeName, LPDWORD pdwClusterState) 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.@) diff --git a/dlls/clusapi/clusapi.spec b/dlls/clusapi/clusapi.spec index 6972f9befc5..a23af879875 100644 --- a/dlls/clusapi/clusapi.spec +++ b/dlls/clusapi/clusapi.spec @@ -3,7 +3,7 @@ @ stub BackupClusterDatabase @ stub CanResourceBeDependent @ stub ChangeClusterResourceGroup -@ stub CloseCluster +@ stdcall CloseCluster(ptr) @ stub CloseClusterGroup @ stub CloseClusterNetInterface @ stub CloseClusterNetwork @@ -93,7 +93,7 @@ @ stub OfflineClusterResource @ stub OnlineClusterGroup @ stub OnlineClusterResource -@ stub OpenCluster +@ stdcall OpenCluster(wstr) @ stub OpenClusterGroup @ stub OpenClusterNetInterface @ stub OpenClusterNetwork diff --git a/include/clusapi.h b/include/clusapi.h index ff4577f9f5e..71e33027642 100644 --- a/include/clusapi.h +++ b/include/clusapi.h @@ -23,7 +23,11 @@ extern "C" { #endif +typedef struct _HCLUSTER *HCLUSTER; + +BOOL WINAPI CloseCluster(HCLUSTER hCluster); DWORD WINAPI GetNodeClusterState(LPCWSTR lpszNodeName, LPDWORD pdwClusterState); +HCLUSTER WINAPI OpenCluster(LPCWSTR lpszClusterName); #ifdef __cplusplus }