#include "precomp.h"
Go to the source code of this file.
Defines | |
#define | OPTIONMASK (EWX_SHUTDOWN | EWX_REBOOT | EWX_FORCE) |
Functions | |
BOOL | PrepareForLogoff (UINT uFlags) |
BOOL | NotifyLogon (PWINDOWSTATION pwinsta, PLUID pluidCaller, DWORD dwFlags, NTSTATUS StatusCode) |
NTSTATUS | InitiateShutdown (PETHREAD Thread, PULONG lpdwFlags) |
NTSTATUS | EndShutdown (PETHREAD Thread, NTSTATUS StatusShutdown) |
LONG | xxxClientShutdown2 (PBWL pbwl, UINT msg, WPARAM wParam) |
LONG | xxxClientShutdown (PWND pwnd, WPARAM wParam) |
BOOL | xxxRegisterUserHungAppHandlers (PFNW32ET pfnW32EndTask, HANDLE hEventWowExec) |
Variables | |
PWINDOWSTATION | gpwinstaLogoff |
DWORD | gdwLocks |
DWORD | gdwShutdownFlags |
HANDLE | gpidEndSession |
PSECURITY_DESCRIPTOR | gpsdInitWinSta |
|
Definition at line 16 of file kernel/exitwin.c. Referenced by InitiateShutdown(). |
|
Definition at line 324 of file kernel/exitwin.c. References _PostThreadMessage(), CLEAR_PUDF, tagWINDOWSTATION::dwWSF_Flags, EnterCrit, FALSE, ForceEmptyClipboard(), gdwLocks, gdwShutdownFlags, gdwThreadEndSession, GetProcessLuid(), gpidEndSession, gptiShutdownNotify, gpwinstaLogoff, LeaveCrit, tagWINDOWSTATION::luidUser, NotifyLogon(), NT_SUCCESS, NTSTATUS(), NULL, tagWINDOWSTATION::pGlobalAtomTable, tagDESKTOP::pheapDesktop, PUDF_FONTSARELOADED, tagWINDOWSTATION::rpdeskList, tagDESKTOP::rpdeskNext, RtlEmptyAtomTable(), RtlEqualLuid(), RtlZeroHeap(), TEST_PUDF, WSF_OPENLOCK, and WSF_SHUTDOWN. Referenced by xxxSetInformationThread().
|
|
Definition at line 119 of file kernel/exitwin.c. References tagPROCESSINFO::amwinsta, _ETHREAD::Cid, tagTHREADINFO::cWindows, dwFlags, DWORD, tagWINDOWSTATION::dwWSF_Flags, gdwLocks, gdwShutdownFlags, gdwThreadEndSession, GetProcessLuid(), gpidEndSession, gpidLogon, gptiShutdownNotify, gpwinstaLogoff, tagPROCESSINFO::hwinsta, IsPrivileged(), tagWINDOWSTATION::luidEndSession, luidSystem, NotifyLogon(), NT_SUCCESS, NTSTATUS(), NULL, OPTIONMASK, PpiFromProcess, PsGetCurrentThread, PtiFromThread, tagPROCESSINFO::rpwinsta, RtlAreAllAccessesGranted(), RtlEqualLuid(), Status, THREAD_TO_PROCESS, TIF_16BIT, tagTHREADINFO::TIF_flags, WSF_NOIO, WSF_OPENLOCK, WSF_REALSHUTDOWN, WSF_SHUTDOWN, and WSF_SWITCHLOCK. Referenced by xxxSetInformationThread().
|
|
Definition at line 77 of file kernel/exitwin.c. References _PostMessage(), BOOL, dwFlags, DWORD, FALSE, gspwndLogonNotify, luidSystem, tagWINDOWSTATION::luidUser, NULL, RtlEqualLuid(), and TRUE. Referenced by EndShutdown(), and InitiateShutdown().
|
|
Definition at line 33 of file kernel/exitwin.c. References BOOL, CheckCritIn, CreateProfileUserName(), FALSE, FreeProfileUserName(), gpidLogon, NULL, tagTHREADINFO::ppi, PtiCurrent, PW32JOB, tagPROCESSINFO::pW32Job, RegisterPerUserKeyboardIndicators(), tagW32JOB::restrictions, tagTHREADINFO::TIF_flags, TIF_RESTRICTED, and TRUE.
|
|
Definition at line 521 of file kernel/exitwin.c. References BuildHwndList(), BWL_ENUMLIST, FreeHwndList(), GETPTI, NULL, tagDESKTOP::pDeskInfo, tagTHREADINFO::rpdesk, tagDESKTOPINFO::spwnd, tagWND::spwndChild, WMCS_QUERYEND, WMCSR_ALLOWSHUTDOWN, WMCSR_DONE, and xxxClientShutdown2(). Referenced by xxxDefWindowProc().
|
|
Definition at line 428 of file kernel/exitwin.c. References BOOL, DestroyWindowsTimers(), FALSE, gptiShutdownNotify, msg, NULL, PtiCurrent, RevalidateHwnd, tagBWL::rghwnd, ThreadLockAlways, ThreadUnlock, TRUE, WMCS_CONTEXTLOGOFF, WMCS_EXIT, WMCSR_ALLOWSHUTDOWN, WMCSR_CANCEL, and xxxSendMessage(). Referenced by xxxClientShutdown().
|
|
Definition at line 565 of file kernel/exitwin.c. References BOOL, ExEventObjectType, FALSE, gpwpiFirstWow, tagWOWPROCESSINFO::hEventWowExecClient, tagWOWPROCESSINFO::lpfnWowExitTask, NT_SUCCESS, NULL, ObReferenceObjectByHandle(), tagWOWPROCESSINFO::pEventWowExec, PpiCurrent, PWOWPROCESSINFO, tagPROCESSINFO::pwpi, tagWOWPROCESSINFO::pwpiNext, UserMode, and WOWPROCESSINFO.
|
|
Definition at line 22 of file kernel/exitwin.c. Referenced by EndShutdown(), and InitiateShutdown(). |
|
Definition at line 23 of file kernel/exitwin.c. Referenced by EndShutdown(), and InitiateShutdown(). |
|
Definition at line 24 of file kernel/exitwin.c. Referenced by EndShutdown(), and InitiateShutdown(). |
|
Definition at line 26 of file kernel/exitwin.c. Referenced by InitCreateObjectDirectory(), InitSecurity(), and Win32kNtUserCleanup(). |
|
Definition at line 21 of file kernel/exitwin.c. Referenced by EndShutdown(), and InitiateShutdown(). |