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) ...@@ -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.@) * DllMain (CLUSAPI.@)
* *
*/ */
......
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
@ stub CloseClusterNode @ stub CloseClusterNode
@ stub CloseClusterNotifyPort @ stub CloseClusterNotifyPort
@ stub CloseClusterResource @ stub CloseClusterResource
@ stub ClusterCloseEnum @ stdcall ClusterCloseEnum(ptr)
@ stub ClusterControl @ stub ClusterControl
@ stub ClusterEnum @ stdcall ClusterEnum(ptr long ptr wstr ptr)
@ stub ClusterGetEnumCount @ stub ClusterGetEnumCount
@ stub ClusterGroupCloseEnum @ stub ClusterGroupCloseEnum
@ stub ClusterGroupControl @ stub ClusterGroupControl
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
@ stub ClusterNodeEnum @ stub ClusterNodeEnum
@ stub ClusterNodeGetEnumCount @ stub ClusterNodeGetEnumCount
@ stub ClusterNodeOpenEnum @ stub ClusterNodeOpenEnum
@ stub ClusterOpenEnum @ stdcall ClusterOpenEnum(ptr long)
@ stub ClusterRegCloseKey @ stub ClusterRegCloseKey
@ stub ClusterRegCreateKey @ stub ClusterRegCreateKey
@ stub ClusterRegDeleteKey @ stub ClusterRegDeleteKey
......
...@@ -24,10 +24,14 @@ extern "C" { ...@@ -24,10 +24,14 @@ extern "C" {
#endif #endif
typedef struct _HCLUSTER *HCLUSTER; typedef struct _HCLUSTER *HCLUSTER;
typedef struct _HCLUSENUM *HCLUSENUM;
BOOL WINAPI CloseCluster(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); 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 #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