clusapi: Implement stub dll for clusapi.

This commit is contained in:
Benjamin Arai 2006-09-27 16:02:35 -07:00 committed by Alexandre Julliard
parent cabc7ee1ae
commit 493bc6b875
8 changed files with 196 additions and 1 deletions

View File

@ -171,6 +171,7 @@ ALL_MAKEFILES = \
dlls/capi2032/Makefile \
dlls/cards/Makefile \
dlls/cfgmgr32/Makefile \
dlls/clusapi/Makefile \
dlls/comcat/Makefile \
dlls/comcat/tests/Makefile \
dlls/comctl32/Makefile \
@ -489,6 +490,7 @@ dlls/cabinet/tests/Makefile: dlls/cabinet/tests/Makefile.in dlls/Maketest.rules
dlls/capi2032/Makefile: dlls/capi2032/Makefile.in dlls/Makedll.rules
dlls/cards/Makefile: dlls/cards/Makefile.in dlls/Makedll.rules
dlls/cfgmgr32/Makefile: dlls/cfgmgr32/Makefile.in dlls/Makedll.rules
dlls/clusapi/Makefile: dlls/clusapi/Makefile.in dlls/Makedll.rules
dlls/comcat/Makefile: dlls/comcat/Makefile.in dlls/Makedll.rules
dlls/comcat/tests/Makefile: dlls/comcat/tests/Makefile.in dlls/Maketest.rules
dlls/comctl32/Makefile: dlls/comctl32/Makefile.in dlls/Makedll.rules

3
configure vendored

File diff suppressed because one or more lines are too long

View File

@ -1514,6 +1514,7 @@ dlls/cabinet/tests/Makefile
dlls/capi2032/Makefile
dlls/cards/Makefile
dlls/cfgmgr32/Makefile
dlls/clusapi/Makefile
dlls/comcat/Makefile
dlls/comcat/tests/Makefile
dlls/comctl32/Makefile

1
dlls/.gitignore vendored
View File

@ -66,6 +66,7 @@ cabinet/libcabinet.def
capi2032/libcapi2032.def
cards/libcards.def
cfgmgr32/libcfgmgr32.def
clusapi/libclusapi.def
comctl32/libcomctl32.def
comdlg32/libcomdlg32.def
compstui/libcompstui.def

View File

@ -27,6 +27,7 @@ BASEDIRS = \
capi2032 \
cards \
cfgmgr32 \
clusapi \
comcat \
comctl32 \
comdlg32 \
@ -503,6 +504,7 @@ IMPORT_LIBS = \
capi2032/libcapi2032.$(IMPLIBEXT) \
cards/libcards.$(IMPLIBEXT) \
cfgmgr32/libcfgmgr32.$(IMPLIBEXT) \
clusapi/libclusapi.$(IMPLIBEXT) \
comctl32/libcomctl32.$(IMPLIBEXT) \
comdlg32/libcomdlg32.$(IMPLIBEXT) \
compstui/libcompstui.$(IMPLIBEXT) \
@ -644,6 +646,9 @@ cards/libcards.$(IMPLIBEXT): cards/cards.spec $(WINEBUILD)
cfgmgr32/libcfgmgr32.$(IMPLIBEXT): cfgmgr32/cfgmgr32.spec $(WINEBUILD)
@cd cfgmgr32 && $(MAKE) libcfgmgr32.$(IMPLIBEXT)
clusapi/libclusapi.$(IMPLIBEXT): clusapi/clusapi.spec $(WINEBUILD)
@cd clusapi && $(MAKE) libclusapi.$(IMPLIBEXT)
comctl32/libcomctl32.$(IMPLIBEXT): comctl32/comctl32.spec $(WINEBUILD)
@cd comctl32 && $(MAKE) libcomctl32.$(IMPLIBEXT)

14
dlls/clusapi/Makefile.in Normal file
View File

@ -0,0 +1,14 @@
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = clusapi.dll
IMPORTLIB = libclusapi.$(IMPLIBEXT)
IMPORTS = kernel32
C_SRCS = \
clusapi.c
@MAKE_DLL_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend

56
dlls/clusapi/clusapi.c Normal file
View File

@ -0,0 +1,56 @@
/*
* 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 "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;
}

115
dlls/clusapi/clusapi.spec Normal file
View File

@ -0,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