[1/3] credui: Add a stub implementation of CredUIPromptForWindowsCredentialsW.
Hans Leidekker
hans at codeweavers.com
Wed Jul 13 03:30:53 CDT 2016
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
---
dlls/credui/credui.spec | 1 +
dlls/credui/credui_main.c | 12 ++++++++++++
include/wincred.h | 4 ++++
3 files changed, 17 insertions(+)
diff --git a/dlls/credui/credui.spec b/dlls/credui/credui.spec
index 891416c..bb2b408 100644
--- a/dlls/credui/credui.spec
+++ b/dlls/credui/credui.spec
@@ -7,6 +7,7 @@
@ stdcall CredUIParseUserNameW(wstr ptr long ptr long)
@ stub CredUIPromptForCredentialsA
@ stdcall CredUIPromptForCredentialsW(ptr wstr ptr long ptr long ptr long ptr long)
+@ stdcall CredUIPromptForWindowsCredentialsW(ptr long ptr ptr long ptr ptr ptr long)
@ stdcall CredUIReadSSOCredA(str ptr)
@ stdcall CredUIReadSSOCredW(wstr ptr)
@ stdcall CredUIStoreSSOCredA(str str str long)
diff --git a/dlls/credui/credui_main.c b/dlls/credui/credui_main.c
index beb3c58..d2a098e 100644
--- a/dlls/credui/credui_main.c
+++ b/dlls/credui/credui_main.c
@@ -929,3 +929,15 @@ ULONG SEC_ENTRY SspiPromptForCredentialsW( PCWSTR target, void *info,
return ret;
}
+
+/******************************************************************************
+ * CredUIPromptForWindowsCredentialsW [CREDUI.@]
+ */
+DWORD WINAPI CredUIPromptForWindowsCredentialsW( CREDUI_INFOW *info, DWORD error, ULONG *package,
+ const void *in_buf, ULONG in_buf_size, void **out_buf,
+ ULONG *out_buf_size, BOOL *save, DWORD flags )
+{
+ FIXME( "(%p, %u, %p, %p, %u, %p, %p, %p, %08x) stub\n", info, error, package, in_buf, in_buf_size,
+ out_buf, out_buf_size, save, flags );
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
diff --git a/include/wincred.h b/include/wincred.h
index f238c05..74fc16f 100644
--- a/include/wincred.h
+++ b/include/wincred.h
@@ -271,6 +271,8 @@ WINADVAPI BOOL WINAPI CredWriteA(PCREDENTIALA,DWORD);
WINADVAPI BOOL WINAPI CredWriteW(PCREDENTIALW,DWORD);
#define CredWrite WINELIB_NAME_AW(CredWrite)
+BOOL WINAPI CredPackAuthenticationBufferW(DWORD,LPWSTR,LPWSTR,PBYTE,DWORD *);
+BOOL WINAPI CredUnPackAuthenticationBufferW(DWORD,PVOID,DWORD,LPWSTR,DWORD *,LPWSTR,DWORD *,LPWSTR,DWORD *);
DWORD WINAPI CredUICmdLinePromptForCredentialsW(PCWSTR,PCtxtHandle,DWORD,PWSTR,ULONG,PWSTR,ULONG,PBOOL,DWORD);
DWORD WINAPI CredUICmdLinePromptForCredentialsA(PCSTR,PCtxtHandle,DWORD,PSTR,ULONG,PSTR,ULONG,PBOOL,DWORD);
#define CredUICmdLinePromptForCredentials WINELIB_NAME_AW(CredUICmdLinePromptForCredentials)
@@ -283,6 +285,8 @@ DWORD WINAPI CredUIParseUserNameA(PCSTR,PSTR,ULONG,PSTR,ULONG);
DWORD WINAPI CredUIPromptForCredentialsW(PCREDUI_INFOW,PCWSTR,PCtxtHandle,DWORD,PWSTR,ULONG,PWSTR,ULONG,PBOOL,DWORD);
DWORD WINAPI CredUIPromptForCredentialsA(PCREDUI_INFOA,PCSTR,PCtxtHandle,DWORD,PSTR,ULONG,PSTR,ULONG,PBOOL,DWORD);
#define CredUIPromptForCredentials WINELIB_NAME_AW(CredUIPromptForCredentials)
+DWORD WINAPI CredUIPromptForWindowsCredentialsW(PCREDUI_INFOW,DWORD,ULONG *,LPCVOID,ULONG,LPVOID *, ULONG *, BOOL *,
+ DWORD);
DWORD WINAPI CredUIStoreSSOCredW(PCWSTR,PCWSTR,PCWSTR,BOOL);
/* Note: no CredUIStoreSSOCredA in PSDK header */
DWORD WINAPI CredUIReadSSOCredW(PCWSTR,PWSTR*);
--
2.8.1
More information about the wine-patches
mailing list