- Import rasapi32 from Wine, add it to the install disk.

- Add resources (Dmitry Chapyshev).

svn path=/trunk/; revision=30468
This commit is contained in:
Aleksey Bragin 2007-11-15 19:58:13 +00:00
parent 23c877364c
commit 1971167c46
8 changed files with 709 additions and 0 deletions

View file

@ -222,6 +222,7 @@ dll\win32\olepro32\olepro32.dll 1
dll\win32\opengl32\opengl32.dll 1
dll\win32\psapi\psapi.dll 1
dll\win32\powrprof\powrprof.dll 1
dll\win32\rasapi32\rasapi32.dll 1
dll\win32\riched20\riched20.dll 1
dll\win32\riched32\riched32.dll 1
dll\win32\rpcrt4\rpcrt4.dll 1

View file

@ -0,0 +1,31 @@
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STRINGTABLE
BEGIN
4097 "The script '%1' cannot be found."
4098 "%1(%2!d!) : unexpected end of file"
4099 "%1(%2!d!) : '%3' : syntax error"
4100 "%1 : 'proc main' declaration missing"
4101 "%1(%2!d!) : identifier expected"
4102 "%1(%2!d!) : string parameter expected"
4103 "%1(%2!d!) : integer parameter expected"
4104 "%1(%2!d!) : '%3' : invalid type"
4105 "There is not enough memory to process this script."
4106 "%1(%2!d!) : '%3' : an internal error occurred."
4107 "%1(%2!d!) : '%3' : invalid parameter"
4108 "%1(%2!d!) : '%3' : invalid 'set ipaddr' parameter"
4109 "%1(%2!d!) : '%3' : invalid 'set port' parameter"
4110 "%1(%2!d!) : '%3' : invalid numerical range"
4111 "%1(%2!d!) : '%3' : invalid 'set screen' parameter"
4112 "%1(%2!d!) : '%3' : '(' expected"
4113 "%1(%2!d!) : '%3' : type is expected to be an integer"
4114 "%1(%2!d!) : '%3' : type is expected to be a string"
4115 "%1(%2!d!) : '%3' : type is expected to be a boolean"
4116 "%1(%2!d!) : '%3' : type is expected to be an integer or string"
4117 "%1(%2!d!) : '%3' : types mismatch"
4118 "%1(%2!d!) : '%3' : identifier already defined"
4119 "%1(%2!d!) : '%3' : identifier not defined"
4120 "%1(%2!d!) : '%3' : type is expected to be a label"
4121 "%1(%2!d!) : divide by zero"
4122 "%1(%2!d!) : '%3' : type is expected to be an integer, string, or boolean"
END

View file

@ -0,0 +1,522 @@
/*
* RASAPI32
*
* Copyright 1998,2001 Marcus Meissner
*
* 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 "ras.h"
#include "raserror.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(ras);
DWORD WINAPI RasConnectionNotificationA(HRASCONN hrasconn, HANDLE hEvent, DWORD dwFlags)
{
FIXME("(%p,%p,0x%08x),stub!\n",hrasconn,hEvent,dwFlags);
return 1;
}
DWORD WINAPI RasConnectionNotificationW(HRASCONN hrasconn, HANDLE hEvent, DWORD dwFlags)
{
FIXME("(%p,%p,0x%08x),stub!\n",hrasconn,hEvent,dwFlags);
return 1;
}
DWORD WINAPI RasCreatePhonebookEntryA(HWND hwnd, LPCSTR lpszPhonebook)
{
FIXME("(%p,%s),stub!\n",hwnd,debugstr_a(lpszPhonebook));
return 0;
}
DWORD WINAPI RasCreatePhonebookEntryW(HWND hwnd, LPCWSTR lpszPhonebook)
{
FIXME("(%p,%s),stub!\n",hwnd,debugstr_w(lpszPhonebook));
return 0;
}
DWORD WINAPI RasDeleteSubEntryA(LPCSTR lpszPhonebook, LPCSTR lpszEntry, DWORD dwSubEntryId)
{
FIXME("(%s,%s,0x%08x),stub!\n",debugstr_a(lpszPhonebook),
debugstr_a(lpszEntry),dwSubEntryId);
return 0;
}
DWORD WINAPI RasDeleteSubEntryW(LPCWSTR lpszPhonebook, LPCWSTR lpszEntry, DWORD dwSubEntryId)
{
FIXME("(%s,%s,0x%08x),stub!\n",debugstr_w(lpszPhonebook),
debugstr_w(lpszEntry),dwSubEntryId);
return 0;
}
DWORD WINAPI RasDialA(LPRASDIALEXTENSIONS lpRasDialExtensions, LPCSTR lpszPhonebook,
LPRASDIALPARAMSA lpRasDialParams, DWORD dwNotifierType,
LPVOID lpvNotifier, LPHRASCONN lphRasConn)
{
FIXME("(%p,%s,%p,0x%08x,%p,%p),stub!\n",lpRasDialExtensions,debugstr_a(lpszPhonebook),
lpRasDialParams,dwNotifierType,lpvNotifier,lphRasConn);
return 1;
}
DWORD WINAPI RasDialW(LPRASDIALEXTENSIONS lpRasDialExtensions, LPCWSTR lpszPhonebook,
LPRASDIALPARAMSW lpRasDialParams, DWORD dwNotifierType,
LPVOID lpvNotifier, LPHRASCONN lphRasConn)
{
FIXME("(%p,%s,%p,0x%08x,%p,%p),stub!\n",lpRasDialExtensions,debugstr_w(lpszPhonebook),
lpRasDialParams,dwNotifierType,lpvNotifier,lphRasConn);
return 1;
}
DWORD WINAPI RasEditPhonebookEntryA(HWND hwnd, LPCSTR lpszPhonebook, LPCSTR lpszEntryName)
{
FIXME("(%p,%s,%s),stub!\n",hwnd,debugstr_a(lpszPhonebook),debugstr_a(lpszEntryName));
return 0;
}
DWORD WINAPI RasEditPhonebookEntryW(HWND hwnd, LPCWSTR lpszPhonebook, LPCWSTR lpszEntryName)
{
FIXME("(%p,%s,%s),stub!\n",hwnd,debugstr_w(lpszPhonebook),debugstr_w(lpszEntryName));
return 0;
}
/**************************************************************************
* RasEnumConnectionsA [RASAPI32.544]
*/
DWORD WINAPI RasEnumConnectionsA( LPRASCONNA rca, LPDWORD lpcb, LPDWORD lpcConnections) {
/* Remote Access Service stuff is done by underlying OS anyway */
FIXME("(%p,%p,%p),stub!\n",rca,lpcb,lpcConnections);
FIXME("RAS support is not implemented! Configure program to use LAN connection/winsock instead!\n");
*lpcb = 0; /* size of buffer needed to enumerate connections */
*lpcConnections = 0; /* no RAS connections available */
return 0;
}
/**************************************************************************
* RasEnumConnectionsW [RASAPI32.545]
*/
DWORD WINAPI RasEnumConnectionsW( LPRASCONNW rcw, LPDWORD lpcb, LPDWORD lpcConnections) {
/* Remote Access Service stuff is done by underlying OS anyway */
FIXME("(%p,%p,%p),stub!\n",rcw,lpcb,lpcConnections);
FIXME("RAS support is not implemented! Configure program to use LAN connection/winsock instead!\n");
*lpcb = 0; /* size of buffer needed to enumerate connections */
*lpcConnections = 0; /* no RAS connections available */
return 0;
}
/**************************************************************************
* RasEnumEntriesA [RASAPI32.546]
*/
DWORD WINAPI RasEnumEntriesA( LPCSTR Reserved, LPCSTR lpszPhoneBook,
LPRASENTRYNAMEA lpRasEntryName,
LPDWORD lpcb, LPDWORD lpcEntries)
{
FIXME("(%p,%s,%p,%p,%p),stub!\n",Reserved,debugstr_a(lpszPhoneBook),
lpRasEntryName,lpcb,lpcEntries);
*lpcEntries = 0;
return 0;
}
/**************************************************************************
* RasEnumEntriesW [RASAPI32.547]
*/
DWORD WINAPI RasEnumEntriesW( LPCWSTR Reserved, LPCWSTR lpszPhoneBook,
LPRASENTRYNAMEW lpRasEntryName,
LPDWORD lpcb, LPDWORD lpcEntries)
{
FIXME("(%p,%s,%p,%p,%p),stub!\n",Reserved,debugstr_w(lpszPhoneBook),
lpRasEntryName,lpcb,lpcEntries);
*lpcEntries = 0;
return 0;
}
DWORD WINAPI RasGetConnectStatusA(HRASCONN hrasconn, LPRASCONNSTATUSA lprasconnstatus)
{
FIXME("(%p,%p),stub!\n",hrasconn,lprasconnstatus);
return 0;
}
DWORD WINAPI RasGetConnectStatusW(HRASCONN hrasconn, LPRASCONNSTATUSW lprasconnstatus)
{
FIXME("(%p,%p),stub!\n",hrasconn,lprasconnstatus);
return 0;
}
/**************************************************************************
* RasGetEntryDialParamsA [RASAPI32.550]
*/
DWORD WINAPI RasGetEntryDialParamsA(
LPCSTR lpszPhoneBook, LPRASDIALPARAMSA lpRasDialParams,
LPBOOL lpfPassword)
{
FIXME("(%s,%p,%p),stub!\n",debugstr_a(lpszPhoneBook),
lpRasDialParams,lpfPassword);
return 0;
}
/**************************************************************************
* RasGetEntryDialParamsW [RASAPI32.551]
*/
DWORD WINAPI RasGetEntryDialParamsW(
LPCWSTR lpszPhoneBook, LPRASDIALPARAMSW lpRasDialParams,
LPBOOL lpfPassword)
{
FIXME("(%s,%p,%p),stub!\n",debugstr_w(lpszPhoneBook),
lpRasDialParams,lpfPassword);
return 0;
}
/**************************************************************************
* RasHangUpA [RASAPI32.556]
*/
DWORD WINAPI RasHangUpA( HRASCONN hrasconn)
{
FIXME("(%p),stub!\n",hrasconn);
return 0;
}
/**************************************************************************
* RasHangUpW [RASAPI32.557]
*/
DWORD WINAPI RasHangUpW(HRASCONN hrasconn)
{
FIXME("(%p),stub!\n",hrasconn);
return 0;
}
/**************************************************************************
* RasDeleteEntryA [RASAPI32.7]
*/
DWORD WINAPI RasDeleteEntryA(LPCSTR a, LPCSTR b)
{
FIXME("(%s,%s),stub!\n",debugstr_a(a),debugstr_a(b));
return 0;
}
/**************************************************************************
* RasDeleteEntryW [RASAPI32.8]
*/
DWORD WINAPI RasDeleteEntryW(LPCWSTR a, LPCWSTR b)
{
FIXME("(%s,%s),stub!\n",debugstr_w(a),debugstr_w(b));
return 0;
}
/**************************************************************************
* RasEnumAutodialAddressesA [RASAPI32.14]
*/
DWORD WINAPI RasEnumAutodialAddressesA(LPSTR *a, LPDWORD b, LPDWORD c)
{
FIXME("(%p,%p,%p),stub!\n",a,b,c);
return 0;
}
/**************************************************************************
* RasEnumAutodialAddressesW [RASAPI32.15]
*/
DWORD WINAPI RasEnumAutodialAddressesW(LPWSTR *a, LPDWORD b, LPDWORD c)
{
FIXME("(%p,%p,%p),stub!\n",a,b,c);
return 0;
}
/**************************************************************************
* RasEnumDevicesA [RASAPI32.19]
*
* Just return a virtual modem too see what other APIs programs will
* call with it.
*/
DWORD WINAPI RasEnumDevicesA(LPRASDEVINFOA lpRasDevinfo, LPDWORD lpcb, LPDWORD lpcDevices)
{
FIXME("(%p,%p,%p),stub!\n",lpRasDevinfo,lpcb,lpcDevices);
if (*lpcb < sizeof(RASDEVINFOA)) {
*lpcb = sizeof(RASDEVINFOA);
return ERROR_BUFFER_TOO_SMALL;
}
/* honor dwSize ? */
strcpy(lpRasDevinfo->szDeviceType, RASDT_Modem);
strcpy(lpRasDevinfo->szDeviceName, "WINE virtmodem");
return 0;
}
/**************************************************************************
* RasEnumDevicesW [RASAPI32.20]
*/
DWORD WINAPI RasEnumDevicesW(LPRASDEVINFOW a, LPDWORD b, LPDWORD c)
{
FIXME("(%p,%p,%p),stub!\n",a,b,c);
return 0;
}
/**************************************************************************
* RasGetAutodialAddressA [RASAPI32.24]
*/
DWORD WINAPI RasGetAutodialAddressA(LPCSTR a, LPDWORD b, LPRASAUTODIALENTRYA c,
LPDWORD d, LPDWORD e)
{
FIXME("(%s,%p,%p,%p,%p),stub!\n",debugstr_a(a),b,c,d,e);
return 0;
}
/**************************************************************************
* RasGetAutodialAddressW [RASAPI32.25]
*/
DWORD WINAPI RasGetAutodialAddressW(LPCWSTR a, LPDWORD b, LPRASAUTODIALENTRYW c,
LPDWORD d, LPDWORD e)
{
FIXME("(%s,%p,%p,%p,%p),stub!\n",debugstr_w(a),b,c,d,e);
return 0;
}
/**************************************************************************
* RasGetAutodialEnableA [RASAPI32.26]
*/
DWORD WINAPI RasGetAutodialEnableA(DWORD a, LPBOOL b)
{
FIXME("(%x,%p),stub!\n",a,b);
return 0;
}
/**************************************************************************
* RasGetAutodialEnableW [RASAPI32.27]
*/
DWORD WINAPI RasGetAutodialEnableW(DWORD a, LPBOOL b)
{
FIXME("(%x,%p),stub!\n",a,b);
return 0;
}
/**************************************************************************
* RasGetAutodialParamA [RASAPI32.28]
*/
DWORD WINAPI RasGetAutodialParamA(DWORD dwKey, LPVOID lpvValue, LPDWORD lpdwcbValue)
{
FIXME("(%x,%p,%p),stub!\n",dwKey,lpvValue,lpdwcbValue);
return 0;
}
/**************************************************************************
* RasGetAutodialParamW [RASAPI32.29]
*/
DWORD WINAPI RasGetAutodialParamW(DWORD dwKey, LPVOID lpvValue, LPDWORD lpdwcbValue)
{
FIXME("(%x,%p,%p),stub!\n",dwKey,lpvValue,lpdwcbValue);
return 0;
}
/**************************************************************************
* RasSetAutodialAddressA [RASAPI32.57]
*/
DWORD WINAPI RasSetAutodialAddressA(LPCSTR a, DWORD b, LPRASAUTODIALENTRYA c,
DWORD d, DWORD e)
{
FIXME("(%s,%x,%p,%x,%x),stub!\n",debugstr_a(a),b,c,d,e);
return 0;
}
/**************************************************************************
* RasSetAutodialAddressW [RASAPI32.58]
*/
DWORD WINAPI RasSetAutodialAddressW(LPCWSTR a, DWORD b, LPRASAUTODIALENTRYW c,
DWORD d, DWORD e)
{
FIXME("(%s,%x,%p,%x,%x),stub!\n",debugstr_w(a),b,c,d,e);
return 0;
}
/**************************************************************************
* RasSetAutodialEnableA [RASAPI32.59]
*/
DWORD WINAPI RasSetAutodialEnableA(DWORD dwDialingLocation, BOOL fEnabled)
{
FIXME("(%x,%x),stub!\n",dwDialingLocation,fEnabled);
return 0;
}
/**************************************************************************
* RasSetAutodialEnableW [RASAPI32.60]
*/
DWORD WINAPI RasSetAutodialEnableW(DWORD dwDialingLocation, BOOL fEnabled)
{
FIXME("(%x,%x),stub!\n",dwDialingLocation,fEnabled);
return 0;
}
/**************************************************************************
* RasSetAutodialParamA [RASAPI32.61]
*/
DWORD WINAPI RasSetAutodialParamA(DWORD a, LPVOID b, DWORD c)
{
FIXME("(%x,%p,%x),stub!\n",a,b,c);
return 0;
}
/**************************************************************************
* RasSetAutodialParamW [RASAPI32.62]
*/
DWORD WINAPI RasSetAutodialParamW(DWORD a, LPVOID b, DWORD c)
{
FIXME("(%x,%p,%x),stub!\n",a,b,c);
return 0;
}
/**************************************************************************
* RasSetEntryPropertiesA [RASAPI32.67]
*/
DWORD WINAPI RasSetEntryPropertiesA(LPCSTR lpszPhonebook, LPCSTR lpszEntry,
LPRASENTRYA lpRasEntry, DWORD dwEntryInfoSize, LPBYTE lpbDeviceInfo,
DWORD dwDeviceInfoSize
) {
FIXME("(%s,%s,%p,%d,%p,%d), stub!\n",
debugstr_a(lpszPhonebook),debugstr_a(lpszEntry),
lpRasEntry,dwEntryInfoSize,lpbDeviceInfo,dwDeviceInfoSize
);
FIXME("Rasentry:\n");
FIXME("\tdwfOptions %x\n",lpRasEntry->dwfOptions);
FIXME("\tszLocalPhoneNumber %s\n",debugstr_a(lpRasEntry->szLocalPhoneNumber));
return 0;
}
/**************************************************************************
* RasSetEntryPropertiesW [RASAPI32.68]
*/
DWORD WINAPI RasSetEntryPropertiesW(LPCWSTR lpszPhonebook, LPCWSTR lpszEntry,
LPRASENTRYW lpRasEntry, DWORD dwEntryInfoSize, LPBYTE lpbDeviceInfo,
DWORD dwDeviceInfoSize
) {
FIXME("(%s,%s,%p,%d,%p,%d), stub!\n",
debugstr_w(lpszPhonebook),debugstr_w(lpszEntry),
lpRasEntry,dwEntryInfoSize,lpbDeviceInfo,dwDeviceInfoSize
);
return 0;
}
/**************************************************************************
* RasValidateEntryNameA [RASAPI32.72]
*/
DWORD WINAPI RasValidateEntryNameA(LPCSTR lpszPhonebook, LPCSTR lpszEntry) {
FIXME("(%s,%s), stub!\n",debugstr_a(lpszPhonebook),debugstr_a(lpszEntry));
return 0;
}
/**************************************************************************
* RasValidateEntryNameW [RASAPI32.73]
*/
DWORD WINAPI RasValidateEntryNameW(LPCWSTR lpszPhonebook, LPCWSTR lpszEntry) {
FIXME("(%s,%s), stub!\n",debugstr_w(lpszPhonebook),debugstr_w(lpszEntry));
return 0;
}
/**************************************************************************
* RasGetEntryPropertiesA [RASAPI32.@]
*/
DWORD WINAPI RasGetEntryPropertiesA(LPCSTR lpszPhonebook, LPCSTR lpszEntry, LPRASENTRYA lpRasEntry,
LPDWORD lpdwEntryInfoSize, LPBYTE lpbDeviceInfo, LPDWORD lpdwDeviceInfoSize
) {
FIXME("(%s,%s,%p,%p,%p,%p), stub!\n", debugstr_a(lpszPhonebook), debugstr_a(lpszEntry), lpRasEntry,
lpdwEntryInfoSize, lpbDeviceInfo, lpdwDeviceInfoSize);
return 0;
}
/**************************************************************************
* RasGetEntryPropertiesW [RASAPI32.@]
*/
DWORD WINAPI RasGetEntryPropertiesW(LPCWSTR lpszPhonebook, LPCWSTR lpszEntry, LPRASENTRYW lpRasEntry,
LPDWORD lpdwEntryInfoSize, LPBYTE lpbDeviceInfo, LPDWORD lpdwDeviceInfoSize
) {
FIXME("(%s,%s,%p,%p,%p,%p), stub!\n", debugstr_w(lpszPhonebook), debugstr_w(lpszEntry), lpRasEntry,
lpdwEntryInfoSize, lpbDeviceInfo, lpdwDeviceInfoSize);
return 0;
}
DWORD WINAPI RasGetErrorStringA(UINT uErrorValue, LPSTR lpszErrorString, DWORD cBufSize)
{
FIXME("(0x%08x,%p,0x%08x), stub!\n", uErrorValue, lpszErrorString, cBufSize);
return 1;
}
DWORD WINAPI RasGetErrorStringW(UINT uErrorValue, LPWSTR lpszErrorString, DWORD cBufSize)
{
FIXME("(0x%08x,%p,0x%08x), stub!\n", uErrorValue, lpszErrorString, cBufSize);
return 1;
}
DWORD WINAPI RasGetProjectionInfoA(HRASCONN hrasconn, RASPROJECTION rasprojection,
LPVOID lpprojection, LPDWORD lpcb)
{
FIXME("(%p,0x%08x,%p,%p), stub!\n", hrasconn, rasprojection, lpprojection, lpcb);
return 1;
}
DWORD WINAPI RasGetProjectionInfoW(HRASCONN hrasconn, RASPROJECTION rasprojection,
LPVOID lpprojection, LPDWORD lpcb)
{
FIXME("(%p,0x%08x,%p,%p), stub!\n", hrasconn, rasprojection, lpprojection, lpcb);
return 1;
}
DWORD WINAPI RasRenameEntryA(LPCSTR lpszPhonebook, LPCSTR lpszOldEntry, LPCSTR lpszNewEntry)
{
FIXME("(%s,%s,%s), stub!\n", debugstr_a(lpszPhonebook), debugstr_a(lpszOldEntry),
debugstr_a(lpszNewEntry));
return 0;
}
DWORD WINAPI RasRenameEntryW(LPCWSTR lpszPhonebook, LPCWSTR lpszOldEntry, LPCWSTR lpszNewEntry)
{
FIXME("(%s,%s,%s), stub!\n", debugstr_w(lpszPhonebook), debugstr_w(lpszOldEntry),
debugstr_w(lpszNewEntry));
return 0;
}
DWORD WINAPI RasSetEntryDialParamsA(LPCSTR lpszPhonebook, LPRASDIALPARAMSA lprasdialparams,
BOOL fRemovePassword)
{
FIXME("(%s,%p,0x%x), stub!\n", debugstr_a(lpszPhonebook), lprasdialparams, fRemovePassword);
return 0;
}
DWORD WINAPI RasSetEntryDialParamsW(LPCWSTR lpszPhonebook, LPRASDIALPARAMSW lprasdialparams,
BOOL fRemovePassword)
{
FIXME("(%s,%p,0x%x), stub!\n", debugstr_w(lpszPhonebook), lprasdialparams, fRemovePassword);
return 0;
}
DWORD WINAPI RasSetSubEntryPropertiesA(LPCSTR lpszPhonebook, LPCSTR lpszEntry, DWORD dwSubEntry,
LPRASSUBENTRYA lpRasSubEntry, DWORD dwcbRasSubEntry,
LPBYTE lpbDeviceConfig, DWORD dwcbDeviceConfig)
{
FIXME("(%s,%s,0x%08x,%p,0x%08x,%p,0x%08x), stub!\n", debugstr_a(lpszPhonebook),
debugstr_a(lpszEntry), dwSubEntry, lpRasSubEntry, dwcbRasSubEntry, lpbDeviceConfig,
dwcbDeviceConfig);
return 0;
}
DWORD WINAPI RasSetSubEntryPropertiesW(LPCWSTR lpszPhonebook, LPCWSTR lpszEntry, DWORD dwSubEntry,
LPRASSUBENTRYW lpRasSubEntry, DWORD dwcbRasSubEntry,
LPBYTE lpbDeviceConfig, DWORD dwcbDeviceConfig)
{
FIXME("(%s,%s,0x%08x,%p,0x%08x,%p,0x%08x), stub!\n", debugstr_w(lpszPhonebook),
debugstr_w(lpszEntry), dwSubEntry, lpRasSubEntry, dwcbRasSubEntry, lpbDeviceConfig,
dwcbDeviceConfig);
return 0;
}

View file

@ -0,0 +1,15 @@
<module name="rasapi32" type="win32dll" baseaddress="${BASEADDRESS_RASAPI32}" installbase="system32" installname="rasapi32.dll">
<importlibrary definition="rasapi32.spec.def" />
<include base="rasapi32">.</include>
<define name="_WIN32_WINNT">0x501</define>
<define name="WINVER">0x501</define>
<define name="_DISABLE_TIDENTS" />
<library>ntdll</library>
<library>wine</library>
<library>kernel32</library>
<library>uuid</library>
<file>rasapi.c</file>
<file>rasapi32.spec</file>
<file>rasapi32.rc</file>
<file>rsrc.rc</file>
</module>

View file

@ -0,0 +1,9 @@
#include <windows.h>
#define REACTOS_VERSION_DLL
#define REACTOS_STR_FILE_DESCRIPTION "Remote Access API\0"
#define REACTOS_STR_INTERNAL_NAME "rasapi32\0"
#define REACTOS_STR_ORIGINAL_FILENAME "rasapi32.dll\0"
#include <reactos/version.rc>
#include "rsrc.rc"

View file

@ -0,0 +1,125 @@
@ stub RasAutodialAddressToNetwork
@ stub RasAutodialEntryToNetwork
@ stdcall RasConnectionNotificationA(ptr long long)
@ stdcall RasConnectionNotificationW(ptr long long)
@ stdcall RasCreatePhonebookEntryA(long str)
@ stdcall RasCreatePhonebookEntryW(long wstr)
@ stdcall RasDeleteEntryA(str str)
@ stdcall RasDeleteEntryW(wstr wstr)
@ stdcall RasDeleteSubEntryA(str str long)
@ stdcall RasDeleteSubEntryW(wstr wstr long)
@ stdcall RasDialA(ptr str ptr long ptr ptr)
@ stdcall RasDialW(ptr wstr ptr long ptr ptr)
@ stub RasDialWow
@ stdcall RasEditPhonebookEntryA(long str str)
@ stdcall RasEditPhonebookEntryW(long wstr wstr)
@ stdcall RasEnumAutodialAddressesA(ptr ptr ptr)
@ stdcall RasEnumAutodialAddressesW(ptr ptr ptr)
@ stdcall RasEnumConnectionsA(ptr ptr ptr)
@ stdcall RasEnumConnectionsW(ptr ptr ptr)
@ stub RasEnumConnectionsWow
@ stdcall RasEnumDevicesA(ptr ptr ptr)
@ stdcall RasEnumDevicesW(ptr ptr ptr)
@ stdcall RasEnumEntriesA(str str ptr ptr ptr)
@ stdcall RasEnumEntriesW(str str ptr ptr ptr)
@ stub RasEnumEntriesWow
@ stdcall RasGetAutodialAddressA(str ptr ptr ptr ptr)
@ stdcall RasGetAutodialAddressW(wstr ptr ptr ptr ptr)
@ stdcall RasGetAutodialEnableA(long ptr)
@ stdcall RasGetAutodialEnableW(long ptr)
@ stdcall RasGetAutodialParamA(long ptr ptr)
@ stdcall RasGetAutodialParamW(long ptr ptr)
@ stub RasGetConnectResponse
@ stdcall RasGetConnectStatusA(ptr ptr)
@ stdcall RasGetConnectStatusW(ptr ptr)
@ stub RasGetConnectStatusWow
@ stub RasGetCountryInfoA
@ stub RasGetCountryInfoW
@ stub RasGetCredentialsA
@ stub RasGetCredentialsW
@ stdcall RasGetEntryDialParamsA(str ptr ptr)
@ stdcall RasGetEntryDialParamsW(wstr ptr ptr)
@ stdcall RasGetEntryPropertiesA(str str ptr ptr ptr ptr)
@ stdcall RasGetEntryPropertiesW(wstr wstr ptr ptr ptr ptr)
@ stdcall RasGetErrorStringA(long ptr long)
@ stdcall RasGetErrorStringW(long ptr long)
@ stub RasGetErrorStringWow
@ stub RasGetHport
@ stdcall RasGetProjectionInfoA(ptr ptr ptr ptr)
@ stdcall RasGetProjectionInfoW(ptr ptr ptr ptr)
@ stub RasGetSubEntryHandleA
@ stub RasGetSubEntryHandleW
@ stub RasGetSubEntryPropertiesA
@ stub RasGetSubEntryPropertiesW
@ stdcall RasHangUpA(long)
@ stdcall RasHangUpW(long)
@ stub RasHangUpWow
@ stdcall RasRenameEntryA(str str str)
@ stdcall RasRenameEntryW(wstr wstr wstr)
@ stdcall RasSetAutodialAddressA(str long ptr long long)
@ stdcall RasSetAutodialAddressW(wstr long ptr long long)
@ stdcall RasSetAutodialEnableA(long long)
@ stdcall RasSetAutodialEnableW(long long)
@ stdcall RasSetAutodialParamA(long ptr long)
@ stdcall RasSetAutodialParamW(long ptr long)
@ stub RasSetCredentialsA
@ stub RasSetCredentialsW
@ stdcall RasSetEntryDialParamsA(str ptr long)
@ stdcall RasSetEntryDialParamsW(wstr ptr long)
@ stdcall RasSetEntryPropertiesA(str str ptr long ptr long)
@ stdcall RasSetEntryPropertiesW(wstr wstr ptr long ptr long)
@ stub RasSetOldPassword
@ stdcall RasSetSubEntryPropertiesA(str str long ptr long ptr long)
@ stdcall RasSetSubEntryPropertiesW(wstr wstr long ptr long ptr long)
@ stdcall RasValidateEntryNameA(str str)
@ stdcall RasValidateEntryNameW(wstr wstr)
500 stub RnaEngineRequest
501 stub DialEngineRequest
502 stub SuprvRequest
503 stub DialInMessage
504 stub RnaEnumConnEntries
505 stub RnaGetConnEntry
506 stub RnaFreeConnEntry
507 stub RnaSaveConnEntry
508 stub RnaDeleteConnEntry
509 stub RnaRenameConnEntry
510 stub RnaValidateEntryName
511 stub RnaEnumDevices
512 stub RnaGetDeviceInfo
513 stub RnaGetDefaultDevConfig
514 stub RnaBuildDevConfig
515 stub RnaDevConfigDlg
516 stub RnaFreeDevConfig
517 stub RnaActivateEngine
518 stub RnaDeactivateEngine
519 stub SuprvEnumAccessInfo
520 stub SuprvGetAccessInfo
521 stub SuprvSetAccessInfo
522 stub SuprvGetAdminConfig
523 stub SuprvInitialize
524 stub SuprvDeInitialize
525 stub RnaUIDial
526 stub RnaImplicitDial
527 stub RasDial16
528 stub RnaSMMInfoDialog
529 stub RnaEnumerateMacNames
530 stub RnaEnumCountryInfo
531 stub RnaGetAreaCodeList
532 stub RnaFindDriver
533 stub RnaInstallDriver
534 stub RnaGetDialSettings
535 stub RnaSetDialSettings
536 stub RnaGetIPInfo
537 stub RnaSetIPInfo
560 stub RnaCloseMac
561 stub RnaComplete
562 stub RnaGetDevicePort
563 stub RnaGetUserProfile
564 stub RnaOpenMac
565 stub RnaSessInitialize
566 stub RnaStartCallback
567 stub RnaTerminate
568 stub RnaUICallbackDialog
569 stub RnaUIUsernamePassword

View file

@ -0,0 +1,3 @@
#include <windows.h>
#include "lang/en-US.rc"

View file

@ -199,6 +199,9 @@
<directory name="psapi">
<xi:include href="psapi/psapi.rbuild" />
</directory>
<directory name="rasapi32">
<xi:include href="rasapi32/rasapi32.rbuild" />
</directory>
<directory name="riched20">
<xi:include href="riched20/riched20.rbuild" />
</directory>