Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
941 B

  1. //
  2. // The Shutdown Query dialog and Logoff Windows NT dialog
  3. // are shared by Progman (included in windows\shell\progman\progman.dlg),
  4. // and therefore changes to them or the filename should not be made
  5. // unless tested with Progman first.
  6. // This header file is included in windows\shell\progman\pmdlg.h
  7. //
  8. // 11/10/92 johannec
  9. //
  10. #define DLGSEL_LOGOFF 0
  11. #define DLGSEL_SHUTDOWN 1
  12. #define DLGSEL_SHUTDOWN_AND_RESTART 2
  13. #define DLGSEL_SHUTDOWN_AND_RESTART_DOS 3
  14. #define DLGSEL_SLEEP 4
  15. #define DLGSEL_SLEEP2 5
  16. #define DLGSEL_HIBERNATE 6
  17. #define WINLOGON_KEY L"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon"
  18. #define SHUTDOWN_SETTING_KEY L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer"
  19. #define SHUTDOWN_SETTING L"Shutdown Setting"
  20. #define REASON_SETTING L"Reason Setting"
  21. #define LOGON_USERNAME_SETTING L"Logon User Name"