Commit 4485b450 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

credui: Better match the PSDK types and fix the winapi_check warnings.

parent 08734d5b
...@@ -140,7 +140,7 @@ DWORD WINAPI CredUIPromptForCredentialsW(PCREDUI_INFOW pUIInfo, ...@@ -140,7 +140,7 @@ DWORD WINAPI CredUIPromptForCredentialsW(PCREDUI_INFOW pUIInfo,
PWSTR pszUsername, PWSTR pszUsername,
ULONG ulUsernameMaxChars, ULONG ulUsernameMaxChars,
PWSTR pszPassword, PWSTR pszPassword,
ULONG ulPasswordMaxChars, BOOL *pfSave, ULONG ulPasswordMaxChars, PBOOL pfSave,
DWORD dwFlags) DWORD dwFlags)
{ {
INT_PTR ret; INT_PTR ret;
......
...@@ -87,8 +87,8 @@ typedef struct _CREDUI_INFOW ...@@ -87,8 +87,8 @@ typedef struct _CREDUI_INFOW
#define CREDUI_FLAGS_USERNAME_TARGET_CREDENTIALS 0x00080000 #define CREDUI_FLAGS_USERNAME_TARGET_CREDENTIALS 0x00080000
#define CREDUI_FLAGS_KEEP_USERNAME 0x00100000 #define CREDUI_FLAGS_KEEP_USERNAME 0x00100000
DWORD WINAPI CredUICmdLinePromptForCredentialsW(PCWSTR,PCWSTR,PCtxtHandle,DWORD,PWSTR,ULONG,PWSTR,ULONG,BOOL*,DWORD); DWORD WINAPI CredUICmdLinePromptForCredentialsW(PCWSTR,PCtxtHandle,DWORD,PWSTR,ULONG,PWSTR,ULONG,PBOOL,DWORD);
DWORD WINAPI CredUICmdLinePromptForCredentialsA(PCSTR,PCSTR,PCtxtHandle,DWORD,PSTR,ULONG,PSTR,ULONG,BOOL*,DWORD); DWORD WINAPI CredUICmdLinePromptForCredentialsA(PCSTR,PCtxtHandle,DWORD,PSTR,ULONG,PSTR,ULONG,PBOOL,DWORD);
#define CredUICmdLinePromptForCredentials WINELIB_NAME_AW(CredUICmdLinePromptForCredentials) #define CredUICmdLinePromptForCredentials WINELIB_NAME_AW(CredUICmdLinePromptForCredentials)
DWORD WINAPI CredUIConfirmCredentialsW(PCWSTR,BOOL); DWORD WINAPI CredUIConfirmCredentialsW(PCWSTR,BOOL);
DWORD WINAPI CredUIConfirmCredentialsA(PCSTR,BOOL); DWORD WINAPI CredUIConfirmCredentialsA(PCSTR,BOOL);
...@@ -96,8 +96,8 @@ DWORD WINAPI CredUIConfirmCredentialsA(PCSTR,BOOL); ...@@ -96,8 +96,8 @@ DWORD WINAPI CredUIConfirmCredentialsA(PCSTR,BOOL);
DWORD WINAPI CredUIParseUserNameW(PCWSTR,PWSTR,ULONG,PWSTR,ULONG); DWORD WINAPI CredUIParseUserNameW(PCWSTR,PWSTR,ULONG,PWSTR,ULONG);
DWORD WINAPI CredUIParseUserNameA(PCSTR,PSTR,ULONG,PSTR,ULONG); DWORD WINAPI CredUIParseUserNameA(PCSTR,PSTR,ULONG,PSTR,ULONG);
#define CredUIParseUserName WINELIB_NAME_AW(CredUIParseUserName) #define CredUIParseUserName WINELIB_NAME_AW(CredUIParseUserName)
DWORD WINAPI CredUIPromptForCredentialsW(PCREDUI_INFOW,PCWSTR,PCtxtHandle,DWORD,PWSTR,ULONG,PWSTR,ULONG,BOOL*,DWORD); 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,BOOL*,DWORD); DWORD WINAPI CredUIPromptForCredentialsA(PCREDUI_INFOA,PCSTR,PCtxtHandle,DWORD,PSTR,ULONG,PSTR,ULONG,PBOOL,DWORD);
#define CredUIPromptForCredentials WINELIB_NAME_AW(CredUIPromptForCredentials) #define CredUIPromptForCredentials WINELIB_NAME_AW(CredUIPromptForCredentials)
DWORD WINAPI CredUIStoreSSOCredW(PCWSTR,PCWSTR,PCWSTR,BOOL); DWORD WINAPI CredUIStoreSSOCredW(PCWSTR,PCWSTR,PCWSTR,BOOL);
/* Note: no CredUIStoreSSOCredA in PSDK header */ /* Note: no CredUIStoreSSOCredA in PSDK header */
......
...@@ -634,6 +634,25 @@ ULONG_PTR ...@@ -634,6 +634,25 @@ ULONG_PTR
LPDWORD LPDWORD
PFNPROPSHEETUI PFNPROPSHEETUI
%%credui.dll
%long
BOOL
DWORD
ULONG
%ptr
PBOOL
PCREDUI_INFOW
PCtxtHandle
%wstr
PCWSTR
PWSTR
%%crtdll.dll %%crtdll.dll
%long %long
......
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