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.

84 lines
2.6 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. menu.h
  5. Abstract:
  6. Revision History:
  7. Jeff Sigman 05/01/00 Created
  8. Jeff Sigman 05/10/00 Version 1.5 released
  9. Jeff Sigman 10/18/00 Fix for Soft81 bug(s)
  10. --*/
  11. #ifndef __MENU_H__
  12. #define __MENU_H__
  13. #if _MSC_VER > 1000
  14. #pragma once
  15. #endif // _MSC_VER > 1000
  16. #define HIGHLT_MAIN_INIT 1
  17. #define HIGHLT_MAIN_LOOP 2
  18. #define HIGHLT_ADVND_INIT 3
  19. #define HIGHLT_ADVND_LOOP 4
  20. #define BL_SELECT_OS L"Please select the operating system to start:"
  21. #define BL_MOVE_HIGHLIGHT1 L"Use "
  22. #define BL_MOVE_HIGHLIGHT2 L" and "
  23. #define BL_MOVE_HIGHLIGHT3 L" to move the highlight to your choice.\nPress Enter to choose."
  24. #define BL_TIMEOUT_COUNTDOWN L"Seconds until highlighted choice will be started automatically: "
  25. #define BL_ADVANCED_BOOT_MESSAGE L"For troubleshooting and advanced startup options for Windows 2000, press F8."
  26. #define BL_ENABLED_KD_TITLE L" [debugger enabled]"
  27. #define BL_ADVANCEDBOOT_TITLE L"Windows 2000 Advanced Options Menu\nPlease select an option:"
  28. #define BL_SAFEBOOT_OPTION1 L"Safe Mode"
  29. #define BL_SAFEBOOT_OPTION2 L"Safe Mode with Networking"
  30. #define BL_SAFEBOOT_OPTION4 L"Safe Mode with Command Prompt"
  31. #define BL_SAFEBOOT_OPTION6 L"Directory Services Restore Mode (Windows 2000 domain controllers only)"
  32. #define BL_BOOTLOG L"Enable Boot Logging"
  33. #define BL_BASEVIDEO L"Enable VGA Mode"
  34. #define BL_LASTKNOWNGOOD_OPTION L"Last Known Good Configuration"
  35. #define BL_DEBUG_OPTION L"Debugging Mode"
  36. #define BL_MSG_BOOT_NORMALLY L"Boot Normally"
  37. #define BL_MSG_OSCHOICES_MENU L"Return to OS Choices Menu"
  38. #define BL_SAFEBOOT_OPTION1M "SAFEBOOT:MINIMAL SOS BOOTLOG NOGUIBOOT"
  39. #define BL_SAFEBOOT_OPTION2M "SAFEBOOT:NETWORK SOS BOOTLOG NOGUIBOOT"
  40. #define BL_SAFEBOOT_OPTION4M "SAFEBOOT:MINIMAL(ALTERNATESHELL) SOS BOOTLOG NOGUIBOOT"
  41. #define BL_SAFEBOOT_OPTION6M "SAFEBOOT:DSREPAIR SOS"
  42. #define BL_BOOTLOGM "BOOTLOG"
  43. #define BL_BASEVIDEOM "BASEVIDEO"
  44. #define BL_DEBUG_OPTIONM "DEBUG"
  45. #define BL_DEBUG_NONE "NODEBUG"
  46. #define BL_EXIT_EFI1 "Exit"
  47. #define BL_EXIT_EFI2 "EFI Shell"
  48. #define BL_NUMBER_OF_LINES 10
  49. #define BL_MENU_ITEM 1
  50. #define BL_MENU_BLANK_LINE 2
  51. typedef struct _ADVANCEDBOOT_OPTIONS
  52. {
  53. UINTN MenuType;
  54. CHAR16* MsgId;
  55. char* LoadOptions;
  56. } ADVANCEDBOOT_OPTIONS, PADVANCEDBOOT_OPTIONS;
  57. char*
  58. FindAdvLoadOptions(
  59. IN char* String
  60. );
  61. UINTN
  62. DisplayMenu(
  63. IN VOID* hBootData
  64. );
  65. #endif //__MENU_H__