[MSGINA] Close the user token in WlxLogoff

This commit is contained in:
Eric Kohl 2018-05-22 16:32:10 +02:00
parent c98b8dc98c
commit bab4d87ac8
2 changed files with 18 additions and 13 deletions

View file

@ -1012,6 +1012,24 @@ WlxIsLogoffOk(
return TRUE;
}
/*
* @implemented
*/
VOID WINAPI
WlxLogoff(
PVOID pWlxContext)
{
PGINA_CONTEXT pgContext = (PGINA_CONTEXT)pWlxContext;
TRACE("WlxLogoff(%p)\n", pWlxContext);
/* Close the user token */
CloseHandle(pgContext->UserToken);
pgContext->UserToken = NULL;
}
BOOL WINAPI
DllMain(
IN HINSTANCE hinstDLL,

View file

@ -25,19 +25,6 @@ WlxIsLockOk(
}
/*
* @unimplemented
*/
VOID WINAPI
WlxLogoff(
PVOID pWlxContext)
{
UNREFERENCED_PARAMETER(pWlxContext);
UNIMPLEMENTED;
}
/*
* @unimplemented
*/