ReactOS 0.4.16-dev-257-g6aa11ac
|
Go to the source code of this file.
Classes | |
struct | _SYS_SHUTDOWN_PARAMS |
Macros | |
#define | SHUTDOWN_TIMER_ID 2000 |
#define | SECONDS_PER_DAY 86400 |
#define | SECONDS_PER_DECADE 315360000 |
Typedefs | |
typedef struct _SYS_SHUTDOWN_PARAMS | SYS_SHUTDOWN_PARAMS |
typedef struct _SYS_SHUTDOWN_PARAMS * | PSYS_SHUTDOWN_PARAMS |
Functions | |
static BOOL | DoSystemShutdown (IN PSYS_SHUTDOWN_PARAMS pShutdownParams) |
static VOID | OnTimer (IN HWND hwndDlg, IN PSYS_SHUTDOWN_PARAMS pShutdownParams) |
static INT_PTR CALLBACK | ShutdownDialogProc (IN HWND hwndDlg, IN UINT uMsg, IN WPARAM wParam, IN LPARAM lParam) |
static DWORD WINAPI | InitiateSystemShutdownThread (IN LPVOID lpParameter) |
DWORD | TerminateSystemShutdown (VOID) |
DWORD | StartSystemShutdown (IN PUNICODE_STRING pMessage, IN ULONG dwTimeout, IN BOOLEAN bForceAppsClosed, IN BOOLEAN bRebootAfterShutdown, IN ULONG dwReason) |
Variables | |
SYS_SHUTDOWN_PARAMS | g_ShutdownParams |
#define SECONDS_PER_DAY 86400 |
Definition at line 21 of file shutdown.c.
#define SECONDS_PER_DECADE 315360000 |
Definition at line 22 of file shutdown.c.
#define SHUTDOWN_TIMER_ID 2000 |
Definition at line 20 of file shutdown.c.
typedef struct _SYS_SHUTDOWN_PARAMS * PSYS_SHUTDOWN_PARAMS |
|
static |
Definition at line 49 of file shutdown.c.
Referenced by InitiateSystemShutdownThread(), and StartSystemShutdown().
Definition at line 231 of file shutdown.c.
Referenced by StartSystemShutdown().
|
static |
Definition at line 72 of file shutdown.c.
Referenced by ShutdownDialogProc().
|
static |
Definition at line 171 of file shutdown.c.
Referenced by InitiateSystemShutdownThread(), and ShutdownDialog().
DWORD StartSystemShutdown | ( | IN PUNICODE_STRING | pMessage, |
IN ULONG | dwTimeout, | ||
IN BOOLEAN | bForceAppsClosed, | ||
IN BOOLEAN | bRebootAfterShutdown, | ||
IN ULONG | dwReason | ||
) |
Definition at line 337 of file shutdown.c.
Referenced by BaseInitiateSystemShutdownEx().
Definition at line 328 of file shutdown.c.
Referenced by BaseAbortSystemShutdown().
SYS_SHUTDOWN_PARAMS g_ShutdownParams |
Definition at line 43 of file shutdown.c.
Referenced by StartSystemShutdown(), and TerminateSystemShutdown().