1998-12-11 13:26:26 +00:00
|
|
|
/*
|
|
|
|
* RASAPI32
|
|
|
|
*
|
|
|
|
* Copyright 1998 Marcus Meissner
|
|
|
|
*/
|
|
|
|
|
1999-03-14 16:35:05 +00:00
|
|
|
#include "windef.h"
|
1998-12-11 13:26:26 +00:00
|
|
|
#include "ras.h"
|
1999-05-14 08:17:14 +00:00
|
|
|
#include "debugtools.h"
|
1998-12-11 13:26:26 +00:00
|
|
|
|
2000-11-27 23:54:25 +00:00
|
|
|
DEFAULT_DEBUG_CHANNEL(ras);
|
1999-04-19 14:56:29 +00:00
|
|
|
|
1998-12-11 13:26:26 +00:00
|
|
|
/**************************************************************************
|
2000-03-28 20:22:59 +00:00
|
|
|
* RasEnumConnectionsA [RASAPI32.544]
|
1998-12-11 13:26:26 +00:00
|
|
|
*/
|
1999-02-26 11:11:13 +00:00
|
|
|
DWORD WINAPI RasEnumConnectionsA( LPRASCONNA rca, LPDWORD x, LPDWORD y) {
|
1998-12-11 13:26:26 +00:00
|
|
|
/* Remote Access Service stuff is done by underlying OS anyway */
|
1999-05-14 08:17:14 +00:00
|
|
|
FIXME("(%p,%p,%p),stub!\n",rca,x,y);
|
1998-12-11 13:26:26 +00:00
|
|
|
return 0;
|
|
|
|
}
|
1999-11-07 05:49:28 +00:00
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
* RasEnumEntriesA [RASAPI32.546]
|
|
|
|
*/
|
2000-12-24 20:44:08 +00:00
|
|
|
DWORD WINAPI RasEnumEntriesA( LPCSTR Reserved, LPCSTR lpszPhoneBook,
|
|
|
|
LPRASENTRYNAMEA lpRasEntryName,
|
1999-11-07 05:49:28 +00:00
|
|
|
LPDWORD lpcb, LPDWORD lpcEntries)
|
|
|
|
{
|
|
|
|
FIXME("(%p,%s,%p,%p,%p),stub!\n",Reserved,debugstr_a(lpszPhoneBook),
|
|
|
|
lpRasEntryName,lpcb,lpcEntries);
|
1999-11-12 01:38:49 +00:00
|
|
|
*lpcEntries = 0;
|
1999-11-07 05:49:28 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
* RasGetEntryDialParamsA [RASAPI32.550]
|
|
|
|
*/
|
2000-12-24 20:44:08 +00:00
|
|
|
DWORD WINAPI RasGetEntryDialParamsA( LPCSTR lpszPhoneBook,
|
|
|
|
LPRASDIALPARAMSA lpRasDialParams,
|
1999-11-07 05:49:28 +00:00
|
|
|
LPBOOL lpfPassword)
|
|
|
|
{
|
|
|
|
FIXME("(%s,%p,%p),stub!\n",debugstr_a(lpszPhoneBook),
|
|
|
|
lpRasDialParams,lpfPassword);
|
|
|
|
return 0;
|
|
|
|
}
|
2000-07-23 13:32:57 +00:00
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
* RasHangUpA [RASAPI32.556]
|
|
|
|
*/
|
|
|
|
DWORD WINAPI RasHangUpA( HRASCONN hrasconn)
|
|
|
|
{
|
|
|
|
FIXME("(%x),stub!\n",hrasconn);
|
|
|
|
return 0;
|
|
|
|
}
|
2001-07-11 17:25:03 +00:00
|
|
|
|
|
|
|
/**************************************************************************
|
2001-07-12 22:33:51 +00:00
|
|
|
* RasDeleteEntryA [RASAPI32.7]
|
2001-07-11 17:25:03 +00:00
|
|
|
*/
|
|
|
|
DWORD WINAPI RasDeleteEntryA(LPCSTR a, LPCSTR b)
|
|
|
|
{
|
|
|
|
FIXME("(%s,%s),stub!\n",debugstr_a(a),debugstr_a(b));
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**************************************************************************
|
2001-07-12 22:33:51 +00:00
|
|
|
* RasDeleteEntryW [RASAPI32.8]
|
2001-07-11 17:25:03 +00:00
|
|
|
*/
|
|
|
|
DWORD WINAPI RasDeleteEntryW(LPCWSTR a, LPCWSTR b)
|
|
|
|
{
|
|
|
|
FIXME("(%s,%s),stub!\n",debugstr_w(a),debugstr_w(b));
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**************************************************************************
|
2001-07-12 22:33:51 +00:00
|
|
|
* RasEnumAutodialAddressesA [RASAPI32.14]
|
2001-07-11 17:25:03 +00:00
|
|
|
*/
|
|
|
|
DWORD WINAPI RasEnumAutodialAddressesA(LPCSTR *a, LPDWORD b, LPDWORD c)
|
|
|
|
{
|
|
|
|
FIXME("(%p,%p,%p),stub!\n",a,b,c);
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**************************************************************************
|
2001-07-12 22:33:51 +00:00
|
|
|
* RasEnumAutodialAddressesW [RASAPI32.15]
|
2001-07-11 17:25:03 +00:00
|
|
|
*/
|
|
|
|
DWORD WINAPI RasEnumAutodialAddressesW(LPCWSTR *a, LPDWORD b, LPDWORD c)
|
|
|
|
{
|
|
|
|
FIXME("(%p,%p,%p),stub!\n",a,b,c);
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
typedef LPVOID LPRASDEVINFOA;
|
|
|
|
typedef LPVOID LPRASDEVINFOW;
|
|
|
|
typedef LPVOID LPRASAUTODIALENTRYA;
|
|
|
|
typedef LPVOID LPRASAUTODIALENTRYW;
|
|
|
|
|
|
|
|
/**************************************************************************
|
2001-07-12 22:33:51 +00:00
|
|
|
* RasEnumDevicesA [RASAPI32.19]
|
2001-07-11 17:25:03 +00:00
|
|
|
*/
|
|
|
|
DWORD WINAPI RasEnumDevicesA(LPRASDEVINFOA a, LPDWORD b, LPDWORD c)
|
|
|
|
{
|
|
|
|
FIXME("(%p,%p,%p),stub!\n",a,b,c);
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**************************************************************************
|
2001-07-12 22:33:51 +00:00
|
|
|
* RasEnumDevicesW [RASAPI32.20]
|
2001-07-11 17:25:03 +00:00
|
|
|
*/
|
|
|
|
DWORD WINAPI RasEnumDevicesW(LPRASDEVINFOW a, LPDWORD b, LPDWORD c)
|
|
|
|
{
|
|
|
|
FIXME("(%p,%p,%p),stub!\n",a,b,c);
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**************************************************************************
|
2001-07-12 22:33:51 +00:00
|
|
|
* RasGetAutodialAddressA [RASAPI32.24]
|
2001-07-11 17:25:03 +00:00
|
|
|
*/
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**************************************************************************
|
2001-07-12 22:33:51 +00:00
|
|
|
* RasGetAutodialAddressW [RASAPI32.25]
|
2001-07-11 17:25:03 +00:00
|
|
|
*/
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**************************************************************************
|
2001-07-12 22:33:51 +00:00
|
|
|
* RasGetAutodialEnableA [RASAPI32.26]
|
2001-07-11 17:25:03 +00:00
|
|
|
*/
|
|
|
|
DWORD WINAPI RasGetAutodialEnableA(DWORD a, LPBOOL b)
|
|
|
|
{
|
|
|
|
FIXME("(%lx,%p),stub!\n",a,b);
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**************************************************************************
|
2001-07-12 22:33:51 +00:00
|
|
|
* RasGetAutodialEnableW [RASAPI32.27]
|
2001-07-11 17:25:03 +00:00
|
|
|
*/
|
|
|
|
DWORD WINAPI RasGetAutodialEnableW(DWORD a, LPBOOL b)
|
|
|
|
{
|
|
|
|
FIXME("(%lx,%p),stub!\n",a,b);
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**************************************************************************
|
2001-07-12 22:33:51 +00:00
|
|
|
* RasGetAutodialParamA [RASAPI32.28]
|
2001-07-11 17:25:03 +00:00
|
|
|
*/
|
|
|
|
DWORD WINAPI RasGetAutodialParamA(DWORD a, LPVOID b, LPDWORD c)
|
|
|
|
{
|
|
|
|
FIXME("(%lx,%p,%p),stub!\n",a,b,c);
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**************************************************************************
|
2001-07-12 22:33:51 +00:00
|
|
|
* RasGetAutodialParamW [RASAPI32.29]
|
2001-07-11 17:25:03 +00:00
|
|
|
*/
|
|
|
|
DWORD WINAPI RasGetAutodialParamW(DWORD a, LPVOID b, LPDWORD c)
|
|
|
|
{
|
|
|
|
FIXME("(%lx,%p,%p),stub!\n",a,b,c);
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**************************************************************************
|
2001-07-12 22:33:51 +00:00
|
|
|
* RasSetAutodialAddressA [RASAPI32.57]
|
2001-07-11 17:25:03 +00:00
|
|
|
*/
|
|
|
|
DWORD WINAPI RasSetAutodialAddressA(LPCSTR a, DWORD b, LPRASAUTODIALENTRYA c,
|
|
|
|
DWORD d, DWORD e)
|
|
|
|
{
|
|
|
|
FIXME("(%s,%lx,%p,%lx,%lx),stub!\n",debugstr_a(a),b,c,d,e);
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**************************************************************************
|
2001-07-12 22:33:51 +00:00
|
|
|
* RasSetAutodialAddressW [RASAPI32.58]
|
2001-07-11 17:25:03 +00:00
|
|
|
*/
|
|
|
|
DWORD WINAPI RasSetAutodialAddressW(LPCWSTR a, DWORD b, LPRASAUTODIALENTRYW c,
|
|
|
|
DWORD d, DWORD e)
|
|
|
|
{
|
|
|
|
FIXME("(%s,%lx,%p,%lx,%lx),stub!\n",debugstr_w(a),b,c,d,e);
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**************************************************************************
|
2001-07-12 22:33:51 +00:00
|
|
|
* RasSetAutodialEnableA [RASAPI32.59]
|
2001-07-11 17:25:03 +00:00
|
|
|
*/
|
|
|
|
DWORD WINAPI RasSetAutodialEnableA(DWORD a, BOOL b)
|
|
|
|
{
|
|
|
|
FIXME("(%lx,%x),stub!\n",a,b);
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**************************************************************************
|
2001-07-12 22:33:51 +00:00
|
|
|
* RasSetAutodialEnableW [RASAPI32.60]
|
2001-07-11 17:25:03 +00:00
|
|
|
*/
|
|
|
|
DWORD WINAPI RasSetAutodialEnableW(DWORD a, BOOL b)
|
|
|
|
{
|
|
|
|
FIXME("(%lx,%x),stub!\n",a,b);
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**************************************************************************
|
2001-07-12 22:33:51 +00:00
|
|
|
* RasSetAutodialParamA [RASAPI32.61]
|
2001-07-11 17:25:03 +00:00
|
|
|
*/
|
|
|
|
DWORD WINAPI RasSetAutodialParamA(DWORD a, LPVOID b, DWORD c)
|
|
|
|
{
|
|
|
|
FIXME("(%lx,%p,%lx),stub!\n",a,b,c);
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**************************************************************************
|
2001-07-12 22:33:51 +00:00
|
|
|
* RasSetAutodialParamW [RASAPI32.62]
|
2001-07-11 17:25:03 +00:00
|
|
|
*/
|
|
|
|
DWORD WINAPI RasSetAutodialParamW(DWORD a, LPVOID b, DWORD c)
|
|
|
|
{
|
|
|
|
FIXME("(%lx,%p,%lx),stub!\n",a,b,c);
|
|
|
|
return 0;
|
|
|
|
}
|