Austin English : rasapi32: Add RasSetCustomAuthDataA/W stubs.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Jan 14 11:10:26 CST 2016
Module: wine
Branch: master
Commit: 61942c8d43492a1cdc26a5a68d3bb27d340280b2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=61942c8d43492a1cdc26a5a68d3bb27d340280b2
Author: Austin English <austinenglish at gmail.com>
Date: Tue Jan 5 00:56:46 2016 -0600
rasapi32: Add RasSetCustomAuthDataA/W stubs.
Signed-off-by: Austin English <austinenglish at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/rasapi32/rasapi.c | 12 ++++++++++++
dlls/rasapi32/rasapi32.spec | 2 ++
include/ras.h | 3 +++
3 files changed, 17 insertions(+)
diff --git a/dlls/rasapi32/rasapi.c b/dlls/rasapi32/rasapi.c
index 235ab65..15061c5 100644
--- a/dlls/rasapi32/rasapi.c
+++ b/dlls/rasapi32/rasapi.c
@@ -494,6 +494,18 @@ DWORD WINAPI RasRenameEntryW(LPCWSTR lpszPhonebook, LPCWSTR lpszOldEntry, LPCWST
return 0;
}
+DWORD WINAPI RasSetCustomAuthDataA(const char *phonebook, const char *entry, BYTE *authdata, DWORD size)
+{
+ FIXME("(%s,%s,%p,0x%08x), stub!\n", debugstr_a(phonebook), debugstr_a(entry), authdata, size);
+ return 0;
+}
+
+DWORD WINAPI RasSetCustomAuthDataW(const WCHAR *phonebook, const WCHAR *entry, BYTE *authdata, DWORD size)
+{
+ FIXME("(%s,%s,%p,0x%08x), stub!\n", debugstr_w(phonebook), debugstr_w(entry), authdata, size);
+ return 0;
+}
+
DWORD WINAPI RasSetEntryDialParamsA(LPCSTR lpszPhonebook, LPRASDIALPARAMSA lprasdialparams,
BOOL fRemovePassword)
{
diff --git a/dlls/rasapi32/rasapi32.spec b/dlls/rasapi32/rasapi32.spec
index 08c750e..f2ce65e 100644
--- a/dlls/rasapi32/rasapi32.spec
+++ b/dlls/rasapi32/rasapi32.spec
@@ -64,6 +64,8 @@
@ stdcall RasSetAutodialParamW(long ptr long)
@ stub RasSetCredentialsA
@ stub RasSetCredentialsW
+@ stdcall RasSetCustomAuthDataA(str str ptr long)
+@ stdcall RasSetCustomAuthDataW(wstr wstr ptr long)
@ stdcall RasSetEntryDialParamsA(str ptr long)
@ stdcall RasSetEntryDialParamsW(wstr ptr long)
@ stdcall RasSetEntryPropertiesA(str str ptr long ptr long)
diff --git a/include/ras.h b/include/ras.h
index f9fad2e..9e5d564 100644
--- a/include/ras.h
+++ b/include/ras.h
@@ -493,6 +493,9 @@ DWORD WINAPI RasSetAutodialAddressW(LPCWSTR,DWORD,LPRASAUTODIALENTRYW,DWORD,DWOR
DWORD WINAPI RasSetAutodialParamA(DWORD,LPVOID,DWORD);
DWORD WINAPI RasSetAutodialParamW(DWORD,LPVOID,DWORD);
#define RasSetAutodialParam WINELIB_NAME_AW(RasSetAutodialParam)
+DWORD WINAPI RasSetCustomAuthDataA(const CHAR *,const CHAR *,BYTE *,DWORD);
+DWORD WINAPI RasSetCustomAuthDataW(const WCHAR *,const WCHAR *,BYTE *,DWORD);
+#define RasSetCustomAuthData WINELIB_NAME_AW(RasSetCustomAuthData)
DWORD WINAPI RasSetEntryDialParamsA(LPCSTR,LPRASDIALPARAMSA,BOOL);
DWORD WINAPI RasSetEntryDialParamsW(LPCWSTR,LPRASDIALPARAMSW,BOOL);
#define RasSetEntryDialParams WINELIB_NAME_AW(RasSetEntryDialParams)
More information about the wine-cvs
mailing list