mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:03:00 +00:00
[MSGINA] Close the LSA handle on shutdown
This commit is contained in:
parent
bab4d87ac8
commit
4c4c6e88b3
2 changed files with 23 additions and 15 deletions
|
@ -1030,6 +1030,29 @@ WlxLogoff(
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
|
VOID WINAPI
|
||||||
|
WlxShutdown(
|
||||||
|
PVOID pWlxContext,
|
||||||
|
DWORD ShutdownType)
|
||||||
|
{
|
||||||
|
PGINA_CONTEXT pgContext = (PGINA_CONTEXT)pWlxContext;
|
||||||
|
NTSTATUS Status;
|
||||||
|
|
||||||
|
TRACE("WlxShutdown(%p %lx)\n", pWlxContext, ShutdownType);
|
||||||
|
|
||||||
|
/* Close the LSA handle */
|
||||||
|
pgContext->AuthenticationPackage = 0;
|
||||||
|
Status = LsaDeregisterLogonProcess(pgContext->LsaHandle);
|
||||||
|
if (!NT_SUCCESS(Status))
|
||||||
|
{
|
||||||
|
ERR("LsaDeregisterLogonProcess failed (Status 0x%08lx)\n", Status);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
BOOL WINAPI
|
BOOL WINAPI
|
||||||
DllMain(
|
DllMain(
|
||||||
IN HINSTANCE hinstDLL,
|
IN HINSTANCE hinstDLL,
|
||||||
|
|
|
@ -25,21 +25,6 @@ WlxIsLockOk(
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* @unimplemented
|
|
||||||
*/
|
|
||||||
VOID WINAPI
|
|
||||||
WlxShutdown(
|
|
||||||
PVOID pWlxContext,
|
|
||||||
DWORD ShutdownType)
|
|
||||||
{
|
|
||||||
UNREFERENCED_PARAMETER(pWlxContext);
|
|
||||||
UNREFERENCED_PARAMETER(ShutdownType);
|
|
||||||
|
|
||||||
UNIMPLEMENTED;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue