rasapi32: Add RasSetCredentialsA/W stubs.

Based on a patch by Oleg Dubinskiy.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49726
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 84d85a3d72)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
This commit is contained in:
Alex Henrie 2021-08-03 23:40:55 -06:00 committed by Michael Stefaniuc
parent 10646cd4e0
commit 60284543da
2 changed files with 14 additions and 2 deletions

View File

@ -496,6 +496,18 @@ DWORD WINAPI RasRenameEntryW(LPCWSTR lpszPhonebook, LPCWSTR lpszOldEntry, LPCWST
return 0;
}
DWORD WINAPI RasSetCredentialsA(const char *phonebook, const char *entry, RASCREDENTIALSA *credentials, BOOL clear)
{
FIXME("(%s,%s,%p,0x%x), stub!\n", debugstr_a(phonebook), debugstr_a(entry), credentials, clear);
return ERROR_UNKNOWN;
}
DWORD WINAPI RasSetCredentialsW(const WCHAR *phonebook, const WCHAR *entry, RASCREDENTIALSW *credentials, BOOL clear)
{
FIXME("(%s,%s,%p,0x%x), stub!\n", debugstr_w(phonebook), debugstr_w(entry), credentials, clear);
return ERROR_UNKNOWN;
}
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);

View File

@ -64,8 +64,8 @@
@ stdcall RasSetAutodialEnableW(long long)
@ stdcall RasSetAutodialParamA(long ptr long)
@ stdcall RasSetAutodialParamW(long ptr long)
@ stub RasSetCredentialsA
@ stub RasSetCredentialsW
@ stdcall RasSetCredentialsA(str str ptr long)
@ stdcall RasSetCredentialsW(wstr wstr ptr long)
@ stdcall RasSetCustomAuthDataA(str str ptr long)
@ stdcall RasSetCustomAuthDataW(wstr wstr ptr long)
@ stdcall RasSetEntryDialParamsA(str ptr long)