credui: Add stub for CredUIReadSSOCredW
Maarten Lankhorst
m.b.lankhorst at gmail.com
Fri May 25 11:47:48 CDT 2007
According to wine's headers, the *A version isn't in there, so not
adding a stub for it.
-------------- next part --------------
>From 5317b16c53fb871a767d40aae15efcf7c20d94f1 Mon Sep 17 00:00:00 2001
From: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date: Fri, 25 May 2007 18:38:39 +0200
Subject: [PATCH] credui: Add stub for CredUIReadSSOCredW
---
dlls/credui/credui.spec | 2 +-
dlls/credui/credui_main.c | 6 ++++++
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/dlls/credui/credui.spec b/dlls/credui/credui.spec
index 20146c7..105f535 100644
--- a/dlls/credui/credui.spec
+++ b/dlls/credui/credui.spec
@@ -8,7 +8,7 @@
@ stub CredUIPromptForCredentialsA
@ stdcall CredUIPromptForCredentialsW(ptr wstr ptr long ptr long ptr long ptr long)
@ stub CredUIReadSSOCredA
-@ stub CredUIReadSSOCredW
+@ stdcall CredUIReadSSOCredW(wstr ptr)
@ stub CredUIStoreSSOCredA
@ stub CredUIStoreSSOCredW
@ stub DllCanUnloadNow
diff --git a/dlls/credui/credui_main.c b/dlls/credui/credui_main.c
index 1d646f3..dbb85f1 100644
--- a/dlls/credui/credui_main.c
+++ b/dlls/credui/credui_main.c
@@ -249,3 +249,9 @@ DWORD WINAPI CredUIParseUserNameW(PCWSTR pszUserName, PWSTR pszUser,
return ERROR_SUCCESS;
}
+
+DWORD WINAPI CredUIReadSSOCredW(PCWSTR pszRealm, PWSTR* ppszUsername)
+{
+ FIXME("Stub, %s %p\n", debugstr_w(pszRealm), ppszUsername);
+ return ERROR_NOT_FOUND;
+}
--
1.4.4.2
More information about the wine-patches
mailing list