From 09686ff589814a8220bf67f1e1c214cf612a2662 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Wed, 13 Jul 2016 10:30:54 +0200 Subject: [PATCH] credui: Add stub implementations of CredPackAuthenticationBufferW and CredUnpackAuthenticationBufferW. Signed-off-by: Hans Leidekker Signed-off-by: Alexandre Julliard --- dlls/credui/credui.spec | 2 ++ dlls/credui/credui_main.c | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/dlls/credui/credui.spec b/dlls/credui/credui.spec index bb2b408ce31..dd4bc751ef5 100644 --- a/dlls/credui/credui.spec +++ b/dlls/credui/credui.spec @@ -1,3 +1,4 @@ +@ stdcall CredPackAuthenticationBufferW(long wstr ptr ptr ptr) @ stub CredUICmdLinePromptForCredentialsA @ stub CredUICmdLinePromptForCredentialsW @ stub CredUIConfirmCredentialsA @@ -12,6 +13,7 @@ @ stdcall CredUIReadSSOCredW(wstr ptr) @ stdcall CredUIStoreSSOCredA(str str str long) @ stdcall CredUIStoreSSOCredW(wstr wstr wstr long) +@ stdcall CredUnPackAuthenticationBufferW(long ptr long ptr ptr ptr ptr ptr ptr) @ stub DllCanUnloadNow @ stub DllGetClassObject @ stub DllRegisterServer diff --git a/dlls/credui/credui_main.c b/dlls/credui/credui_main.c index d2a098e4048..c63983eafa3 100644 --- a/dlls/credui/credui_main.c +++ b/dlls/credui/credui_main.c @@ -941,3 +941,25 @@ DWORD WINAPI CredUIPromptForWindowsCredentialsW( CREDUI_INFOW *info, DWORD error out_buf, out_buf_size, save, flags ); return ERROR_CALL_NOT_IMPLEMENTED; } + +/****************************************************************************** + * CredPackAuthenticationBufferW [CREDUI.@] + */ +BOOL WINAPI CredPackAuthenticationBufferW( DWORD flags, WCHAR *username, WCHAR *password, BYTE *buf, + DWORD *size ) +{ + FIXME( "(%08x, %s, %p, %p, %p) stub\n", flags, debugstr_w(username), password, buf, size ); + return ERROR_CALL_NOT_IMPLEMENTED; +} + +/****************************************************************************** + * CredUnPackAuthenticationBufferW [CREDUI.@] + */ +BOOL WINAPI CredUnPackAuthenticationBufferW( DWORD flags, void *buf, DWORD size, WCHAR *username, + DWORD *len_username, WCHAR *domain, DWORD *len_domain, + WCHAR *password, DWORD *len_password ) +{ + FIXME( "(%08x, %p, %u, %p, %p, %p, %p, %p, %p) stub\n", flags, buf, size, username, len_username, + domain, len_domain, password, len_password ); + return ERROR_CALL_NOT_IMPLEMENTED; +}