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.

250 lines
8.9 KiB

  1. /************************************************************/
  2. /* Windows Write, Copyright 1985-1992 Microsoft Corporation */
  3. /************************************************************/
  4. /* IDSTRs and IDPMTs are in 5 different groups,
  5. the high byte is for masking, see MB_ERRxxxx definitions */
  6. #define MB_ERRMASK 0xf000
  7. #define MB_ERRASTR 0x1000
  8. #define MB_ERREXCL 0x2000
  9. #define MB_ERRQUES 0x3000
  10. #define MB_ERRHAND 0x4000
  11. #ifndef NOSTRUNDO
  12. /* NONERROR group, from 0x0001 -- 0x0fff */
  13. /* Menu and Undo strings */
  14. #define IDSTRUndoBase 0x0001
  15. #define IDSTRUndoEdit 0x0002
  16. #define IDSTRUndoLook 0x0003
  17. #define IDSTRUndoTyping 0x0004
  18. #define IDSTRShowRuler 0x0005
  19. #define IDSTRHideRuler 0x0006
  20. #define IDSTRAbout 0x0007
  21. #define IDSTREdit 0x0008
  22. #define IDSTRCancel 0x0009
  23. #define IDSTRPopupVerbs 0x000A
  24. #define IDSTRSingleVerb 0x0010
  25. /* UNDO menu string lengths, including terminator */
  26. #define cchSzUndo (25)
  27. #endif /* NOSTRUNDO */
  28. #define IDSTRHELPF 0x000b
  29. #define IDSTRChangeSel 0x000c
  30. #define IDSTRChangeAll 0x000d
  31. #define IDSTRChPage 0x000e
  32. #define IDSTRLoading 0x000f
  33. #define IDSTROn 0x0013
  34. #define IDSTRReplaceFile 0x0016
  35. #define IDSTRChars 0x0017
  36. #define IDSTRSearching 0x0018
  37. #define IDS_MERGE1 0x0019
  38. #define IDSTRConvertText 0x001a
  39. #define IDSTRConvertWord 0x001b
  40. /* OLE strings */
  41. #if defined(OLE)
  42. #define IDSTRMenuVerb 0x0020
  43. #define IDSTRLinkProperties 0x0021
  44. #define IDSTRAuto 0x0022
  45. #define IDSTRManual 0x0023
  46. #define IDSTRFrozen 0x0024
  47. #define IDSTREmbedded 0x0025
  48. #define IDSTRFilter 0x0026
  49. #define IDSTRExtension 0x0027
  50. #define IDSTRAllFilter 0x0028
  51. #define IDSTRRename 0x0029
  52. #define IDSTRServer 0x002A
  53. #define IDSTRInsertfile 0x0032
  54. #define IDSTRChangelink 0x0033
  55. #define IDSTRUpdate 0x0034
  56. #define IDSTRMenuVerbP 0x0035
  57. #endif
  58. /* commdlg strings */
  59. #define IDSTROpenfile 0x0060
  60. #define IDSTRSavefile 0x0061
  61. #define IDSTRDefWriExtension 0x0062
  62. #define IDSTRDefDocExtension 0x0063
  63. #define IDSTRDefTxtExtension 0x0064
  64. #define IDSTRTxtDescr 0x0065
  65. #define IDSTRWriDescr 0x0066
  66. #define IDSTRDocDescr 0x0067
  67. #define IDSTRDocTextDescr 0x0068
  68. #define IDSTROldWriteDescr 0x0069
  69. #define IDSTRAllFilesDescr 0x006a
  70. #define IDSTRBitmap 0x006b
  71. #define IDSTRPicture 0x006c
  72. #define IDSTRDIB 0x006d
  73. #define IDSTRText 0x006e
  74. #define IDSTRBackup 0x006f
  75. #define IDSTRObject 0x0070
  76. #if defined(JAPAN) || defined(KOREA) /*t-Yoshio*/
  77. #define IDSTRZen1 0x0071
  78. #define IDSTRZen2 0x0072
  79. #endif
  80. /* See ErrorLevel() -- error messages are grouped as follows and then
  81. we can quickly determine the severity of an error */
  82. /***** FOLLOWING MESSAGES ARE "*" LEVEL MESSAGES */
  83. /* MB_ERRASTR group, from 0x1000 -- 0x1fff */
  84. #define IDPMTSearchDone 0x1000
  85. #define IDPMTNotFound 0x1001
  86. #define IDPMTNoReplace 0x1002
  87. #define IDPMTCancelSearch 0x1003
  88. /***** FOLLOWING MESSAGES ARE "?" LEVEL MESSAGES */
  89. /* MB_ERRQUES group, from 0x3000 -- 0x3fff */
  90. #define IDPMTAddFont 0x3000
  91. #define IDPMTTruncateSz 0x3001
  92. #define IDPMTConvert 0x3002
  93. #if defined(JAPAN) || defined(KOREA) // added 09 Jun. 1992 by Hiraisi
  94. #define IDPMTFontChange 0x3003
  95. #endif
  96. /***** FOLLOWING MESSAGES ARE "!" LEVEL MESSAGES */
  97. /* MB_ERREXCL group, from 0x2000 -- 0x2fff */
  98. #ifndef NOSTRERRORS
  99. #define IDPMTBadFileName 0x202c
  100. #define IDPMTRottenFile 0x202b
  101. #define IDPMTBadFile 0x2006
  102. #define IDPMTCantOpen 0x2019
  103. #define IDPMTDirtyDoc 0x201a
  104. #define IDPMTCantRunM 0x201b
  105. #define IDPMTCantRunF 0x2021
  106. #define IDPMTNoPath 0x201c
  107. #define IDPMTFileNotFound 0x201f
  108. #define IDPMTReadOnly 0x2020
  109. #define IDPMTCantRead 0x202d
  110. #define IDPMTDelObjects 0x2029
  111. #define IDPMTDelPicture 0x202a
  112. #define IDPMTRenameFail 0x2023
  113. #define IDPMTOverwrite 0x2026
  114. #define IDPMTCantShare 0x2027
  115. #if defined(OLE)
  116. #define IDPMTGetFromClipboardFailed 0x2102
  117. #define IDPMTFailedToFreeze 0x2103
  118. #define IDPMTFailedToLaunchServer 0x2104
  119. #define IDPMTFailedToActivate 0x2105
  120. #define IDPMTFailedToUpdate 0x2106
  121. #define IDPMTFailedToDeleteObject 0x2108
  122. #define IDPMTServerBusy 0x2109
  123. #define IDPMTFailedToUpdateLink 0x210b
  124. #define IDPMTImproperLinkOptionsError 0x210c
  125. #define IDPMTFailedToCommWithServer 0x210d
  126. #define IDPMTFailedToReadObject 0x210e
  127. #define IDPMTFailedToCreateObject 0x210f
  128. #define IDPMTFailedToDraw 0x2110
  129. #define IDPMTInsufficientResources 0x2111
  130. #define IDPMTOLEError 0x2112
  131. #define IDPMTFileContainsObjects 0x2113
  132. #define IDPMTFailedToLoadObject 0x2114
  133. #define IDSTRFinishObject 0x2115
  134. #define IDPMTLinkUnavailable 0x2116
  135. #define IDPMTFormat 0x2117
  136. #define IDPMTStatic 0x2118
  137. #define IDSTRUpdateObject 0x2119
  138. #define IDPMTLinksUnavailable 0x211b
  139. #define IDPMTCutOpenEmb 0x211c
  140. #define IDPMTExitOpenEmb 0x211d
  141. #define IDPMTSaveOpenEmb 0x211e
  142. #define IDPMTDeleteOpenEmb 0x211f
  143. #define IDPMTInsertOpenEmb 0x2120
  144. #endif
  145. /* Dialog field errors */
  146. #define IDPMTNoPage 0x2007
  147. #define IDPMTNOTNUM 0x2008
  148. #define IDPMTBFS 0x2009
  149. #define IDPMTNPI 0x200a
  150. #define IDPMTNOTDXA 0x200b
  151. #define IDPMTNPDXA 0x200c
  152. #define IDPMTMTL 0x200d
  153. #define IDPMTBadFilename 0x200e
  154. #define IDPMT2Complex 0x200f
  155. #define IDPMTBadMove 0x2010
  156. #define IDPMTDFULL 0x2012
  157. #define IDPMTPRFAIL 0x2013
  158. #define IDPMTClipLarge 0x2017
  159. #define IDPMTClipQuest 0x201e
  160. #define IDPMTBadPrinter 0x2018
  161. #define IDPMTCantPrint 0x2022
  162. #define IDPMTPrPictErr 0x2024
  163. #define IDPMTPrDiskErr 0x2025
  164. #define IDPMTDFULLScratch 0x2028
  165. /***** FOLLOWING MESSAGES ARE "<hand>" LEVEL MESSAGES */
  166. /* MB_ERRHAND group, from 0x4000 -- 0x4fff */
  167. #define IDPMTSDE 0x4000
  168. #define IDPMTSDN 0x4001
  169. #define IDPMTNoMemory 0x4002
  170. #define IDPMTSFER 0x4003
  171. #define IDPMTMEM 0x4004
  172. #define IDPMTWinFailure 0x4005
  173. #define IDPMTSDE2 0x4006
  174. #define IDPMTFloppyback 0x4007
  175. #define IDPMTFileback 0x4008
  176. #if defined(JAPAN) // added 01/21/93 T-HIROYN
  177. #define IDPMTNoMemorySel 0x4009
  178. #endif
  179. #endif /* NOSTRERRORS */
  180. /***** FOLLOWING MESSAGES ARE EX-GLOBDEFS.H MESSAGES */
  181. #define IDSTRModeDef 0x7000
  182. #define IDSTRWriteDocPromptDef 0x7001
  183. #define IDSTRScratchFilePromptDef 0x7002
  184. #define IDSTRSaveFilePromptDef 0x7003
  185. #define IDSTRAppNameDef 0x7004
  186. #define IDSTRUntitledDef 0x7005
  187. #define IDSTRiCountryDefaultDef 0x7006
  188. #define IDSTRWRITETextDef 0x7007
  189. #define IDSTRFreeDef 0x7008
  190. #define IDSTRNoneDef 0x7009
  191. #define IDSTRHeaderDef 0x700a
  192. #define IDSTRFooterDef 0x700b
  193. #define IDSTRLoadFileDef 0x700c
  194. #define IDSTRCvtLoadFileDef 0x700d
  195. #define IDSTRInchDef 0x700e
  196. #define IDSTRCmDef 0x700f
  197. #define IDSTRP10Def 0x7010
  198. #define IDSTRP12Def 0x7011
  199. #define IDSTRPointDef 0x7012
  200. #define IDSTRLineDef 0x7013
  201. #define IDSTRAltBSDef 0x7014
  202. #if defined(JAPAN) || defined(KOREA) //T-HIROYN Win3.1
  203. /* default FontFaceName we use FInitFontEnum() */
  204. #define IDSdefaultFFN0 0x7091
  205. #define IDSdefaultFFN1 0x7092
  206. #define IDPMTNotKanjiFont 0x7093
  207. #endif
  208.