Stub implementations for RasConnectionNotification{A,W},
RasCreatePhonebookEntry{A,W}, RasDeleteSubEntry{A,W}, RasDial{A,W}, RasEditPhonebookEntry{A,W}, RasGetConnectStatus{A,W}, RasGetEntryDialParamsW, RasHangUpW, RasGetEntryPropertiesW, RasGetErrorString{A,W}, RasGetProjectionInfo{A,W}, RasRenameEntry{A,W}, RasSetEntryDialParams{A,W}, RasSetSubEntryProperties{A,W}.
This commit is contained in:
parent
51cf7d13c0
commit
e121d5094b
|
@ -27,6 +27,74 @@
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(ras);
|
WINE_DEFAULT_DEBUG_CHANNEL(ras);
|
||||||
|
|
||||||
|
DWORD WINAPI RasConnectionNotificationA(HRASCONN hrasconn, HANDLE hEvent, DWORD dwFlags)
|
||||||
|
{
|
||||||
|
FIXME("(%p,%p,0x%08lx),stub!\n",hrasconn,hEvent,dwFlags);
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
DWORD WINAPI RasConnectionNotificationW(HRASCONN hrasconn, HANDLE hEvent, DWORD dwFlags)
|
||||||
|
{
|
||||||
|
FIXME("(%p,%p,0x%08lx),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%08lx),stub!\n",debugstr_a(lpszPhonebook),
|
||||||
|
debugstr_a(lpszEntry),dwSubEntryId);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
DWORD WINAPI RasDeleteSubEntryW(LPCWSTR lpszPhonebook, LPCWSTR lpszEntry, DWORD dwSubEntryId)
|
||||||
|
{
|
||||||
|
FIXME("(%s,%s,0x%08lx),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%08lx,%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%08lx,%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]
|
* RasEnumConnectionsA [RASAPI32.544]
|
||||||
*/
|
*/
|
||||||
|
@ -77,6 +145,17 @@ DWORD WINAPI RasEnumEntriesW( LPCWSTR Reserved, LPCWSTR lpszPhoneBook,
|
||||||
return 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]
|
* RasGetEntryDialParamsA [RASAPI32.550]
|
||||||
|
@ -90,6 +169,18 @@ DWORD WINAPI RasGetEntryDialParamsA(
|
||||||
return 0;
|
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]
|
* RasHangUpA [RASAPI32.556]
|
||||||
*/
|
*/
|
||||||
|
@ -99,6 +190,15 @@ DWORD WINAPI RasHangUpA( HRASCONN hrasconn)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**************************************************************************
|
||||||
|
* RasHangUpW [RASAPI32.557]
|
||||||
|
*/
|
||||||
|
DWORD WINAPI RasHangUpW(HRASCONN hrasconn)
|
||||||
|
{
|
||||||
|
FIXME("(%p),stub!\n",hrasconn);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
* RasDeleteEntryA [RASAPI32.7]
|
* RasDeleteEntryA [RASAPI32.7]
|
||||||
*/
|
*/
|
||||||
|
@ -331,7 +431,92 @@ DWORD WINAPI RasValidateEntryNameW(LPCWSTR lpszPhonebook, LPCWSTR lpszEntry) {
|
||||||
DWORD WINAPI RasGetEntryPropertiesA(LPCSTR lpszPhonebook, LPCSTR lpszEntry, LPRASENTRYA lpRasEntry,
|
DWORD WINAPI RasGetEntryPropertiesA(LPCSTR lpszPhonebook, LPCSTR lpszEntry, LPRASENTRYA lpRasEntry,
|
||||||
LPDWORD lpdwEntryInfoSize, LPBYTE lpbDeviceInfo, LPDWORD lpdwDeviceInfoSize
|
LPDWORD lpdwEntryInfoSize, LPBYTE lpbDeviceInfo, LPDWORD lpdwDeviceInfoSize
|
||||||
) {
|
) {
|
||||||
FIXME("(%s,%s,%p,%p,%p,%p), stub!\n", lpszPhonebook, lpszEntry, lpRasEntry, lpdwEntryInfoSize,
|
FIXME("(%s,%s,%p,%p,%p,%p), stub!\n", debugstr_a(lpszPhonebook), debugstr_a(lpszEntry), lpRasEntry,
|
||||||
lpbDeviceInfo, lpdwDeviceInfoSize);
|
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,%s,0x%08lx), stub!\n", uErrorValue, debugstr_a(lpszErrorString), cBufSize);
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
DWORD WINAPI RasGetErrorStringW(UINT uErrorValue, LPWSTR lpszErrorString, DWORD cBufSize)
|
||||||
|
{
|
||||||
|
FIXME("(0x%08x,%s,0x%08lx), stub!\n", uErrorValue, debugstr_w(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%08lx,%p,0x%08lx,%p,0x%08lx), 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%08lx,%p,0x%08lx,%p,0x%08lx), stub!\n", debugstr_w(lpszPhonebook),
|
||||||
|
debugstr_w(lpszEntry), dwSubEntry, lpRasSubEntry, dwcbRasSubEntry, lpbDeviceConfig,
|
||||||
|
dwcbDeviceConfig);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
@ stub RasAutodialAddressToNetwork
|
@ stub RasAutodialAddressToNetwork
|
||||||
@ stub RasAutodialEntryToNetwork
|
@ stub RasAutodialEntryToNetwork
|
||||||
@ stub RasConnectionNotificationA
|
@ stdcall RasConnectionNotificationA(ptr long long)
|
||||||
@ stub RasConnectionNotificationW
|
@ stdcall RasConnectionNotificationW(ptr long long)
|
||||||
@ stub RasCreatePhonebookEntryA
|
@ stdcall RasCreatePhonebookEntryA(long str)
|
||||||
@ stub RasCreatePhonebookEntryW
|
@ stdcall RasCreatePhonebookEntryW(long wstr)
|
||||||
@ stdcall RasDeleteEntryA(str str)
|
@ stdcall RasDeleteEntryA(str str)
|
||||||
@ stdcall RasDeleteEntryW(wstr wstr)
|
@ stdcall RasDeleteEntryW(wstr wstr)
|
||||||
@ stub RasDeleteSubEntryA
|
@ stdcall RasDeleteSubEntryA(str str long)
|
||||||
@ stub RasDeleteSubEntryW
|
@ stdcall RasDeleteSubEntryW(wstr wstr long)
|
||||||
@ stub RasDialA
|
@ stdcall RasDialA(ptr str ptr long ptr ptr)
|
||||||
@ stub RasDialW
|
@ stdcall RasDialW(ptr wstr ptr long ptr ptr)
|
||||||
@ stub RasDialWow
|
@ stub RasDialWow
|
||||||
@ stub RasEditPhonebookEntryA
|
@ stdcall RasEditPhonebookEntryA(long str str)
|
||||||
@ stub RasEditPhonebookEntryW
|
@ stdcall RasEditPhonebookEntryW(long wstr wstr)
|
||||||
@ stdcall RasEnumAutodialAddressesA(ptr ptr ptr)
|
@ stdcall RasEnumAutodialAddressesA(ptr ptr ptr)
|
||||||
@ stdcall RasEnumAutodialAddressesW(ptr ptr ptr)
|
@ stdcall RasEnumAutodialAddressesW(ptr ptr ptr)
|
||||||
@ stdcall RasEnumConnectionsA(ptr ptr ptr)
|
@ stdcall RasEnumConnectionsA(ptr ptr ptr)
|
||||||
|
@ -30,32 +30,32 @@
|
||||||
@ stdcall RasGetAutodialParamA(long ptr ptr)
|
@ stdcall RasGetAutodialParamA(long ptr ptr)
|
||||||
@ stdcall RasGetAutodialParamW(long ptr ptr)
|
@ stdcall RasGetAutodialParamW(long ptr ptr)
|
||||||
@ stub RasGetConnectResponse
|
@ stub RasGetConnectResponse
|
||||||
@ stub RasGetConnectStatusA
|
@ stdcall RasGetConnectStatusA(ptr ptr)
|
||||||
@ stub RasGetConnectStatusW
|
@ stdcall RasGetConnectStatusW(ptr ptr)
|
||||||
@ stub RasGetConnectStatusWow
|
@ stub RasGetConnectStatusWow
|
||||||
@ stub RasGetCountryInfoA
|
@ stub RasGetCountryInfoA
|
||||||
@ stub RasGetCountryInfoW
|
@ stub RasGetCountryInfoW
|
||||||
@ stub RasGetCredentialsA
|
@ stub RasGetCredentialsA
|
||||||
@ stub RasGetCredentialsW
|
@ stub RasGetCredentialsW
|
||||||
@ stdcall RasGetEntryDialParamsA(str ptr ptr)
|
@ stdcall RasGetEntryDialParamsA(str ptr ptr)
|
||||||
@ stub RasGetEntryDialParamsW
|
@ stdcall RasGetEntryDialParamsW(wstr ptr ptr)
|
||||||
@ stdcall RasGetEntryPropertiesA(str str ptr ptr ptr ptr)
|
@ stdcall RasGetEntryPropertiesA(str str ptr ptr ptr ptr)
|
||||||
@ stub RasGetEntryPropertiesW
|
@ stdcall RasGetEntryPropertiesW(wstr wstr ptr ptr ptr ptr)
|
||||||
@ stub RasGetErrorStringA
|
@ stdcall RasGetErrorStringA(long str long)
|
||||||
@ stub RasGetErrorStringW
|
@ stdcall RasGetErrorStringW(long wstr long)
|
||||||
@ stub RasGetErrorStringWow
|
@ stub RasGetErrorStringWow
|
||||||
@ stub RasGetHport
|
@ stub RasGetHport
|
||||||
@ stub RasGetProjectionInfoA
|
@ stdcall RasGetProjectionInfoA(ptr ptr ptr ptr)
|
||||||
@ stub RasGetProjectionInfoW
|
@ stdcall RasGetProjectionInfoW(ptr ptr ptr ptr)
|
||||||
@ stub RasGetSubEntryHandleA
|
@ stub RasGetSubEntryHandleA
|
||||||
@ stub RasGetSubEntryHandleW
|
@ stub RasGetSubEntryHandleW
|
||||||
@ stub RasGetSubEntryPropertiesA
|
@ stub RasGetSubEntryPropertiesA
|
||||||
@ stub RasGetSubEntryPropertiesW
|
@ stub RasGetSubEntryPropertiesW
|
||||||
@ stdcall RasHangUpA(long)
|
@ stdcall RasHangUpA(long)
|
||||||
@ stub RasHangUpW
|
@ stdcall RasHangUpW(long)
|
||||||
@ stub RasHangUpWow
|
@ stub RasHangUpWow
|
||||||
@ stub RasRenameEntryA
|
@ stdcall RasRenameEntryA(str str str)
|
||||||
@ stub RasRenameEntryW
|
@ stdcall RasRenameEntryW(wstr wstr wstr)
|
||||||
@ stdcall RasSetAutodialAddressA(str long ptr long long)
|
@ stdcall RasSetAutodialAddressA(str long ptr long long)
|
||||||
@ stdcall RasSetAutodialAddressW(wstr long ptr long long)
|
@ stdcall RasSetAutodialAddressW(wstr long ptr long long)
|
||||||
@ stdcall RasSetAutodialEnableA(long long)
|
@ stdcall RasSetAutodialEnableA(long long)
|
||||||
|
@ -64,13 +64,13 @@
|
||||||
@ stdcall RasSetAutodialParamW(long ptr long)
|
@ stdcall RasSetAutodialParamW(long ptr long)
|
||||||
@ stub RasSetCredentialsA
|
@ stub RasSetCredentialsA
|
||||||
@ stub RasSetCredentialsW
|
@ stub RasSetCredentialsW
|
||||||
@ stub RasSetEntryDialParamsA
|
@ stdcall RasSetEntryDialParamsA(str ptr long)
|
||||||
@ stub RasSetEntryDialParamsW
|
@ stdcall RasSetEntryDialParamsW(wstr ptr long)
|
||||||
@ stdcall RasSetEntryPropertiesA(str str ptr long ptr long)
|
@ stdcall RasSetEntryPropertiesA(str str ptr long ptr long)
|
||||||
@ stdcall RasSetEntryPropertiesW(wstr wstr ptr long ptr long)
|
@ stdcall RasSetEntryPropertiesW(wstr wstr ptr long ptr long)
|
||||||
@ stub RasSetOldPassword
|
@ stub RasSetOldPassword
|
||||||
@ stub RasSetSubEntryPropertiesA
|
@ stdcall RasSetSubEntryPropertiesA(str str long ptr long ptr long)
|
||||||
@ stub RasSetSubEntryPropertiesW
|
@ stdcall RasSetSubEntryPropertiesW(wstr wstr long ptr long ptr long)
|
||||||
@ stdcall RasValidateEntryNameA(str str)
|
@ stdcall RasValidateEntryNameA(str str)
|
||||||
@ stdcall RasValidateEntryNameW(wstr wstr)
|
@ stdcall RasValidateEntryNameW(wstr wstr)
|
||||||
|
|
||||||
|
|
132
include/ras.h
132
include/ras.h
|
@ -38,8 +38,6 @@ extern "C" {
|
||||||
#define RAS_MaxUserData 200
|
#define RAS_MaxUserData 200
|
||||||
#define RAS_MaxDnsSuffix 256
|
#define RAS_MaxDnsSuffix 256
|
||||||
|
|
||||||
DECLARE_HANDLE(HRASCONN);
|
|
||||||
|
|
||||||
/* szDeviceType strings for RASDEVINFO */
|
/* szDeviceType strings for RASDEVINFO */
|
||||||
#define RASDT_Direct "direct"
|
#define RASDT_Direct "direct"
|
||||||
#define RASDT_Modem "modem"
|
#define RASDT_Modem "modem"
|
||||||
|
@ -65,6 +63,9 @@ typedef struct tagRASDEVINFOW {
|
||||||
DECL_WINELIB_TYPE_AW(RASDEVINFO)
|
DECL_WINELIB_TYPE_AW(RASDEVINFO)
|
||||||
DECL_WINELIB_TYPE_AW(LPRASDEVINFO)
|
DECL_WINELIB_TYPE_AW(LPRASDEVINFO)
|
||||||
|
|
||||||
|
DECLARE_HANDLE(HRASCONN);
|
||||||
|
typedef HRASCONN* LPHRASCONN;
|
||||||
|
|
||||||
typedef struct tagRASCONNA {
|
typedef struct tagRASCONNA {
|
||||||
DWORD dwSize;
|
DWORD dwSize;
|
||||||
HRASCONN hRasConn;
|
HRASCONN hRasConn;
|
||||||
|
@ -298,12 +299,118 @@ typedef struct tagRASENTRYW {
|
||||||
|
|
||||||
DECL_WINELIB_TYPE_AW(RASENTRY)
|
DECL_WINELIB_TYPE_AW(RASENTRY)
|
||||||
|
|
||||||
|
#define RASCS_PAUSED 0x1000
|
||||||
|
#define RASCS_DONE 0x2000
|
||||||
|
typedef enum tagRASCONNSTATE
|
||||||
|
{
|
||||||
|
RASCS_OpenPort = 0,
|
||||||
|
RASCS_PortOpened,
|
||||||
|
RASCS_ConnectDevice,
|
||||||
|
RASCS_DeviceConnected,
|
||||||
|
RASCS_AllDevicesConnected,
|
||||||
|
RASCS_Authenticate,
|
||||||
|
RASCS_AuthNotify,
|
||||||
|
RASCS_AuthRetry,
|
||||||
|
RASCS_AuthCallback,
|
||||||
|
RASCS_AuthChangePassword,
|
||||||
|
RASCS_AuthProject,
|
||||||
|
RASCS_AuthLinkSpeed,
|
||||||
|
RASCS_AuthAck,
|
||||||
|
RASCS_ReAuthenticate,
|
||||||
|
RASCS_Authenticated,
|
||||||
|
RASCS_PrepareForCallback,
|
||||||
|
RASCS_WaitForModemReset,
|
||||||
|
RASCS_WaitForCallback,
|
||||||
|
RASCS_Projected,
|
||||||
|
RASCS_StartAuthentication,
|
||||||
|
RASCS_CallbackComplete,
|
||||||
|
RASCS_LogonNetwork,
|
||||||
|
RASCS_SubEntryConnected,
|
||||||
|
RASCS_SubEntryDisconnected,
|
||||||
|
RASCS_Interactive = RASCS_PAUSED,
|
||||||
|
RASCS_RetryAuthentication,
|
||||||
|
RASCS_CallbackSetByCaller,
|
||||||
|
RASCS_PasswordExpired,
|
||||||
|
RASCS_Connected = RASCS_DONE,
|
||||||
|
RASCS_Disconnected
|
||||||
|
} RASCONNSTATE, *LPRASCONNSTATE;
|
||||||
|
|
||||||
|
typedef struct tagRASCONNSTATUSA
|
||||||
|
{
|
||||||
|
DWORD dwSize;
|
||||||
|
RASCONNSTATE rasconnstate;
|
||||||
|
DWORD dwError;
|
||||||
|
CHAR szDeviceType[RAS_MaxDeviceType + 1];
|
||||||
|
CHAR szDeviceName[RAS_MaxDeviceName + 1];
|
||||||
|
} RASCONNSTATUSA, *LPRASCONNSTATUSA;
|
||||||
|
|
||||||
|
typedef struct tagRASCONNSTATUSW
|
||||||
|
{
|
||||||
|
DWORD dwSize;
|
||||||
|
RASCONNSTATE rasconnstate;
|
||||||
|
DWORD dwError;
|
||||||
|
WCHAR szDeviceType[RAS_MaxDeviceType + 1];
|
||||||
|
WCHAR szDeviceName[RAS_MaxDeviceName + 1];
|
||||||
|
} RASCONNSTATUSW, *LPRASCONNSTATUSW;
|
||||||
|
|
||||||
|
DECL_WINELIB_TYPE_AW(RASCONNSTATUS)
|
||||||
|
|
||||||
|
typedef enum tagRASPROJECTION
|
||||||
|
{
|
||||||
|
RASP_Amb = 0x10000,
|
||||||
|
RASP_PppNbf = 0x803F,
|
||||||
|
RASP_PppIpx = 0x802B,
|
||||||
|
RASP_PppIp = 0x8021,
|
||||||
|
RASP_PppLcp = 0xC021,
|
||||||
|
RASP_Slip = 0x20000
|
||||||
|
} RASPROJECTION, *LPRASPROJECTION;
|
||||||
|
|
||||||
|
typedef struct tagRASSUBENTRYA
|
||||||
|
{
|
||||||
|
DWORD dwSize;
|
||||||
|
DWORD dwfFlags;
|
||||||
|
CHAR szDeviceType[RAS_MaxDeviceType + 1];
|
||||||
|
CHAR szDeviceName[RAS_MaxDeviceName + 1];
|
||||||
|
CHAR szLocalPhoneNumber[RAS_MaxPhoneNumber + 1];
|
||||||
|
DWORD dwAlternateOffset;
|
||||||
|
} RASSUBENTRYA, *LPRASSUBENTRYA;
|
||||||
|
|
||||||
|
typedef struct tagRASSUBENTRYW
|
||||||
|
{
|
||||||
|
DWORD dwSize;
|
||||||
|
DWORD dwfFlags;
|
||||||
|
WCHAR szDeviceType[RAS_MaxDeviceType + 1];
|
||||||
|
WCHAR szDeviceName[RAS_MaxDeviceName + 1];
|
||||||
|
WCHAR szLocalPhoneNumber[RAS_MaxPhoneNumber + 1];
|
||||||
|
DWORD dwAlternateOffset;
|
||||||
|
} RASSUBENTRYW, *LPRASSUBENTRYW;
|
||||||
|
|
||||||
|
typedef struct tagRASDIALEXTENSIONS
|
||||||
|
{
|
||||||
|
DWORD dwSize;
|
||||||
|
DWORD dwfOptions;
|
||||||
|
HWND hwndParent;
|
||||||
|
ULONG_PTR reserved;
|
||||||
|
} RASDIALEXTENSIONS, *LPRASDIALEXTENSIONS;
|
||||||
|
|
||||||
|
DWORD WINAPI RasConnectionNotificationA(HRASCONN,HANDLE,DWORD);
|
||||||
|
DWORD WINAPI RasConnectionNotificationW(HRASCONN,HANDLE,DWORD);
|
||||||
|
#define RasConnectionNotification WINELIB_NAME_AW(RasConnectionNotification)
|
||||||
|
DWORD WINAPI RasCreatePhonebookEntryA(HWND,LPCSTR);
|
||||||
|
DWORD WINAPI RasCreatePhonebookEntryW(HWND,LPCWSTR);
|
||||||
|
#define RasCreatePhonebookEntry WINELIB_NAME_AW(RasCreatePhonebookEntry)
|
||||||
DWORD WINAPI RasDeleteEntryA(LPCSTR,LPCSTR);
|
DWORD WINAPI RasDeleteEntryA(LPCSTR,LPCSTR);
|
||||||
DWORD WINAPI RasDeleteEntryW(LPCWSTR,LPCWSTR);
|
DWORD WINAPI RasDeleteEntryW(LPCWSTR,LPCWSTR);
|
||||||
#define RasDeleteEntry WINELIB_NAME_AW(RasDeleteEntry)
|
#define RasDeleteEntry WINELIB_NAME_AW(RasDeleteEntry)
|
||||||
DWORD WINAPI RasDeleteSubEntryA(LPCSTR,LPCSTR,DWORD);
|
DWORD WINAPI RasDeleteSubEntryA(LPCSTR,LPCSTR,DWORD);
|
||||||
DWORD WINAPI RasDeleteSubEntryW(LPCWSTR,LPCWSTR,DWORD);
|
DWORD WINAPI RasDeleteSubEntryW(LPCWSTR,LPCWSTR,DWORD);
|
||||||
#define RasDeleteSubEntry WINELIB_NAME_AW(RasDeleteSubEntry)
|
#define RasDeleteSubEntry WINELIB_NAME_AW(RasDeleteSubEntry)
|
||||||
|
DWORD WINAPI RasDialA(LPRASDIALEXTENSIONS,LPCSTR,LPRASDIALPARAMSA,DWORD,LPVOID,LPHRASCONN);
|
||||||
|
DWORD WINAPI RasDialW(LPRASDIALEXTENSIONS,LPCWSTR,LPRASDIALPARAMSW,DWORD,LPVOID,LPHRASCONN);
|
||||||
|
#define RasDial WINELIB_NAME_AW(RasDial)
|
||||||
|
DWORD WINAPI RasEditPhonebookEntryA(HWND,LPCSTR,LPCSTR);
|
||||||
|
DWORD WINAPI RasEditPhonebookEntryW(HWND,LPCWSTR,LPCWSTR);
|
||||||
|
#define RasEditPhonebookEntry WINELIB_NAME_AW(RasEditPhonebookEntry)
|
||||||
DWORD WINAPI RasEnumConnectionsA(LPRASCONNA,LPDWORD,LPDWORD);
|
DWORD WINAPI RasEnumConnectionsA(LPRASCONNA,LPDWORD,LPDWORD);
|
||||||
DWORD WINAPI RasEnumConnectionsW(LPRASCONNW,LPDWORD,LPDWORD);
|
DWORD WINAPI RasEnumConnectionsW(LPRASCONNW,LPDWORD,LPDWORD);
|
||||||
#define RasEnumConnections WINELIB_NAME_AW(RasEnumConnections)
|
#define RasEnumConnections WINELIB_NAME_AW(RasEnumConnections)
|
||||||
|
@ -313,12 +420,33 @@ DWORD WINAPI RasEnumDevicesW(LPRASDEVINFOW,LPDWORD,LPDWORD);
|
||||||
DWORD WINAPI RasEnumEntriesA(LPCSTR,LPCSTR,LPRASENTRYNAMEA,LPDWORD,LPDWORD);
|
DWORD WINAPI RasEnumEntriesA(LPCSTR,LPCSTR,LPRASENTRYNAMEA,LPDWORD,LPDWORD);
|
||||||
DWORD WINAPI RasEnumEntriesW(LPCWSTR,LPCWSTR,LPRASENTRYNAMEW,LPDWORD,LPDWORD);
|
DWORD WINAPI RasEnumEntriesW(LPCWSTR,LPCWSTR,LPRASENTRYNAMEW,LPDWORD,LPDWORD);
|
||||||
#define RasEnumEntries WINELIB_NAME_AW(RasEnumEntries)
|
#define RasEnumEntries WINELIB_NAME_AW(RasEnumEntries)
|
||||||
|
DWORD WINAPI RasGetConnectStatusA(HRASCONN,LPRASCONNSTATUSA);
|
||||||
|
DWORD WINAPI RasGetConnectStatusW(HRASCONN,LPRASCONNSTATUSW);
|
||||||
|
#define RasGetConnectStatus WINELIB_NAME_AW(RasGetConnectStatus)
|
||||||
DWORD WINAPI RasGetEntryDialParamsA(LPCSTR,LPRASDIALPARAMSA,LPBOOL);
|
DWORD WINAPI RasGetEntryDialParamsA(LPCSTR,LPRASDIALPARAMSA,LPBOOL);
|
||||||
DWORD WINAPI RasGetEntryDialParamsW(LPCWSTR,LPRASDIALPARAMSW,LPBOOL);
|
DWORD WINAPI RasGetEntryDialParamsW(LPCWSTR,LPRASDIALPARAMSW,LPBOOL);
|
||||||
#define RasGetEntryDialParams WINELIB_NAME_AW(RasGetEntryDialParams)
|
#define RasGetEntryDialParams WINELIB_NAME_AW(RasGetEntryDialParams)
|
||||||
|
DWORD WINAPI RasGetEntryPropertiesA(LPCSTR,LPCSTR,LPRASENTRYA,LPDWORD,LPBYTE,LPDWORD);
|
||||||
|
DWORD WINAPI RasGetEntryPropertiesW(LPCWSTR,LPCWSTR,LPRASENTRYW,LPDWORD,LPBYTE,LPDWORD);
|
||||||
|
#define RasGetEntryProperties WINELIB_NAME_AW(RasGetEntryProperties)
|
||||||
|
DWORD WINAPI RasGetErrorStringA(UINT,LPSTR,DWORD);
|
||||||
|
DWORD WINAPI RasGetErrorStringW(UINT,LPWSTR,DWORD);
|
||||||
|
#define RasGetErrorString WINELIB_NAME_AW(RasGetErrorString)
|
||||||
|
DWORD WINAPI RasGetProjectionInfoA(HRASCONN,RASPROJECTION,LPVOID,LPDWORD);
|
||||||
|
DWORD WINAPI RasGetProjectionInfoW(HRASCONN,RASPROJECTION,LPVOID,LPDWORD);
|
||||||
|
#define RasGetProjectionInfo WINELIB_NAME_AW(RasGetProjectionInfo)
|
||||||
DWORD WINAPI RasHangUpA(HRASCONN);
|
DWORD WINAPI RasHangUpA(HRASCONN);
|
||||||
DWORD WINAPI RasHangUpW(HRASCONN);
|
DWORD WINAPI RasHangUpW(HRASCONN);
|
||||||
#define RasHangUp WINELIB_NAME_AW(RasHangUp)
|
#define RasHangUp WINELIB_NAME_AW(RasHangUp)
|
||||||
|
DWORD WINAPI RasRenameEntryA(LPCSTR,LPCSTR,LPCSTR);
|
||||||
|
DWORD WINAPI RasRenameEntryW(LPCWSTR,LPCWSTR,LPCWSTR);
|
||||||
|
#define RasRenameEntry WINELIB_NAME_AW(RasRenameEntry)
|
||||||
|
DWORD WINAPI RasSetEntryDialParamsA(LPCSTR,LPRASDIALPARAMSA,BOOL);
|
||||||
|
DWORD WINAPI RasSetEntryDialParamsW(LPCWSTR,LPRASDIALPARAMSW,BOOL);
|
||||||
|
#define RasSetEntryDialParams WINELIB_NAME_AW(RasSetEntryDialParams)
|
||||||
|
DWORD WINAPI RasSetSubEntryPropertiesA(LPCSTR,LPCSTR,DWORD,LPRASSUBENTRYA,DWORD,LPBYTE,DWORD);
|
||||||
|
DWORD WINAPI RasSetSubEntryPropertiesW(LPCWSTR,LPCWSTR,DWORD,LPRASSUBENTRYW,DWORD,LPBYTE,DWORD);
|
||||||
|
#define RasSetSubEntryProperties WINELIB_NAME_AW(RasSetSubEntryProperties)
|
||||||
DWORD WINAPI RasValidateEntryNameA(LPCSTR lpszPhonebook, LPCSTR lpszEntry);
|
DWORD WINAPI RasValidateEntryNameA(LPCSTR lpszPhonebook, LPCSTR lpszEntry);
|
||||||
DWORD WINAPI RasValidateEntryNameW(LPCWSTR lpszPhonebook, LPCWSTR lpszEntry);
|
DWORD WINAPI RasValidateEntryNameW(LPCWSTR lpszPhonebook, LPCWSTR lpszEntry);
|
||||||
#define RasValidateEntryName WINELIB_NAME_AW(RasValidateEntryName)
|
#define RasValidateEntryName WINELIB_NAME_AW(RasValidateEntryName)
|
||||||
|
|
Loading…
Reference in New Issue