clusapi: Add stubs for ClusterEnum, ClusterOpenEnum and ClusterCloseEnum.
This commit is contained in:
parent
5dd5c22506
commit
0c406bec45
|
@ -69,6 +69,39 @@ BOOL WINAPI CloseCluster(HCLUSTER hCluster)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* 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 @@
|
||||||
@ 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 @@
|
||||||
@ 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" {
|
||||||
#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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue