Leaked source code of windows server 2003
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.

260 lines
7.7 KiB

  1. TITLE STRINGS - OEM dependent strings used by KERNEL
  2. include gpcont.inc ; SHERLOCK
  3. _DATA SEGMENT PARA PUBLIC 'DATA'
  4. _DATA ENDS
  5. DGROUP GROUP _DATA
  6. _INITTEXT SEGMENT WORD PUBLIC 'CODE'
  7. _INITTEXT ENDS
  8. _NRESTEXT SEGMENT WORD PUBLIC 'CODE'
  9. _NRESTEXT ENDS
  10. ASSUME DS:DGROUP
  11. _DATA SEGMENT PARA PUBLIC 'DATA'
  12. ; This is the caption string for the dialog box.
  13. public szDiskCap
  14. IF 0
  15. szDiskCap db 'Change Disk',0
  16. ELSE
  17. szDiskCap db 'File Error',0
  18. ENDIF
  19. ; This is the text for the "Cannot find xxxxxx" dialog box.
  20. ; It is printed:
  21. ;
  22. ; <szCannotFind1>filename<szCannotFind2>
  23. public szCannotFind1,szCannotFind2
  24. szCannotFind1 db "Cannot find ", 0
  25. szCannotFind2 db 0
  26. ; This is the text for fatal errors at boot time
  27. ; <szBootLoad>filename
  28. public szBootLoad
  29. szBootLoad db "Error loading ",0
  30. ; The following group of strings is used for the "Please insert disk with XXXX
  31. ; in drive X:" dialog box.
  32. ;
  33. ; These two strings form the dialog message it is:
  34. ;
  35. ; <szCannotFind1>filename<szInsert>
  36. IF 0
  37. public szInsert
  38. szInsert db ', Please insert in drive '
  39. ENDIF
  40. ;public drvlet
  41. ;drvlet db "X.",0
  42. if SHERLOCK
  43. public szGPCont ; GP fault continuation message
  44. szGPCont db "An error has occurred in your application.",10
  45. db "If you choose Ignore, you should save your work in a new file.",10
  46. db "If you choose Close, your application will terminate.",0
  47. endif
  48. public szDosVer
  49. szDosVer DB 'Incorrect MS-DOS version. MS-DOS 3.1 or greater required.',13,10,'$'
  50. ; Text for exceptions and faults lead to app termination.
  51. public szAbortCaption,szInModule,szAt
  52. public szNukeApp,szSnoozer,szGP,szSF,szII,szPF,szNP,szBlame,szLoad,szWillClose
  53. public szOutofSelectors
  54. szAbortCaption db "Application Error"
  55. db 0
  56. szBlame db "BOOT "
  57. db 0
  58. szSnoozer db " caused "
  59. db 0
  60. szInModule db " in", 10, "module <unknown>"
  61. db 0
  62. szAt db " at "
  63. db 0
  64. szNukeApp db ".", 10, 10, "Choose close. "
  65. db 0
  66. szWillClose db " will close."
  67. db 0
  68. szGP db "a General Protection Fault"
  69. db 0
  70. szD0 db "a Divide by Zero" ; not yet used
  71. db 0
  72. szSF db "a Stack Fault" ; not spec'ed
  73. db 0
  74. szII db "an Illegal Instruction" ; "Fault" ???
  75. db 0
  76. szPF db "a Page Fault"
  77. db 0
  78. szNP db "a Not Present Fault"
  79. db 0
  80. szAF db "an Application Fault" ; not yet used
  81. db 0
  82. szLoad db "Segment Load Failure"
  83. db 0
  84. szOutofSelectors db "Out of Selectors"
  85. db 0
  86. ; Text for dialog box when terminating an application
  87. public szAbort
  88. szAbort db "Closing current application.",0
  89. ; Text for dialog box when trying to run a compressed file
  90. public szBozo
  91. szBozo db "Cannot load compressed files",0
  92. ; This is the caption string for system error dialog boxes
  93. public syserr
  94. syserr db "System Error",0
  95. ; The following group of messages forms all of the messages used
  96. ; in the INT 24 dialog box.
  97. ;
  98. ; There are 7 messages which can be translated individually. The
  99. ; location of drvlet? and devenam? can be moved to any location
  100. ; within the string.
  101. public msgWriteProtect,drvlet1
  102. public msgCannotReadDrv,drvlet2
  103. public msgCannotWriteDrv,drvlet3
  104. public msgShare,drvlet4
  105. public msgNetError,drvlet5
  106. public msgCannotReadDev,devenam1
  107. public msgCannotWriteDev,devenam2
  108. public msgNoPrinter
  109. public msgNetErrorDev,devenam3
  110. msgWriteProtect db "Write-protected disk in drive "
  111. drvlet1 db "X.",0
  112. msgCannotReadDrv db "Cannot read from drive "
  113. drvlet2 db "X.",0
  114. msgCannotWriteDrv db "Cannot write to drive "
  115. drvlet3 db "X.",0
  116. msgShare db "Sharing violation on drive "
  117. drvlet4 db "X.",0
  118. msgNetError db "Network error on drive "
  119. drvlet5 db "X.",0
  120. msgCannotReadDev db "Cannot read from device "
  121. devenam1 db 8 dup (?)
  122. db 0
  123. msgCannotWriteDev db "Cannot write to device "
  124. devenam2 db 8 dup (?)
  125. db 0
  126. msgNetErrorDev db "Network error on device "
  127. devenam3 db 8 dup (?)
  128. db 0
  129. msgNoPrinter db "Printer not ready",0
  130. ifndef WINDEBUG
  131. public szExitStr1,szExitStr2
  132. szExitStr1 DB 7,13,10,'FatalExit code = ',0
  133. szExitStr2 DB ' stack overflow',13,10,0
  134. public szUndefDyn
  135. szUndefDyn db "Call to Undefined Dynalink",0
  136. public szFatalExit
  137. szFatalExit db "Application requested abnormal termination",0
  138. else
  139. public szDebugStr
  140. szDebugStr DB 'KERNEL: Failed loading - ',0 ; 0
  141. DB 'KERNEL: Failed loading new instance of - ',0 ; 1
  142. DB 'Error loading from resource file - ',0 ; 2
  143. DB 13,10,0 ; 3
  144. DB 7,13,10,'FatalExit code = ',0 ; 4
  145. DB ' stack overflow',0 ; 5
  146. DB 13,10,'Stack trace:',13,10,0 ; 6
  147. DB 7,13,10,'Abort, Break, Exit or Ignore? ',0 ; 7
  148. DB 'Invalid BP chain',7,13,10,0 ; 8
  149. DB ': ',0 ; 9
  150. DB 'Reentered FatalExit',7,13,10,0 ; 10
  151. DB 0
  152. public szFKE
  153. szFKE DB '*** Fatal Kernel Error ***',0
  154. endif
  155. ;** Diagnostic mode messages
  156. public szDiagStart, szCRLF, szLoadStart, szLoadSuccess, szLoadFail
  157. public szFailCode, szCodeString
  158. szDiagStart db '[boot]' ;lpCRLF must follow
  159. szCRLF db 0dh, 0ah, 0
  160. szLoadStart db 'LoadStart = ',0
  161. szLoadSuccess db 'LoadSuccess = ', 0
  162. szLoadFail db 'LoadFail = ', 0
  163. szFailCode db ' Failure code is ' ;szCodeString must follow
  164. szCodeString db '00', 0dh, 0ah, 0
  165. ifdef WINDEBUG
  166. public szInitSpew
  167. szInitSpew DB 'Diagnostic mode startup. Log file is: ', 0
  168. endif
  169. _DATA ENDS
  170. _INITTEXT SEGMENT WORD PUBLIC 'CODE'
  171. public szInadequate, szNoPMode, szNoGlobalInit
  172. public NoOpenFile, NoLoadHeader, szMissingMod, szPleaseDoIt
  173. ifdef WOW
  174. public szGenBootFail
  175. szNoPMode db "The Win16 Subsystem was unable to enter Protected Mode, DOSX.EXE must be in your AUTOEXEC.NT and present in your PATH.",0
  176. szMissingMod db "NTVDM KERNEL: Missing 16-bit system module",0
  177. szPleaseDoIt db "Please re-install the following module to your system32 directory:",13,10,9,9,0
  178. szInadequate db "NTVDM KERNEL: Inadequate DPMI Server",0
  179. szNoGlobalInit db "NTVDM KERNEL: Unable to initialize heap",0
  180. NoOpenFile db "NTVDM KERNEL: Unable to open KERNEL executable",0
  181. NoLoadHeader db "NTVDM KERNEL: Unable to load KERNEL EXE header",0
  182. szGenBootFail db "NTVDM KERNEL: Win16 Subsystem Initialization Failure",0
  183. else
  184. szInadequate db 'KERNEL: Inadequate DPMI Server',13,10,'$'
  185. szNoPMode db 'KERNEL: Unable to enter Protected Mode',13,10,'$'
  186. szNoGlobalInit db "KERNEL: Unable to initialize heap",13,10,'$'
  187. NoOpenFile db "KERNEL: Unable to open KERNEL executable"
  188. db 13, 10, '$'
  189. NoLoadHeader db "KERNEL: Unable to load KERNEL EXE header"
  190. db 13, 10, '$'
  191. endif
  192. _INITTEXT ENDS
  193. _NRESTEXT SEGMENT WORD PUBLIC 'CODE'
  194. ; This is the caption string for the protect mode dialog box.
  195. ;
  196. ; DO NOT CHANGE THE LENGTH OF THIS MESSAGE
  197. ;
  198. public szProtectCap,msgRealModeApp1,msgRealModeApp2
  199. szProtectCap db "Application Compatibility Warning",0
  200. msgRealModeApp1 db "The application you are about to run, ",0
  201. msgRealModeApp2 db ", was designed for a previous version of Windows.",0Dh,0Dh
  202. db "Obtain an updated version of the application that is compatible "
  203. db "with Windows version 3.0 and later.",13,13
  204. db "If you choose the OK button and start the application, compatibility "
  205. db "problems could cause the application or Windows to close unexpectedly.",0
  206. _NRESTEXT ENDS
  207. end