rasdlg: Initial stub dll.

This commit is contained in:
Aric Stewart 2009-01-23 11:43:16 -06:00 committed by Alexandre Julliard
parent ee3a743e6c
commit f55151a33a
6 changed files with 109 additions and 0 deletions

9
configure vendored
View File

@ -26127,6 +26127,14 @@ ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
dlls/rasapi32/tests/Makefile: dlls/rasapi32/tests/Makefile.in dlls/Maketest.rules"
ac_config_files="$ac_config_files dlls/rasapi32/tests/Makefile"
ALL_MAKEFILES="$ALL_MAKEFILES \\
dlls/rasdlg/Makefile"
test "x$enable_rasdlg" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
rasdlg"
ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
dlls/rasdlg/Makefile: dlls/rasdlg/Makefile.in dlls/Makedll.rules"
ac_config_files="$ac_config_files dlls/rasdlg/Makefile"
ALL_MAKEFILES="$ALL_MAKEFILES \\
dlls/resutils/Makefile"
test "x$enable_resutils" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
@ -28489,6 +28497,7 @@ do
"dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
"dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
"dlls/rasapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/tests/Makefile" ;;
"dlls/rasdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasdlg/Makefile" ;;
"dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
"dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
"dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;

View File

@ -2053,6 +2053,7 @@ WINE_CONFIG_MAKEFILE([dlls/quartz/tests/Makefile],[dlls/Maketest.rules],[dlls],[
WINE_CONFIG_MAKEFILE([dlls/query/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/rasapi32/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/rasapi32/tests/Makefile],[dlls/Maketest.rules],[dlls],[ALL_TEST_DIRS],[enable_tests])
WINE_CONFIG_MAKEFILE([dlls/rasdlg/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/resutils/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/riched20/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/riched20/tests/Makefile],[dlls/Maketest.rules],[dlls],[ALL_TEST_DIRS],[enable_tests])

View File

@ -271,6 +271,7 @@ IMPORT_LIBS = \
psapi/libpsapi.$(IMPLIBEXT) \
quartz/libquartz.$(IMPLIBEXT) \
rasapi32/librasapi32.$(IMPLIBEXT) \
rasdlg/librasdlg.$(IMPLIBEXT) \
resutils/libresutils.$(IMPLIBEXT) \
riched20/libriched20.$(IMPLIBEXT) \
rpcrt4/librpcrt4.$(IMPLIBEXT) \
@ -413,6 +414,7 @@ CROSS_IMPLIBS = \
psapi/libpsapi.a \
quartz/libquartz.a \
rasapi32/librasapi32.a \
rasdlg/librasdlg.a \
resutils/libresutils.a \
riched20/libriched20.a \
rpcrt4/librpcrt4.a \
@ -749,6 +751,9 @@ quartz/libquartz.def quartz/libquartz.a: quartz/quartz.spec $(WINEBUILD)
rasapi32/librasapi32.def rasapi32/librasapi32.a: rasapi32/rasapi32.spec $(WINEBUILD)
@cd rasapi32 && $(MAKE) `basename $@`
rasdlg/librasdlg.def rasdlg/librasdlg.a: rasdlg/rasdlg.spec $(WINEBUILD)
@cd rasdlg && $(MAKE) `basename $@`
resutils/libresutils.def resutils/libresutils.a: resutils/resutils.spec $(WINEBUILD)
@cd resutils && $(MAKE) `basename $@`

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

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

36
dlls/rasdlg/rasdlg.spec Normal file
View File

@ -0,0 +1,36 @@
@ stub DwTerminalDlg
@ stub GetRasDialOutProtocols
@ stub RasAutodialDisableDlgA
@ stub RasAutodialDisableDlgW
@ stub RasAutodialQueryDlgA
@ stub RasAutodialQueryDlgW
@ stub RasDialDlgA
@ stub RasDialDlgW
@ stub RasEntryDlgA
@ stub RasEntryDlgW
@ stub RasMonitorDlgA
@ stub RasMonitorDlgW
@ stub RasPhonebookDlgA
@ stub RasPhonebookDlgW
@ stub RasSrvAddPropPages
@ stub RasSrvAddWizPages
@ stub RasSrvAllowConnectionsConfig
@ stub RasSrvCleanupService
@ stub RasSrvEnumConnections
@ stub RasSrvHangupConnection
@ stub RasSrvInitializeService
@ stub RasSrvIsConnectionConnected
@ stub RasSrvIsServiceRunning
@ stub RasSrvQueryShowIcon
@ stub RasUserEnableManualDial
@ stub RasUserGetManualDial
@ stub RasUserPrefsDlg
@ stub RasWizCreateNewEntry
@ stub RasWizGetNCCFlags
@ stub RasWizGetSuggestedEntryName
@ stub RasWizGetUserInputConnectionName
@ stub RasWizIsEntryRenamable
@ stub RasWizQueryMaxPageCount
@ stub RasWizSetEntryName
@ stub RouterEntryDlgA
@ stub RouterEntryDlgW

44
dlls/rasdlg/rasdlg_main.c Normal file
View File

@ -0,0 +1,44 @@
/*
* Implementation of the Remote Access Common Dialog API
*
* Copyright 2009 CodeWeavers, Aric Stewart
*
* 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(rasdlg);
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
switch (fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinstDLL);
break;
default:
break;
}
return TRUE;
}