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
61171a5f
Commit
61171a5f
authored
Apr 18, 2018
by
Hans Leidekker
Committed by
Alexandre Julliard
Apr 18, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Return a handle from LsaRegisterLogonProcess.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d5a83ce6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
11 deletions
+20
-11
lsa.c
dlls/secur32/lsa.c
+20
-11
No files found.
dlls/secur32/lsa.c
View file @
61171a5f
...
...
@@ -88,18 +88,34 @@ NTSTATUS WINAPI LsaCallAuthenticationPackage(HANDLE lsa_handle, ULONG package_id
return
STATUS_INVALID_PARAMETER
;
}
struct
lsa_connection
*
alloc_lsa_connection
(
void
)
{
struct
lsa_connection
*
ret
;
if
(
!
(
ret
=
heap_alloc
(
sizeof
(
*
ret
))))
return
NULL
;
ret
->
magic
=
LSA_MAGIC
;
return
ret
;
}
NTSTATUS
WINAPI
LsaConnectUntrusted
(
PHANDLE
LsaHandle
)
{
struct
lsa_connection
*
lsa_conn
;
TRACE
(
"%p
\n
"
,
LsaHandle
);
lsa_conn
=
heap_alloc
(
sizeof
(
*
lsa_conn
));
if
(
!
lsa_conn
)
return
STATUS_NO_MEMORY
;
lsa_conn
->
magic
=
LSA_MAGIC
;
if
(
!
(
lsa_conn
=
alloc_lsa_connection
()))
return
STATUS_NO_MEMORY
;
*
LsaHandle
=
lsa_conn
;
return
STATUS_SUCCESS
;
}
NTSTATUS
WINAPI
LsaRegisterLogonProcess
(
PLSA_STRING
LogonProcessName
,
PHANDLE
LsaHandle
,
PLSA_OPERATIONAL_MODE
SecurityMode
)
{
struct
lsa_connection
*
lsa_conn
;
FIXME
(
"%s %p %p stub
\n
"
,
debugstr_as
(
LogonProcessName
),
LsaHandle
,
SecurityMode
);
if
(
!
(
lsa_conn
=
alloc_lsa_connection
()))
return
STATUS_NO_MEMORY
;
*
LsaHandle
=
lsa_conn
;
return
STATUS_SUCCESS
;
}
...
...
@@ -923,10 +939,3 @@ NTSTATUS WINAPI LsaLookupAuthenticationPackage(HANDLE lsa_handle,
return
STATUS_UNSUCCESSFUL
;
/* FIXME */
}
NTSTATUS
WINAPI
LsaRegisterLogonProcess
(
PLSA_STRING
LogonProcessName
,
PHANDLE
LsaHandle
,
PLSA_OPERATIONAL_MODE
SecurityMode
)
{
FIXME
(
"%p %p %p stub
\n
"
,
LogonProcessName
,
LsaHandle
,
SecurityMode
);
return
STATUS_SUCCESS
;
}
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