Commit aa657e93 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

credui: Add proper parameter names to SSO stubs, and use symbolic return values.

parent ae89239c
...@@ -378,39 +378,43 @@ DWORD WINAPI CredUIParseUserNameW(PCWSTR pszUserName, PWSTR pszUser, ...@@ -378,39 +378,43 @@ DWORD WINAPI CredUIParseUserNameW(PCWSTR pszUserName, PWSTR pszUser,
/****************************************************************************** /******************************************************************************
* CredUIStoreSSOCredA [CREDUI.@] * CredUIStoreSSOCredA [CREDUI.@]
*/ */
DWORD WINAPI CredUIStoreSSOCredA(PCSTR a, PCSTR b, PCSTR c, BOOL f) DWORD WINAPI CredUIStoreSSOCredA(PCSTR pszRealm, PCSTR pszUsername,
PCSTR pszPassword, BOOL bPersist)
{ {
FIXME("(%s, %s, %s, %d)\n", debugstr_a(a), debugstr_a(b), debugstr_a(c), f); FIXME("(%s, %s, %p, %d)\n", debugstr_a(pszRealm), debugstr_a(pszUsername),
return 0; pszPassword, bPersist);
return ERROR_SUCCESS;
} }
/****************************************************************************** /******************************************************************************
* CredUIStoreSSOCredW [CREDUI.@] * CredUIStoreSSOCredW [CREDUI.@]
*/ */
DWORD WINAPI CredUIStoreSSOCredW(PCWSTR a, PCWSTR b, PCWSTR c, BOOL f) DWORD WINAPI CredUIStoreSSOCredW(PCWSTR pszRealm, PCWSTR pszUsername,
PCWSTR pszPassword, BOOL bPersist)
{ {
FIXME("(%s, %s, %s, %d)\n", debugstr_w(a), debugstr_w(b), debugstr_w(c), f); FIXME("(%s, %s, %p, %d)\n", debugstr_w(pszRealm), debugstr_w(pszUsername),
return 0; pszPassword, bPersist);
return ERROR_SUCCESS;
} }
/****************************************************************************** /******************************************************************************
* CredUIReadSSOCredA [CREDUI.@] * CredUIReadSSOCredA [CREDUI.@]
*/ */
DWORD WINAPI CredUIReadSSOCredA(PCSTR a, PSTR *b) DWORD WINAPI CredUIReadSSOCredA(PCSTR pszRealm, PSTR *ppszUsername)
{ {
FIXME("(%s, %p)\n", debugstr_a(a), b); FIXME("(%s, %p)\n", debugstr_a(pszRealm), ppszUsername);
if (b) if (ppszUsername)
*b = NULL; *ppszUsername = NULL;
return 0; return ERROR_NOT_FOUND;
} }
/****************************************************************************** /******************************************************************************
* CredUIReadSSOCredW [CREDUI.@] * CredUIReadSSOCredW [CREDUI.@]
*/ */
DWORD WINAPI CredUIReadSSOCredW(PCWSTR a, PWSTR *b) DWORD WINAPI CredUIReadSSOCredW(PCWSTR pszRealm, PWSTR *ppszUsername)
{ {
FIXME("(%s, %p)\n", debugstr_w(a), b); FIXME("(%s, %p)\n", debugstr_w(pszRealm), ppszUsername);
if (b) if (ppszUsername)
*b = NULL; *ppszUsername = NULL;
return 0; return ERROR_NOT_FOUND;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment