ReactOS 0.4.16-dev-136-g52192f1
|
#include "usersrv.h"
#include <commctrl.h>
#include <psapi.h>
#include "resource.h"
#include <debug.h>
Go to the source code of this file.
Classes | |
struct | tagNOTIFY_CONTEXT |
struct | tagMESSAGE_CONTEXT |
Typedefs | |
typedef struct tagNOTIFY_CONTEXT | NOTIFY_CONTEXT |
typedef struct tagNOTIFY_CONTEXT * | PNOTIFY_CONTEXT |
typedef void(WINAPI * | INITCOMMONCONTROLS_PROC) (void) |
typedef struct tagMESSAGE_CONTEXT | MESSAGE_CONTEXT |
typedef struct tagMESSAGE_CONTEXT * | PMESSAGE_CONTEXT |
Functions | |
static VOID | CallInitCommonControls (VOID) |
static VOID FASTCALL | UpdateProgressBar (HWND ProgressBar, PNOTIFY_CONTEXT NotifyContext) |
static INT_PTR CALLBACK | EndNowDlgProc (HWND Dlg, UINT Msg, WPARAM wParam, LPARAM lParam) |
static DWORD WINAPI | EndNowThreadProc (LPVOID Parameter) |
static DWORD WINAPI | SendClientShutdown (LPVOID Parameter) |
static BOOL | NotifyTopLevelWindow (HWND Wnd, PNOTIFY_CONTEXT NotifyContext) |
static BOOLEAN | IsConsoleMode (VOID) |
static BOOL | ThreadShutdownNotify (IN PCSR_THREAD CsrThread, IN ULONG Flags, IN ULONG Flags2, IN PNOTIFY_CONTEXT Context) |
static ULONG | NotifyUserProcessForShutdown (PCSR_PROCESS CsrProcess, PSHUTDOWN_SETTINGS ShutdownSettings, UINT Flags) |
static NTSTATUS FASTCALL | UserExitReactOS (PCSR_THREAD CsrThread, UINT Flags) |
ULONG NTAPI | UserClientShutdown (IN PCSR_PROCESS CsrProcess, IN ULONG Flags, IN BOOLEAN FirstPhase) |
CSR_API (SrvExitWindowsEx) | |
CSR_API (SrvEndTask) | |
CSR_API (SrvRecordShutdownReason) | |
Variables | |
static HMODULE | hComCtl32Lib = NULL |
Definition at line 32 of file shutdown.c.
Definition at line 33 of file shutdown.c.
#define NDEBUG |
Definition at line 18 of file shutdown.c.
#define QUERY_RESULT_ABORT 0 |
Definition at line 52 of file shutdown.c.
#define QUERY_RESULT_CONTINUE 1 |
Definition at line 53 of file shutdown.c.
#define QUERY_RESULT_ERROR 3 |
Definition at line 55 of file shutdown.c.
#define QUERY_RESULT_FORCE 4 |
Definition at line 56 of file shutdown.c.
#define QUERY_RESULT_TIMEOUT 2 |
Definition at line 54 of file shutdown.c.
#define SHUTDOWN_OTHERCONTEXT CsrShutdownOther |
Definition at line 28 of file shutdown.c.
#define SHUTDOWN_SYSTEMCONTEXT CsrShutdownSystem |
Definition at line 27 of file shutdown.c.
Definition at line 58 of file shutdown.c.
typedef struct tagMESSAGE_CONTEXT MESSAGE_CONTEXT |
typedef struct tagNOTIFY_CONTEXT NOTIFY_CONTEXT |
typedef struct tagMESSAGE_CONTEXT * PMESSAGE_CONTEXT |
typedef struct tagNOTIFY_CONTEXT * PNOTIFY_CONTEXT |
Definition at line 75 of file shutdown.c.
Referenced by EndNowThreadProc().
CSR_API | ( | SrvEndTask | ) |
Definition at line 827 of file shutdown.c.
CSR_API | ( | SrvExitWindowsEx | ) |
Definition at line 802 of file shutdown.c.
CSR_API | ( | SrvRecordShutdownReason | ) |
Definition at line 872 of file shutdown.c.
Definition at line 108 of file shutdown.c.
Referenced by EndNowThreadProc().
Definition at line 189 of file shutdown.c.
Referenced by NotifyTopLevelWindow().
|
static |
Definition at line 280 of file shutdown.c.
Referenced by ThreadShutdownNotify().
|
static |
Definition at line 488 of file shutdown.c.
Referenced by UserClientShutdown().
Definition at line 227 of file shutdown.c.
Referenced by NotifyTopLevelWindow().
|
static |
Definition at line 401 of file shutdown.c.
Referenced by NotifyUserProcessForShutdown().
|
static |
Definition at line 94 of file shutdown.c.
Referenced by EndNowDlgProc().
ULONG NTAPI UserClientShutdown | ( | IN PCSR_PROCESS | CsrProcess, |
IN ULONG | Flags, | ||
IN BOOLEAN | FirstPhase | ||
) |
Definition at line 732 of file shutdown.c.
Referenced by CSR_SERVER_DLL_INIT().
|
static |
Definition at line 610 of file shutdown.c.
Referenced by CSR_API().
Definition at line 72 of file shutdown.c.
Referenced by CallInitCommonControls().