Author: dchapyshev
Date: Sun Jan 11 12:54:21 2009
New Revision: 38702
URL:
http://svn.reactos.org/svn/reactos?rev=38702&view=rev
Log:
- Sync clusapi with Wine head
Modified:
trunk/reactos/dll/win32/clusapi/clusapi.c
trunk/reactos/dll/win32/clusapi/clusapi.spec
Modified: trunk/reactos/dll/win32/clusapi/clusapi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/clusapi/clusapi.…
==============================================================================
--- trunk/reactos/dll/win32/clusapi/clusapi.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/clusapi/clusapi.c [iso-8859-1] Sun Jan 11 12:54:21 2009
@@ -47,6 +47,60 @@
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;
+}
+
+/***********************************************************************
+ * 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.@)
Modified: trunk/reactos/dll/win32/clusapi/clusapi.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/clusapi/clusapi.…
==============================================================================
--- trunk/reactos/dll/win32/clusapi/clusapi.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/clusapi/clusapi.spec [iso-8859-1] Sun Jan 11 12:54:21 2009
@@ -3,16 +3,16 @@
@ stub BackupClusterDatabase
@ stub CanResourceBeDependent
@ stub ChangeClusterResourceGroup
-@ stub CloseCluster
+@ stdcall CloseCluster(ptr)
@ stub CloseClusterGroup
@ stub CloseClusterNetInterface
@ stub CloseClusterNetwork
@ 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
@@ -93,7 +93,7 @@
@ stub OfflineClusterResource
@ stub OnlineClusterGroup
@ stub OnlineClusterResource
-@ stub OpenCluster
+@ stdcall OpenCluster(wstr)
@ stub OpenClusterGroup
@ stub OpenClusterNetInterface
@ stub OpenClusterNetwork