mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 04:30:57 +00:00
credui: Better match the PSDK types and fix the winapi_check warnings.
This commit is contained in:
parent
08734d5ba1
commit
4485b4506b
|
@ -140,7 +140,7 @@ DWORD WINAPI CredUIPromptForCredentialsW(PCREDUI_INFOW pUIInfo,
|
|||
PWSTR pszUsername,
|
||||
ULONG ulUsernameMaxChars,
|
||||
PWSTR pszPassword,
|
||||
ULONG ulPasswordMaxChars, BOOL *pfSave,
|
||||
ULONG ulPasswordMaxChars, PBOOL pfSave,
|
||||
DWORD dwFlags)
|
||||
{
|
||||
INT_PTR ret;
|
||||
|
|
|
@ -87,8 +87,8 @@ typedef struct _CREDUI_INFOW
|
|||
#define CREDUI_FLAGS_USERNAME_TARGET_CREDENTIALS 0x00080000
|
||||
#define CREDUI_FLAGS_KEEP_USERNAME 0x00100000
|
||||
|
||||
DWORD WINAPI CredUICmdLinePromptForCredentialsW(PCWSTR,PCWSTR,PCtxtHandle,DWORD,PWSTR,ULONG,PWSTR,ULONG,BOOL*,DWORD);
|
||||
DWORD WINAPI CredUICmdLinePromptForCredentialsA(PCSTR,PCSTR,PCtxtHandle,DWORD,PSTR,ULONG,PSTR,ULONG,BOOL*,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)
|
||||
DWORD WINAPI CredUIConfirmCredentialsW(PCWSTR,BOOL);
|
||||
DWORD WINAPI CredUIConfirmCredentialsA(PCSTR,BOOL);
|
||||
|
@ -96,8 +96,8 @@ DWORD WINAPI CredUIConfirmCredentialsA(PCSTR,BOOL);
|
|||
DWORD WINAPI CredUIParseUserNameW(PCWSTR,PWSTR,ULONG,PWSTR,ULONG);
|
||||
DWORD WINAPI CredUIParseUserNameA(PCSTR,PSTR,ULONG,PSTR,ULONG);
|
||||
#define CredUIParseUserName WINELIB_NAME_AW(CredUIParseUserName)
|
||||
DWORD WINAPI CredUIPromptForCredentialsW(PCREDUI_INFOW,PCWSTR,PCtxtHandle,DWORD,PWSTR,ULONG,PWSTR,ULONG,BOOL*,DWORD);
|
||||
DWORD WINAPI CredUIPromptForCredentialsA(PCREDUI_INFOA,PCSTR,PCtxtHandle,DWORD,PSTR,ULONG,PSTR,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,PBOOL,DWORD);
|
||||
#define CredUIPromptForCredentials WINELIB_NAME_AW(CredUIPromptForCredentials)
|
||||
DWORD WINAPI CredUIStoreSSOCredW(PCWSTR,PCWSTR,PCWSTR,BOOL);
|
||||
/* Note: no CredUIStoreSSOCredA in PSDK header */
|
||||
|
|
|
@ -634,6 +634,25 @@ ULONG_PTR
|
|||
LPDWORD
|
||||
PFNPROPSHEETUI
|
||||
|
||||
%%credui.dll
|
||||
|
||||
%long
|
||||
|
||||
BOOL
|
||||
DWORD
|
||||
ULONG
|
||||
|
||||
%ptr
|
||||
|
||||
PBOOL
|
||||
PCREDUI_INFOW
|
||||
PCtxtHandle
|
||||
|
||||
%wstr
|
||||
|
||||
PCWSTR
|
||||
PWSTR
|
||||
|
||||
%%crtdll.dll
|
||||
|
||||
%long
|
||||
|
|
Loading…
Reference in a new issue