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.

338 lines
8.1 KiB

  1. /*++ BUILD Version: 0001 // Increment this if a change has global effects
  2. Copyright (c) 1998 Microsoft Corp. All rights reserved.
  3. Module Name:
  4. ifserr.h
  5. Abstract:
  6. Constant definitions for the Exchange IFS driver error code values
  7. Author:
  8. Rajeev Rajan 06-11-1998
  9. Revision History:
  10. Notice:
  11. DO NOT MODIFY; IFSERR.H IS NOT A SOURCE FILE. MAKE CHANGES TO
  12. IFSERR.MC INSTEAD.
  13. If you add an error code that will be logged in the NT event log
  14. make sure you include the line below at the end of the error text:
  15. %n%nFor more information, click http://www.microsoft.com/contentredirect.asp.
  16. --*/
  17. #ifndef _IFSERR_
  18. #define _IFSERR_
  19. //
  20. // Status values are 32 bit values layed out as follows:
  21. //
  22. // 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  23. // 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  24. // +---+-+-------------------------+-------------------------------+
  25. // |Sev|C| Facility | Code |
  26. // +---+-+-------------------------+-------------------------------+
  27. //
  28. // where
  29. //
  30. // Sev - is the severity code
  31. //
  32. // 00 - Success
  33. // 01 - Informational
  34. // 10 - Warning
  35. // 11 - Error
  36. //
  37. // C - is the Customer code flag
  38. //
  39. // Facility - is the facility code
  40. //
  41. // Code - is the facility's status code
  42. //
  43. // LanguageNames=(FrenchStandard=0x040c:msg00002)
  44. // Used from kernel mode. Do NOT use %1 for insertion strings since
  45. // the I/O manager automatically inserts the driver/device name as
  46. // the first string.
  47. //
  48. // Values are 32 bit values layed out as follows:
  49. //
  50. // 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  51. // 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  52. // +---+-+-+-----------------------+-------------------------------+
  53. // |Sev|C|R| Facility | Code |
  54. // +---+-+-+-----------------------+-------------------------------+
  55. //
  56. // where
  57. //
  58. // Sev - is the severity code
  59. //
  60. // 00 - Success
  61. // 01 - Informational
  62. // 10 - Warning
  63. // 11 - Error
  64. //
  65. // C - is the Customer code flag
  66. //
  67. // R - is a reserved bit
  68. //
  69. // Facility - is the facility code
  70. //
  71. // Code - is the facility's status code
  72. //
  73. //
  74. // Define the facility codes
  75. //
  76. #define FACILITY_RPC_STUBS 0x3
  77. #define FACILITY_RPC_RUNTIME 0x2
  78. #define FACILITY_IO_ERROR_CODE 0x4
  79. #define FACILITY_EXIFS_ERROR_CODE 0xFAD
  80. //
  81. // Define the severity codes
  82. //
  83. #define STATUS_SEVERITY_WARNING 0x2
  84. #define STATUS_SEVERITY_SUCCESS 0x0
  85. #define STATUS_SEVERITY_INFORMATIONAL 0x1
  86. #define STATUS_SEVERITY_ERROR 0x3
  87. //
  88. // MessageId: EXSTATUS_DRIVER_LOADED
  89. //
  90. // MessageText:
  91. //
  92. // The Exchange IFS driver loaded successfully.
  93. // %n%nFor more information, click http://www.microsoft.com/contentredirect.asp.
  94. //
  95. #define EXSTATUS_DRIVER_LOADED ((NTSTATUS)0x6FAD2400L)
  96. //
  97. // MessageId: EXSTATUS_DRIVER_UNLOADED
  98. //
  99. // MessageText:
  100. //
  101. // The Exchange IFS driver unloaded successfully.
  102. // %n%nFor more information, click http://www.microsoft.com/contentredirect.asp.
  103. //
  104. #define EXSTATUS_DRIVER_UNLOADED ((NTSTATUS)0x6FAD2401L)
  105. //
  106. // MessageId: EXSTATUS_UNDERLYING_OPEN_FAILED
  107. //
  108. // MessageText:
  109. //
  110. // Exchange IFS driver failed to open the underlying file %2. It failed with NTSTATUS %3.
  111. //
  112. #define EXSTATUS_UNDERLYING_OPEN_FAILED ((NTSTATUS)0xEFAD2500L)
  113. //
  114. // MessageId: EXSTATUS_ROOT_NOT_INITIALIZED
  115. //
  116. // MessageText:
  117. //
  118. // Exchange IFS driver received an I/O on an uninitialized root or failed to enter root.
  119. //
  120. #define EXSTATUS_ROOT_NOT_INITIALIZED ((NTSTATUS)0xEFAD2501L)
  121. //
  122. // MessageId: EXSTATUS_INVALID_IO
  123. //
  124. // MessageText:
  125. //
  126. // Exchange IFS driver received an I/O on a file that is not a data file. I/O is invalid.
  127. //
  128. #define EXSTATUS_INVALID_IO ((NTSTATUS)0xEFAD2502L)
  129. //
  130. // MessageId: EXSTATUS_SCATTERLIST_READ_FAILED
  131. //
  132. // MessageText:
  133. //
  134. // Exchange IFS driver failed to read scatter list data in the FCB.
  135. //
  136. #define EXSTATUS_SCATTERLIST_READ_FAILED ((NTSTATUS)0xEFAD2503L)
  137. //
  138. // MessageId: EXSTATUS_ROOT_SHARELOCK_FAILED
  139. //
  140. // MessageText:
  141. //
  142. // Exchange IFS driver failed to get a share lock on the root.
  143. //
  144. #define EXSTATUS_ROOT_SHARELOCK_FAILED ((NTSTATUS)0xEFAD2504L)
  145. //
  146. // MessageId: EXSTATUS_VNET_ROOT_ALREADY_EXISTS
  147. //
  148. // MessageText:
  149. //
  150. // Exchange IFS driver failed to create a VNET_ROOT because one already exists.
  151. //
  152. #define EXSTATUS_VNET_ROOT_ALREADY_EXISTS ((NTSTATUS)0xEFAD2505L)
  153. //
  154. // MessageId: EXSTATUS_ROOTOPEN_NOT_EXCLUSIVE
  155. //
  156. // MessageText:
  157. //
  158. // Attempt to create an Exchange IFS root without exclusive access.
  159. //
  160. #define EXSTATUS_ROOTOPEN_NOT_EXCLUSIVE ((NTSTATUS)0xEFAD2506L)
  161. //
  162. // MessageId: EXSTATUS_READONLY_NO_SCATTERLIST
  163. //
  164. // MessageText:
  165. //
  166. // Attempt to create a read-only Exchange IFS handle with no scatter-list.
  167. //
  168. #define EXSTATUS_READONLY_NO_SCATTERLIST ((NTSTATUS)0xEFAD2507L)
  169. //
  170. // MessageId: EXSTATUS_ROOT_ABANDONED
  171. //
  172. // MessageText:
  173. //
  174. // Attempt to create an Exchange IFS handle in an abandoned root aka store.
  175. //
  176. #define EXSTATUS_ROOT_ABANDONED ((NTSTATUS)0xEFAD2508L)
  177. //
  178. // MessageId: EXSTATUS_ROOT_NEEDS_SPACE
  179. //
  180. // MessageText:
  181. //
  182. // An IFS root needs a space grant.
  183. //
  184. #define EXSTATUS_ROOT_NEEDS_SPACE ((NTSTATUS)0xEFAD2509L)
  185. //
  186. // MessageId: EXSTATUS_TOO_MANY_SPACEREQS
  187. //
  188. // MessageText:
  189. //
  190. // Too many SPACEREQs have been pended to an IFS root.
  191. //
  192. #define EXSTATUS_TOO_MANY_SPACEREQS ((NTSTATUS)0xEFAD2510L)
  193. //
  194. // MessageId: EXSTATUS_NO_SUCH_FILE
  195. //
  196. // MessageText:
  197. //
  198. // An open has been attempted on a filename that does not exist.
  199. //
  200. #define EXSTATUS_NO_SUCH_FILE ((NTSTATUS)0xAFAD2511L)
  201. //
  202. // MessageId: EXSTATUS_RANDOM_FAILURE
  203. //
  204. // MessageText:
  205. //
  206. // An IFS operation has been randomly failed.
  207. //
  208. #define EXSTATUS_RANDOM_FAILURE ((NTSTATUS)0xEFAD2512L)
  209. //
  210. // MessageId: EXSTATUS_FILE_DOUBLE_COMMIT
  211. //
  212. // MessageText:
  213. //
  214. // An attempt has been made to double-commit an IFS file.
  215. //
  216. #define EXSTATUS_FILE_DOUBLE_COMMIT ((NTSTATUS)0xEFAD2513L)
  217. //
  218. // MessageId: EXSTATUS_INSTANCE_ID_MISMATCH
  219. //
  220. // MessageText:
  221. //
  222. // An attempt has been made to commit an IFS file from one root into another or an attempt
  223. // has been made to open an IFS file in the wrong root.
  224. //
  225. #define EXSTATUS_INSTANCE_ID_MISMATCH ((NTSTATUS)0xEFAD2514L)
  226. //
  227. // MessageId: EXSTATUS_SPACE_UNCOMMITTED
  228. //
  229. // MessageText:
  230. //
  231. // An attempt has been made to commit an IFS file from one root into another.
  232. //
  233. #define EXSTATUS_SPACE_UNCOMMITTED ((NTSTATUS)0xEFAD2515L)
  234. //
  235. // MessageId: EXSTATUS_INVALID_CHECKSUM
  236. //
  237. // MessageText:
  238. //
  239. // An attempt has been made to open an IFS file with an EA that has an invalid checksum.
  240. //
  241. #define EXSTATUS_INVALID_CHECKSUM ((NTSTATUS)0xEFAD2516L)
  242. //
  243. // MessageId: EXSTATUS_OPEN_DEADLINE_EXPIRED
  244. //
  245. // MessageText:
  246. //
  247. // An attempt has been made to open an IFS file with an EA whose open deadline has expired.
  248. //
  249. #define EXSTATUS_OPEN_DEADLINE_EXPIRED ((NTSTATUS)0xEFAD2517L)
  250. //
  251. // MessageId: EXSTATUS_FSRTL_MDL_READ_FAILED
  252. //
  253. // MessageText:
  254. //
  255. // A MDL read on an IFS file failed because the underlying file failed a MDL read.
  256. //
  257. #define EXSTATUS_FSRTL_MDL_READ_FAILED ((NTSTATUS)0xEFAD2518L)
  258. //
  259. // MessageId: EXSTATUS_FILE_ALREADY_EXISTS
  260. //
  261. // MessageText:
  262. //
  263. // An attempt has been made to create an IFS file that already exists.
  264. //
  265. #define EXSTATUS_FILE_ALREADY_EXISTS ((NTSTATUS)0xAFAD2519L)
  266. //
  267. // MessageId: EXSTATUS_DIRECTORY_HAS_EA
  268. //
  269. // MessageText:
  270. //
  271. // An attempt has been made to create a directory with an EA.
  272. //
  273. #define EXSTATUS_DIRECTORY_HAS_EA ((NTSTATUS)0xAFAD2520L)
  274. //
  275. // MessageId: EXSTATUS_STALE_HANDLE
  276. //
  277. // MessageText:
  278. //
  279. // An I/O operation has been attempted on a stale handle. The InstanceID of the handle does
  280. // not match the NetRoot InstanceID.
  281. //
  282. #define EXSTATUS_STALE_HANDLE ((NTSTATUS)0xEFAD2521L)
  283. //
  284. // MessageId: EXSTATUS_PRIVILEGED_HANDLE
  285. //
  286. // MessageText:
  287. //
  288. // The IFS handle is privileged. The Exchange IFS driver will handle operations on a privileged handle
  289. // with special semantics.
  290. //
  291. #define EXSTATUS_PRIVILEGED_HANDLE ((NTSTATUS)0x6FAD2522L)
  292. #endif /* _IFSERR_ */