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;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* 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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue