Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
3aeb2f67
Commit
3aeb2f67
authored
Feb 09, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 09, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
credui: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a4087cec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
10 deletions
+9
-10
Makefile.in
dlls/credui/Makefile.in
+0
-1
credui_main.c
dlls/credui/credui_main.c
+9
-9
No files found.
dlls/credui/Makefile.in
View file @
3aeb2f67
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
credui.dll
IMPORTLIB
=
credui
IMPORTS
=
comctl32 user32 advapi32
...
...
dlls/credui/credui_main.c
View file @
3aeb2f67
...
...
@@ -67,7 +67,7 @@ static CRITICAL_SECTION csPendingCredentials = { &critsect_debug, -1, 0, 0, 0, 0
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
struct
pending_credentials
*
entry
,
*
cursor2
;
TRACE
(
"(0x%p, %d, %p)
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
TRACE
(
"(0x%p, %
l
d, %p)
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
switch
(
fdwReason
)
{
...
...
@@ -120,7 +120,7 @@ static DWORD save_credentials(PCWSTR pszTargetName, PCWSTR pszUsername,
else
{
DWORD
ret
=
GetLastError
();
ERR
(
"CredWriteW failed with error %d
\n
"
,
ret
);
ERR
(
"CredWriteW failed with error %
l
d
\n
"
,
ret
);
return
ret
;
}
}
...
...
@@ -566,7 +566,7 @@ static BOOL find_existing_credential(const WCHAR *target, WCHAR *username, ULONG
if
(
credentials
[
i
]
->
Type
!=
CRED_TYPE_DOMAIN_PASSWORD
&&
credentials
[
i
]
->
Type
!=
CRED_TYPE_GENERIC
)
{
FIXME
(
"no support for type %u credentials
\n
"
,
credentials
[
i
]
->
Type
);
FIXME
(
"no support for type %
l
u credentials
\n
"
,
credentials
[
i
]
->
Type
);
continue
;
}
if
((
!*
username
||
!
lstrcmpW
(
username
,
credentials
[
i
]
->
UserName
))
&&
...
...
@@ -604,7 +604,7 @@ DWORD WINAPI CredUIPromptForCredentialsW(PCREDUI_INFOW pUIInfo,
struct
cred_dialog_params
params
;
DWORD
result
=
ERROR_SUCCESS
;
TRACE
(
"(%p, %s, %p, %
d, %s, %d, %p, %d, %p, 0x%08
x)
\n
"
,
pUIInfo
,
TRACE
(
"(%p, %s, %p, %
ld, %s, %ld, %p, %ld, %p, 0x%08l
x)
\n
"
,
pUIInfo
,
debugstr_w
(
pszTargetName
),
Reserved
,
dwAuthError
,
debugstr_w
(
pszUsername
),
ulUsernameMaxChars
,
pszPassword
,
ulPasswordMaxChars
,
pfSave
,
dwFlags
);
...
...
@@ -758,7 +758,7 @@ DWORD WINAPI CredUIParseUserNameW(PCWSTR pszUserName, PWSTR pszUser,
{
PWSTR
p
;
TRACE
(
"(%s, %p, %
d, %p, %
d)
\n
"
,
debugstr_w
(
pszUserName
),
pszUser
,
TRACE
(
"(%s, %p, %
ld, %p, %l
d)
\n
"
,
debugstr_w
(
pszUserName
),
pszUser
,
ulMaxUserChars
,
pszDomain
,
ulMaxDomainChars
);
if
(
!
pszUserName
||
!
pszUser
||
!
ulMaxUserChars
||
!
pszDomain
||
...
...
@@ -873,7 +873,7 @@ ULONG SEC_ENTRY SspiPromptForCredentialsW( PCWSTR target, void *info,
CREDUI_INFOW
*
cred_info
=
info
;
SEC_WINNT_AUTH_IDENTITY_W
*
id
=
input_id
;
FIXME
(
"(%s, %p, %
u, %s, %p, %p, %p, %
x) stub
\n
"
,
debugstr_w
(
target
),
info
,
FIXME
(
"(%s, %p, %
lu, %s, %p, %p, %p, %l
x) stub
\n
"
,
debugstr_w
(
target
),
info
,
error
,
debugstr_w
(
package
),
input_id
,
output_id
,
save
,
sspi_flags
);
if
(
!
target
)
return
ERROR_INVALID_PARAMETER
;
...
...
@@ -967,7 +967,7 @@ DWORD WINAPI CredUIPromptForWindowsCredentialsW( CREDUI_INFOW *info, DWORD error
const
void
*
in_buf
,
ULONG
in_buf_size
,
void
**
out_buf
,
ULONG
*
out_buf_size
,
BOOL
*
save
,
DWORD
flags
)
{
FIXME
(
"(%p, %
u, %p, %p, %u, %p, %p, %p, %08
x) stub
\n
"
,
info
,
error
,
package
,
in_buf
,
in_buf_size
,
FIXME
(
"(%p, %
lu, %p, %p, %lu, %p, %p, %p, %08l
x) stub
\n
"
,
info
,
error
,
package
,
in_buf
,
in_buf_size
,
out_buf
,
out_buf_size
,
save
,
flags
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
...
...
@@ -978,7 +978,7 @@ DWORD WINAPI CredUIPromptForWindowsCredentialsW( CREDUI_INFOW *info, DWORD error
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
);
FIXME
(
"(%08
l
x, %s, %p, %p, %p) stub
\n
"
,
flags
,
debugstr_w
(
username
),
password
,
buf
,
size
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
...
...
@@ -989,7 +989,7 @@ BOOL WINAPI CredUnPackAuthenticationBufferW( DWORD flags, void *buf, DWORD size
DWORD
*
len_username
,
WCHAR
*
domain
,
DWORD
*
len_domain
,
WCHAR
*
password
,
DWORD
*
len_password
)
{
FIXME
(
"(%08
x, %p, %
u, %p, %p, %p, %p, %p, %p) stub
\n
"
,
flags
,
buf
,
size
,
username
,
len_username
,
FIXME
(
"(%08
lx, %p, %l
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
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment