|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include "msgina.h"#include <wingdi.h>#include <windowsx.h>#include <commctrl.h>#include <ndk/pofuncs.h>
Go to the source code of this file.
Classes | |
| struct | _SHUTDOWN_DLG_CONTEXT |
Typedefs | |
| typedef struct _SHUTDOWN_DLG_CONTEXT | SHUTDOWN_DLG_CONTEXT |
| typedef struct _SHUTDOWN_DLG_CONTEXT * | PSHUTDOWN_DLG_CONTEXT |
| #define BUTTON_REBOOT (CY_BITMAP + BUTTON_SHUTDOWN_FOCUSED) |
Definition at line 33 of file shutdown.c.
| #define BUTTON_REBOOT_FOCUSED (CY_BITMAP + BUTTON_REBOOT_PRESSED) |
Definition at line 35 of file shutdown.c.
| #define BUTTON_REBOOT_PRESSED (CY_BITMAP + BUTTON_REBOOT) |
Definition at line 34 of file shutdown.c.
| #define BUTTON_SHUTDOWN 0 |
Definition at line 30 of file shutdown.c.
| #define BUTTON_SHUTDOWN_FOCUSED (CY_BITMAP + BUTTON_SHUTDOWN_PRESSED) |
Definition at line 32 of file shutdown.c.
| #define BUTTON_SHUTDOWN_PRESSED (CY_BITMAP + BUTTON_SHUTDOWN) |
Definition at line 31 of file shutdown.c.
| #define BUTTON_SLEEP (CY_BITMAP + BUTTON_REBOOT_FOCUSED) |
Definition at line 36 of file shutdown.c.
| #define BUTTON_SLEEP_DISABLED (CY_BITMAP + BUTTON_SLEEP_FOCUSED) |
Definition at line 39 of file shutdown.c.
| #define BUTTON_SLEEP_FOCUSED (CY_BITMAP + BUTTON_SLEEP_PRESSED) |
Definition at line 38 of file shutdown.c.
| #define BUTTON_SLEEP_PRESSED (CY_BITMAP + BUTTON_SLEEP) |
Definition at line 37 of file shutdown.c.
| #define CX_BITMAP 33 |
Definition at line 24 of file shutdown.c.
| #define CY_BITMAP 33 |
Definition at line 25 of file shutdown.c.
Definition at line 20 of file shutdown.c.
| #define FONT_POINT_SIZE 13 |
Definition at line 18 of file shutdown.c.
| #define HIBERNATE_BUTTON_HOT 3 |
Definition at line 45 of file shutdown.c.
Definition at line 21 of file shutdown.c.
| #define NUMBER_OF_BUTTONS 4 |
Definition at line 27 of file shutdown.c.
| #define REBOOT_BUTTON_HOT 1 |
Definition at line 43 of file shutdown.c.
| #define SHUTDOWN_BUTTON_HOT 0 |
Definition at line 42 of file shutdown.c.
| #define SLEEP_BUTTON_HOT 2 |
Definition at line 44 of file shutdown.c.
| typedef struct _SHUTDOWN_DLG_CONTEXT * PSHUTDOWN_DLG_CONTEXT |
| VOID ChangeRequiredButton | ( | HWND | hDlg, |
| PSHUTDOWN_DLG_CONTEXT | pContext | ||
| ) |
Definition at line 624 of file shutdown.c.
Referenced by OnTimer().
| VOID CreateToolTipForButtons | ( | int | controlID, |
| int | detailID, | ||
| HWND | hDlg, | ||
| int | titleID, | ||
| HINSTANCE | hInst | ||
| ) |
Definition at line 565 of file shutdown.c.
Referenced by ShutdownOnFriendlyInit().
|
static |
Definition at line 359 of file shutdown.c.
Referenced by ShutdownDialogProc().
| VOID EndFriendlyDialog | ( | HWND | hDlg, |
| PSHUTDOWN_DLG_CONTEXT | pContext | ||
| ) |
Definition at line 600 of file shutdown.c.
Referenced by ShutdownDialogProc().
Definition at line 305 of file shutdown.c.
Referenced by ShellIsFriendlyUIActive().
Definition at line 808 of file shutdown.c.
Referenced by OnShutDown(), ShellShutdownDialog(), and ShutdownDialog().
| LONG GetPolicyDWORDValue | ( | _In_opt_ HKEY | hKeyCurrentUser, |
| _In_ PCWSTR | pPolicyKey, | ||
| _In_ PCWSTR | ValueName, | ||
| _Out_ PDWORD | pValue | ||
| ) |
Looks up a policy value on both HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER, under the same policy sub-key.
Definition at line 76 of file shutdown.c.
Referenced by GetAllowedShutdownOptions().
Definition at line 123 of file shutdown.c.
Referenced by ShutdownDialog().
Definition at line 259 of file shutdown.c.
Referenced by ShellIsFriendlyUIActive().
Definition at line 183 of file shutdown.c.
Referenced by ShellIsFriendlyUIActive().
Definition at line 267 of file shutdown.c.
Referenced by ShellIsFriendlyUIActive().
Definition at line 275 of file shutdown.c.
Referenced by ShutdownDialog().
Definition at line 696 of file shutdown.c.
Referenced by OnShutDown(), ShellShutdownDialog(), and ShutdownDialog().
| VOID OnTimer | ( | HWND | hDlg, |
| PSHUTDOWN_DLG_CONTEXT | pContext | ||
| ) |
Definition at line 677 of file shutdown.c.
|
static |
Definition at line 481 of file shutdown.c.
Referenced by ShutdownOnFriendlyInit().
Definition at line 759 of file shutdown.c.
Referenced by OnShutDown(), ShellShutdownDialog(), and ShutdownDialog().
Definition at line 467 of file shutdown.c.
Referenced by ShutdownDialog().
| DWORD WINAPI ShellShutdownDialog | ( | _In_ HWND | hWndParent, |
| _In_opt_ LPCWSTR | pUserName, | ||
| _In_ DWORD | dwExcludeOptions | ||
| ) |
Definition at line 1332 of file shutdown.c.
Referenced by ShellTurnOffDialog().
Definition at line 1447 of file shutdown.c.
Definition at line 1252 of file shutdown.c.
Referenced by OnShutDown(), and ShellShutdownDialog().
|
static |
Definition at line 1092 of file shutdown.c.
|
static |
Definition at line 926 of file shutdown.c.
Referenced by ShutdownOnInit().
|
static |
Definition at line 980 of file shutdown.c.
Referenced by ShutdownDialogProc().
|
static |
Definition at line 1076 of file shutdown.c.
Referenced by ShutdownDialogProc().
|
static |
Definition at line 872 of file shutdown.c.
Referenced by ShutdownDialogProc(), and ShutdownOnInit().