Commit 0c406bec authored by Ricardo Filipe's avatar Ricardo Filipe Committed by Alexandre Julliard

clusapi: Add stubs for ClusterEnum, ClusterOpenEnum and ClusterCloseEnum.

parent 5dd5c225
......@@ -70,6 +70,39 @@ BOOL WINAPI CloseCluster(HCLUSTER hCluster)
}
/***********************************************************************
* ClusterOpenEnum (CLUSAPI.@)
*
*/
HCLUSENUM WINAPI ClusterOpenEnum(HCLUSTER hCluster, DWORD dwType)
{
FIXME("(%p, %u) stub!\n", hCluster,dwType);
return (HCLUSENUM)0xdeadbeef;
}
/***********************************************************************
* ClusterCloseEnum (CLUSAPI.@)
*
*/
DWORD WINAPI ClusterCloseEnum(HCLUSENUM hEnum)
{
FIXME("(%p) stub!\n", hEnum);
return ERROR_SUCCESS;
}
/***********************************************************************
* ClusterEnum (CLUSAPI.@)
*
*/
DWORD WINAPI ClusterEnum(HCLUSENUM hEnum, DWORD dwIndex, LPDWORD lpdwType, LPWSTR lpszName, LPDWORD lpcchName)
{
FIXME("(%p, %u, %u, %s, %u) stub!\n", hEnum, dwIndex, *lpdwType, debugstr_w(lpszName), *lpcchName);
return ERROR_NO_MORE_ITEMS;
}
/***********************************************************************
* DllMain (CLUSAPI.@)
*
*/
......
......@@ -10,9 +10,9 @@
@ stub CloseClusterNode
@ stub CloseClusterNotifyPort
@ stub CloseClusterResource
@ stub ClusterCloseEnum
@ stdcall ClusterCloseEnum(ptr)
@ stub ClusterControl
@ stub ClusterEnum
@ stdcall ClusterEnum(ptr long ptr wstr ptr)
@ stub ClusterGetEnumCount
@ stub ClusterGroupCloseEnum
@ stub ClusterGroupControl
......@@ -30,7 +30,7 @@
@ stub ClusterNodeEnum
@ stub ClusterNodeGetEnumCount
@ stub ClusterNodeOpenEnum
@ stub ClusterOpenEnum
@ stdcall ClusterOpenEnum(ptr long)
@ stub ClusterRegCloseKey
@ stub ClusterRegCreateKey
@ stub ClusterRegDeleteKey
......
......@@ -24,10 +24,14 @@ extern "C" {
#endif
typedef struct _HCLUSTER *HCLUSTER;
typedef struct _HCLUSENUM *HCLUSENUM;
BOOL WINAPI CloseCluster(HCLUSTER hCluster);
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);
#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