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.

107 lines
5.0 KiB

  1. #include "enduser.h"
  2. char *textCantLoadFont;
  3. char *textNoXmsManager;
  4. char *textXmsMemoryError;
  5. char *textFatalError1;
  6. char *textFatalError2;
  7. char *textReadFailedAtSector;
  8. char *textWriteFailedAtSector;
  9. char *textCantFindMasterDisk;
  10. char *textOOM;
  11. char *textCantOpenMasterDisk;
  12. char *textCantFindMPKBoot;
  13. char *textNoOsImages;
  14. char *textSelectLanguage;
  15. char *textConfirmLanguage1;
  16. char *textConfirmLanguage2;
  17. char *textRebootPrompt1;
  18. char *textRebootPrompt2;
  19. char *textSelectOsPrompt;
  20. char *textConfirmOs1;
  21. char *textConfirmOs2;
  22. char *textPleaseWaitRestoring;
  23. char *textValidatingImage;
  24. char *textChecksumFail;
  25. char *textChecksumOk;
  26. char *textLangName0,*textLangName1,*textLangName2,*textLangName3;
  27. char *textLangName4,*textLangName5,*textLangName6,*textLangName7;
  28. char *textLangName8,*textLangName9;
  29. char *textOsName0,*textOsName1,*textOsName2,*textOsName3,*textOsName4;
  30. char *textOsName5,*textOsName6,*textOsName7,*textOsName8,*textOsName9;
  31. char *textOsDesc0,*textOsDesc1,*textOsDesc2,*textOsDesc3,*textOsDesc4;
  32. char *textOsDesc5,*textOsDesc6,*textOsDesc7,*textOsDesc8,*textOsDesc9;
  33. MESSAGE_STRING TextMessages[] = { { &textCantLoadFont, 0 },
  34. { &textNoXmsManager, 1 },
  35. { &textXmsMemoryError, 2 },
  36. { &textFatalError1, 3 },
  37. { &textFatalError2, 4 },
  38. { &textReadFailedAtSector, 5 },
  39. { &textWriteFailedAtSector,6 },
  40. { &textCantFindMasterDisk, 7 },
  41. { &textOOM, 8 },
  42. { &textCantOpenMasterDisk, 9 },
  43. { &textCantFindMPKBoot, 10 },
  44. { &textNoOsImages, 11 },
  45. { &textSelectLanguage, 12 },
  46. { &textConfirmLanguage1, 13 },
  47. { &textConfirmLanguage2, 14 },
  48. { &textRebootPrompt1, 15 },
  49. { &textRebootPrompt2, 16 },
  50. { &textSelectOsPrompt, 17 },
  51. { &textConfirmOs1, 20 },
  52. { &textConfirmOs2, 21 },
  53. { &textPleaseWaitRestoring,24 },
  54. { &textValidatingImage, 25 },
  55. { &textChecksumFail, 26 },
  56. { &textChecksumOk, 27 },
  57. { &textLangName0, TEXT_LANGUAGE_NAME_BASE+0 },
  58. { &textLangName1, TEXT_LANGUAGE_NAME_BASE+1 },
  59. { &textLangName2, TEXT_LANGUAGE_NAME_BASE+2 },
  60. { &textLangName3, TEXT_LANGUAGE_NAME_BASE+3 },
  61. { &textLangName4, TEXT_LANGUAGE_NAME_BASE+4 },
  62. { &textLangName5, TEXT_LANGUAGE_NAME_BASE+5 },
  63. { &textLangName6, TEXT_LANGUAGE_NAME_BASE+6 },
  64. { &textLangName7, TEXT_LANGUAGE_NAME_BASE+7 },
  65. { &textLangName8, TEXT_LANGUAGE_NAME_BASE+8 },
  66. { &textLangName9, TEXT_LANGUAGE_NAME_BASE+9 },
  67. { &textOsName0, TEXT_OS_NAME_BASE+0 },
  68. { &textOsName1, TEXT_OS_NAME_BASE+1 },
  69. { &textOsName2, TEXT_OS_NAME_BASE+2 },
  70. { &textOsName3, TEXT_OS_NAME_BASE+3 },
  71. { &textOsName4, TEXT_OS_NAME_BASE+4 },
  72. { &textOsName5, TEXT_OS_NAME_BASE+5 },
  73. { &textOsName6, TEXT_OS_NAME_BASE+6 },
  74. { &textOsName7, TEXT_OS_NAME_BASE+7 },
  75. { &textOsName8, TEXT_OS_NAME_BASE+8 },
  76. { &textOsName9, TEXT_OS_NAME_BASE+9 },
  77. { &textOsDesc0, TEXT_OS_DESC_BASE+0 },
  78. { &textOsDesc1, TEXT_OS_DESC_BASE+1 },
  79. { &textOsDesc2, TEXT_OS_DESC_BASE+2 },
  80. { &textOsDesc3, TEXT_OS_DESC_BASE+3 },
  81. { &textOsDesc4, TEXT_OS_DESC_BASE+4 },
  82. { &textOsDesc5, TEXT_OS_DESC_BASE+5 },
  83. { &textOsDesc6, TEXT_OS_DESC_BASE+6 },
  84. { &textOsDesc7, TEXT_OS_DESC_BASE+7 },
  85. { &textOsDesc8, TEXT_OS_DESC_BASE+8 },
  86. { &textOsDesc9, TEXT_OS_DESC_BASE+9 }
  87. };
  88. unsigned
  89. GetTextCount(
  90. VOID
  91. )
  92. {
  93. return(sizeof(TextMessages)/sizeof(TextMessages[0]));
  94. }