Author: dchapyshev Date: Tue Dec 18 19:47:49 2007 New Revision: 31308
URL: http://svn.reactos.org/svn/reactos?rev=31308&view=rev Log: - Add itself rasman.dll (Part 3/3)
Added: trunk/reactos/dll/win32/rasman/ trunk/reactos/dll/win32/rasman/rasman.c (with props) trunk/reactos/dll/win32/rasman/rasman.rbuild (with props) trunk/reactos/dll/win32/rasman/rasman.rc (with props) trunk/reactos/dll/win32/rasman/rasman.spec (with props) Modified: trunk/reactos/dll/win32/win32.rbuild
Added: trunk/reactos/dll/win32/rasman/rasman.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rasman/rasman.c?r... ============================================================================== --- trunk/reactos/dll/win32/rasman/rasman.c (added) +++ trunk/reactos/dll/win32/rasman/rasman.c Tue Dec 18 19:47:49 2007 @@ -1,0 +1,91 @@ +/* + * RASMAN + * + * Copyright 2007 ReactOS Team + * + * 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 <windows.h> +#include <ras.h> +#include "wine/debug.h" +#include <rasshost.h> + +static HINSTANCE hDllInstance; + +WINE_DEFAULT_DEBUG_CHANNEL(rasman); + +VOID WINAPI +RasSecurityDialogComplete(SECURITY_MESSAGE* pSecMsg) +{ + FIXME("(%p),stub!\n",pSecMsg); +} + +DWORD WINAPI +RasSecurityDialogBegin(HPORT hPort, PBYTE pSendBuf, + DWORD SendBufSize, PBYTE pRecvBuf, DWORD RecvBufSize, + VOID (WINAPI *RasSecurityDialogComplete)()) +{ + FIXME("(%p,%p,0x%08x,%p,0x%08x,%p),stub!\n",hPort,pSendBuf,SendBufSize, + pRecvBuf,RecvBufSize,*RasSecurityDialogComplete); + return NO_ERROR; +} + +DWORD WINAPI +RasSecurityDialogSend(HPORT hPort, PBYTE pBuffer, WORD BufferLength) +{ + FIXME("(%p,%p,%x),stub!\n",hPort, pBuffer, BufferLength); + return NO_ERROR; +} + +DWORD WINAPI +RasSecurityDialogReceive(HPORT hPort, PBYTE pBuffer, PWORD pBufferLength, DWORD Timeout, HANDLE hEvent) +{ + FIXME("(%p,%p,%p,%x,%p),stub!\n",hPort, pBuffer, pBufferLength, Timeout, hEvent); + return NO_ERROR; +} + +DWORD WINAPI +RasSecurityDialogEnd(HPORT hPort) +{ + FIXME("(%p),stub!\n",hPort); + return NO_ERROR; +} + +DWORD WINAPI +RasSecurityDialogGetInfo(HPORT hPort, RAS_SECURITY_INFO* pBuffer) +{ + FIXME("(%p,%p),stub!\n",hPort,pBuffer); + return NO_ERROR; +} + +BOOL WINAPI +DllMain(IN HINSTANCE hinstDLL, + IN DWORD dwReason, + IN LPVOID lpvReserved) +{ + switch (dwReason) + { + case DLL_PROCESS_ATTACH: + hDllInstance = hinstDLL; + DisableThreadLibraryCalls(hinstDLL); + break; + } + + return TRUE; +} +
Propchange: trunk/reactos/dll/win32/rasman/rasman.c ------------------------------------------------------------------------------ svn:eol-style = native
Added: trunk/reactos/dll/win32/rasman/rasman.rbuild URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rasman/rasman.rbu... ============================================================================== --- trunk/reactos/dll/win32/rasman/rasman.rbuild (added) +++ trunk/reactos/dll/win32/rasman/rasman.rbuild Tue Dec 18 19:47:49 2007 @@ -1,0 +1,12 @@ +<module name="rasman" type="win32dll" baseaddress="${BASEADDRESS_RASMAN}" installbase="system32" installname="rasman.dll"> + <importlibrary definition="rasman.spec.def" /> + <include base="rasman">.</include> + <define name="_DISABLE_TIDENTS" /> + <library>wine</library> + <library>kernel32</library> + <library>ntdll</library> + <library>uuid</library> + <file>rasman.c</file> + <file>rasman.rc</file> + <file>rasman.spec</file> +</module>
Propchange: trunk/reactos/dll/win32/rasman/rasman.rbuild ------------------------------------------------------------------------------ svn:eol-style = native
Added: trunk/reactos/dll/win32/rasman/rasman.rc URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rasman/rasman.rc?... ============================================================================== --- trunk/reactos/dll/win32/rasman/rasman.rc (added) +++ trunk/reactos/dll/win32/rasman/rasman.rc Tue Dec 18 19:47:49 2007 @@ -1,0 +1,9 @@ +#include <windows.h> +#include <reactos/resource.h> +#include "resource.h" + +#define REACTOS_VERSION_DLL +#define REACTOS_STR_FILE_DESCRIPTION "Remote Access Connection Manager\0" +#define REACTOS_STR_INTERNAL_NAME "rasman\0" +#define REACTOS_STR_ORIGINAL_FILENAME "rasman.dll\0" +#include <reactos/version.rc>
Propchange: trunk/reactos/dll/win32/rasman/rasman.rc ------------------------------------------------------------------------------ svn:eol-style = native
Added: trunk/reactos/dll/win32/rasman/rasman.spec URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rasman/rasman.spe... ============================================================================== --- trunk/reactos/dll/win32/rasman/rasman.spec (added) +++ trunk/reactos/dll/win32/rasman/rasman.spec Tue Dec 18 19:47:49 2007 @@ -1,0 +1,164 @@ +@ stub DwRasGetHostByName +@ stub IsRasmanProcess +@ stub RasActivateRoute +@ stub RasActivateRouteEx +@ stub RasAddConnectionPort +@ stub RasAddNotification +@ stub RasAllocateRoute +@ stub RasBundleClearStatistics +@ stub RasBundleClearStatisticsEx +@ stub RasBundleGetPort +@ stub RasBundleGetStatistics +@ stub RasBundleGetStatisticsEx +@ stub RasCompressionGetInfo +@ stub RasCompressionSetInfo +@ stub RasConnectionEnum +@ stub RasConnectionGetStatistics +@ stub RasCreateConnection +@ stub RasDeAllocateRoute +@ stub RasDestroyConnection +@ stub RasDeviceConnect +@ stub RasDeviceEnum +@ stub RasDeviceGetInfo +@ stub RasDeviceSetInfo +@ stub RasDoIke +@ stub RasEnableIpSec +@ stub RasEnableRasAudio +@ stub RasEnumConnectionPorts +@ stub RasEnumLanNets +@ stub RasFindPrerequisiteEntry +@ stub RasFreeBuffer +@ stub RasGetBandwidthUtilization +@ stub RasGetBuffer +@ stub RasGetCalledIdInfo +@ stub RasGetConnectInfo +@ stub RasGetConnectionParams +@ stub RasGetConnectionUserData +@ stub RasGetCustomScriptDll +@ stub RasGetDevConfig +@ stub RasGetDevConfigEx +@ stub RasGetDeviceConfigInfo +@ stub RasGetDeviceName +@ stub RasGetDeviceNameW +@ stub RasGetDialParams +@ stub RasGetEapUserInfo +@ stub RasGetFramingCapabilities +@ stub RasGetHConnFromEntry +@ stub RasGetHportFromConnection +@ stub RasGetInfo +@ stub RasGetInfoEx +@ stub RasGetKey +@ stub RasGetNdiswanDriverCaps +@ stub RasGetNumPortOpen +@ stub RasGetPortUserData +@ stub RasGetProtocolInfo +@ stub RasGetTimeSinceLastActivity +@ stub RasGetUnicodeDeviceName +@ stub RasGetUserCredentials +@ stub RasInitialize +@ stub RasInitializeNoWait +@ stub RasIsIpSecEnabled +@ stub RasIsTrustedCustomDll +@ stub RasLinkGetStatistics +@ stub RasPnPControl +@ stub RasPortBundle +@ stub RasPortCancelReceive +@ stub RasPortClearStatistics +@ stub RasPortClose +@ stub RasPortConnectComplete +@ stub RasPortDisconnect +@ stub RasPortEnum +@ stub RasPortEnumProtocols +@ stub RasPortFree +@ stub RasPortGetBundle +@ stub RasPortGetBundledPort +@ stub RasPortGetFramingEx +@ stub RasPortGetInfo +@ stub RasPortGetProtocolCompression +@ stub RasPortGetStatistics +@ stub RasPortGetStatisticsEx +@ stub RasPortListen +@ stub RasPortOpen +@ stub RasPortOpenEx +@ stub RasPortReceive +@ stub RasPortReceiveEx +@ stub RasPortRegisterSlip +@ stub RasPortReserve +@ stub RasPortRetrieveUserData +@ stub RasPortSend +@ stub RasPortSetFraming +@ stub RasPortSetFramingEx +@ stub RasPortSetInfo +@ stub RasPortSetProtocolCompression +@ stub RasPortStoreUserData +@ stub RasPppCallback +@ stub RasPppChangePassword +@ stub RasPppGetEapInfo +@ stub RasPppGetInfo +@ stub RasPppRetry +@ stub RasPppSetEapInfo +@ stub RasPppStart +@ stub RasPppStarted +@ stub RasPppStop +@ stub RasProtocolEnum +@ stub RasRPCBind +@ stub RasRefConnection +@ stub RasReferenceCustomCount +@ stub RasReferenceRasman +@ stub RasRefreshKerbCreds +@ stub RasRegisterPnPEvent +@ stub RasRegisterPnPHandler +@ stub RasRegisterRedialCallback +@ stub RasRequestNotification +@ stub RasRpcConnect +@ stub RasRpcConnectServer +@ stub RasRpcDeleteEntry +@ stub RasRpcDeviceEnum +@ stub RasRpcDisconnect +@ stub RasRpcDisconnectServer +@ stub RasRpcEnumConnections +@ stub RasRpcGetCountryInfo +@ stub RasRpcGetDevConfig +@ stub RasRpcGetErrorString +@ stub RasRpcGetInstalledProtocols +@ stub RasRpcGetInstalledProtocolsEx +@ stub RasRpcGetSystemDirectory +@ stub RasRpcGetUserPreferences +@ stub RasRpcGetVersion +@ stub RasRpcPortEnum +@ stub RasRpcPortGetInfo +@ stub RasRpcRemoteGetSystemDirectory +@ stub RasRpcRemoteGetUserPreferences +@ stub RasRpcRemoteRasDeleteEntry +@ stub RasRpcRemoteSetUserPreferences +@ stub RasRpcSetUserPreferences +@ stub RasRpcUnloadDll +@ stdcall RasSecurityDialogBegin(ptr ptr long ptr long ptr) +@ stdcall RasSecurityDialogComplete(ptr) +@ stdcall RasSecurityDialogGetInfo(ptr ptr) +@ stdcall RasSecurityDialogReceive(ptr ptr ptr long ptr) +@ stdcall RasSecurityDialogSend(ptr ptr long) +@ stub RasSendCreds +@ stub RasSendNotification +@ stub RasSendPppMessageToRasman +@ stub RasServerPortClose +@ stub RasSetAddressDisable +@ stub RasSetBapPolicy +@ stub RasSetCachedCredentials +@ stub RasSetCalledIdInfo +@ stub RasSetCommSettings +@ stub RasSetConnectionParams +@ stub RasSetConnectionUserData +@ stub RasSetDevConfig +@ stub RasSetDeviceConfigInfo +@ stub RasSetDialParams +@ stub RasSetEapLogonInfo +@ stub RasSetEapUserInfo +@ stub RasSetIoCompletionPort +@ stub RasSetKey +@ stub RasSetPortUserData +@ stub RasSetRasdialInfo +@ stub RasSetRouterUsage +@ stub RasSignalNewConnection +@ stub RasStartRasAutoIfRequired +@ stub RasmanUninitialize
Propchange: trunk/reactos/dll/win32/rasman/rasman.spec ------------------------------------------------------------------------------ svn:eol-style = native
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 Tue Dec 18 19:47:49 2007 @@ -208,6 +208,9 @@ <directory name="rasdlg"> <xi:include href="rasdlg/rasdlg.rbuild" /> </directory> +<directory name="rasman"> + <xi:include href="rasman/rasman.rbuild" /> +</directory> <directory name="riched20"> <xi:include href="riched20/riched20.rbuild" /> </directory>