diff --git a/reactos/dll/win32/rasman/rasman.c b/reactos/dll/win32/rasman/rasman.c new file mode 100644 index 00000000000..ff980e15a7e --- /dev/null +++ b/reactos/dll/win32/rasman/rasman.c @@ -0,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 + +#include +#include +#include "wine/debug.h" +#include + +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; +} + diff --git a/reactos/dll/win32/rasman/rasman.rbuild b/reactos/dll/win32/rasman/rasman.rbuild new file mode 100644 index 00000000000..5f72da00a9d --- /dev/null +++ b/reactos/dll/win32/rasman/rasman.rbuild @@ -0,0 +1,12 @@ + + + . + + wine + kernel32 + ntdll + uuid + rasman.c + rasman.rc + rasman.spec + diff --git a/reactos/dll/win32/rasman/rasman.rc b/reactos/dll/win32/rasman/rasman.rc new file mode 100644 index 00000000000..a9f762f9f92 --- /dev/null +++ b/reactos/dll/win32/rasman/rasman.rc @@ -0,0 +1,9 @@ +#include +#include +#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 diff --git a/reactos/dll/win32/rasman/rasman.spec b/reactos/dll/win32/rasman/rasman.spec new file mode 100644 index 00000000000..26828963327 --- /dev/null +++ b/reactos/dll/win32/rasman/rasman.spec @@ -0,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 diff --git a/reactos/dll/win32/win32.rbuild b/reactos/dll/win32/win32.rbuild index 23f304cd981..26974fd79fd 100644 --- a/reactos/dll/win32/win32.rbuild +++ b/reactos/dll/win32/win32.rbuild @@ -208,6 +208,9 @@ + + +