Author: gedmurphy
Date: Thu Apr 26 15:28:30 2007
New Revision: 26513
URL:
http://svn.reactos.org/svn/reactos?rev=26513&view=rev
Log:
add stubed out clusapi.dll from Wine. part 1 of 3
Added:
trunk/reactos/dll/win32/clusapi/
trunk/reactos/dll/win32/clusapi/clusapi.c
trunk/reactos/dll/win32/clusapi/clusapi.rbuild
trunk/reactos/dll/win32/clusapi/clusapi.spec
Modified:
trunk/reactos/dll/win32/win32.rbuild
Added: 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 (added)
+++ trunk/reactos/dll/win32/clusapi/clusapi.c Thu Apr 26 15:28:30 2007
@@ -1,0 +1,57 @@
+/*
+ * clusapi main
+ *
+ * Copyright 2006 Benjamin Arai (Google)
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+#include "clusapi.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(clusapi);
+
+/***********************************************************************
+ * GetNodeClusterState (CLUSAPI.@)
+ *
+ */
+DWORD WINAPI GetNodeClusterState(LPCWSTR lpszNodeName, LPDWORD pdwClusterState)
+{
+ FIXME("(%s,%p) stub!\n",debugstr_w(lpszNodeName),pdwClusterState);
+
+ return 0;
+}
+
+
+/***********************************************************************
+ * DllMain (CLUSAPI.@)
+ *
+ */
+BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
+{
+ switch(fdwReason)
+ {
+ case DLL_WINE_PREATTACH:
+ return FALSE; /* prefer native version */
+ case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls( hinstDLL );
+ break;
+ }
+ return TRUE;
+}
Added: trunk/reactos/dll/win32/clusapi/clusapi.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/clusapi/clusapi.…
==============================================================================
--- trunk/reactos/dll/win32/clusapi/clusapi.rbuild (added)
+++ trunk/reactos/dll/win32/clusapi/clusapi.rbuild Thu Apr 26 15:28:30 2007
@@ -1,0 +1,17 @@
+<module name="clusapi" type="win32dll"
baseaddress="${BASEADDRESS_CLUSAPI}" installbase="system32"
installname="clusapi2.dll" allowwarnings="false">
+ <importlibrary definition="clusapi.spec.def" />
+ <include base="clusapi">.</include>
+ <include base="ReactOS">include/reactos/wine</include>
+ <define name="__REACTOS__" />
+ <define name="__WINESRC__" />
+ <define name="__USE_W32API" />
+ <define name="_WIN32_IE">0x600</define>
+ <define name="_WIN32_WINNT">0x501</define>
+ <define name="WINVER">0x501</define>
+ <library>wine</library>
+ <library>user32</library>
+ <library>kernel32</library>
+ <library>ntdll</library>
+ <file>clusapi.c</file>
+ <file>clusapi.spec</file>
+</module>
Added: 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 (added)
+++ trunk/reactos/dll/win32/clusapi/clusapi.spec Thu Apr 26 15:28:30 2007
@@ -1,0 +1,115 @@
+@ stub AddClusterResourceDependency
+@ stub AddClusterResourceNode
+@ stub BackupClusterDatabase
+@ stub CanResourceBeDependent
+@ stub ChangeClusterResourceGroup
+@ stub CloseCluster
+@ stub CloseClusterGroup
+@ stub CloseClusterNetInterface
+@ stub CloseClusterNetwork
+@ stub CloseClusterNode
+@ stub CloseClusterNotifyPort
+@ stub CloseClusterResource
+@ stub ClusterCloseEnum
+@ stub ClusterControl
+@ stub ClusterEnum
+@ stub ClusterGetEnumCount
+@ stub ClusterGroupCloseEnum
+@ stub ClusterGroupControl
+@ stub ClusterGroupEnum
+@ stub ClusterGroupGetEnumCount
+@ stub ClusterGroupOpenEnum
+@ stub ClusterNetInterfaceControl
+@ stub ClusterNetworkCloseEnum
+@ stub ClusterNetworkControl
+@ stub ClusterNetworkEnum
+@ stub ClusterNetworkGetEnumCount
+@ stub ClusterNetworkOpenEnum
+@ stub ClusterNodeCloseEnum
+@ stub ClusterNodeControl
+@ stub ClusterNodeEnum
+@ stub ClusterNodeGetEnumCount
+@ stub ClusterNodeOpenEnum
+@ stub ClusterOpenEnum
+@ stub ClusterRegCloseKey
+@ stub ClusterRegCreateKey
+@ stub ClusterRegDeleteKey
+@ stub ClusterRegDeleteValue
+@ stub ClusterRegEnumKey
+@ stub ClusterRegEnumValue
+@ stub ClusterRegGetKeySecurity
+@ stub ClusterRegOpenKey
+@ stub ClusterRegQueryInfoKey
+@ stub ClusterRegQueryValue
+@ stub ClusterRegSetKeySecurity
+@ stub ClusterRegSetValue
+@ stub ClusterResourceCloseEnum
+@ stub ClusterResourceControl
+@ stub ClusterResourceEnum
+@ stub ClusterResourceGetEnumCount
+@ stub ClusterResourceOpenEnum
+@ stub ClusterResourceTypeCloseEnum
+@ stub ClusterResourceTypeControl
+@ stub ClusterResourceTypeEnum
+@ stub ClusterResourceTypeGetEnumCount
+@ stub ClusterResourceTypeOpenEnum
+@ stub CreateClusterGroup
+@ stub CreateClusterNotifyPort
+@ stub CreateClusterResource
+@ stub CreateClusterResourceType
+@ stub DeleteClusterGroup
+@ stub DeleteClusterResource
+@ stub DeleteClusterResourceType
+@ stub EvictClusterNode
+@ stub EvictClusterNodeEx
+@ stub FailClusterResource
+@ stub GetClusterFromGroup
+@ stub GetClusterFromNetInterface
+@ stub GetClusterFromNetwork
+@ stub GetClusterFromNode
+@ stub GetClusterFromResource
+@ stub GetClusterGroupKey
+@ stub GetClusterGroupState
+@ stub GetClusterInformation
+@ stub GetClusterKey
+@ stub GetClusterNetInterface
+@ stub GetClusterNetInterfaceKey
+@ stub GetClusterNetInterfaceState
+@ stub GetClusterNetworkId
+@ stub GetClusterNetworkKey
+@ stub GetClusterNetworkState
+@ stub GetClusterNodeId
+@ stub GetClusterNodeKey
+@ stub GetClusterNodeState
+@ stub GetClusterNotify
+@ stub GetClusterQuorumResource
+@ stub GetClusterResourceKey
+@ stub GetClusterResourceNetworkName
+@ stub GetClusterResourceState
+@ stub GetClusterResourceTypeKey
+@ stdcall GetNodeClusterState(wstr ptr)
+@ stub MoveClusterGroup
+@ stub OfflineClusterGroup
+@ stub OfflineClusterResource
+@ stub OnlineClusterGroup
+@ stub OnlineClusterResource
+@ stub OpenCluster
+@ stub OpenClusterGroup
+@ stub OpenClusterNetInterface
+@ stub OpenClusterNetwork
+@ stub OpenClusterNode
+@ stub OpenClusterResource
+@ stub PauseClusterNode
+@ stub RegisterClusterNotify
+@ stub RemoveClusterResourceDependency
+@ stub RemoveClusterResourceNode
+@ stub RestoreClusterDatabase
+@ stub ResumeClusterNode
+@ stub SetClusterGroupName
+@ stub SetClusterGroupNodeList
+@ stub SetClusterName
+@ stub SetClusterNetworkName
+@ stub SetClusterNetworkPriorityOrder
+@ stub SetClusterQuorumResource
+@ stub SetClusterResourceName
+@ stub SetClusterServiceAccountPassword
Modified: trunk/reactos/dll/win32/win32.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/win32.rbuild?rev…
==============================================================================
--- trunk/reactos/dll/win32/win32.rbuild (original)
+++ trunk/reactos/dll/win32/win32.rbuild Thu Apr 26 15:28:30 2007
@@ -31,6 +31,9 @@
<directory name="cfgmgr32">
<xi:include href="cfgmgr32/cfgmgr32.rbuild" />
</directory>
+<directory name="clusapi">
+ <xi:include href="clusapi/clusapi.rbuild" />
+</directory>
<directory name="console">
<xi:include href="console/console.rbuild" />
</directory>