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.

618 lines
14 KiB

  1. /***************************************************************************
  2. * *
  3. * bitsmsg.h -- error code definitions for the background file copier *
  4. * *
  5. * Copyright (c) 2000, Microsoft Corp. All rights reserved. *
  6. * *
  7. ***************************************************************************/
  8. #ifndef _BGCPYMSG_
  9. #define _BGCPYMSG_
  10. #if defined (_MSC_VER) && (_MSC_VER >= 1020) && !defined(__midl)
  11. #pragma once
  12. #endif
  13. //
  14. // Values are 32 bit values layed out as follows:
  15. //
  16. // 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  17. // 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
  18. // +---+-+-+-----------------------+-------------------------------+
  19. // |Sev|C|R| Facility | Code |
  20. // +---+-+-+-----------------------+-------------------------------+
  21. //
  22. // where
  23. //
  24. // Sev - is the severity code
  25. //
  26. // 00 - Success
  27. // 01 - Informational
  28. // 10 - Warning
  29. // 11 - Error
  30. //
  31. // C - is the Customer code flag
  32. //
  33. // R - is a reserved bit
  34. //
  35. // Facility - is the facility code
  36. //
  37. // Code - is the facility's status code
  38. //
  39. //
  40. // Define the facility codes
  41. //
  42. //
  43. // Define the severity codes
  44. //
  45. //
  46. // MessageId: BG_E_NOT_FOUND
  47. //
  48. // MessageText:
  49. //
  50. // The requested item was not found.
  51. //
  52. #define BG_E_NOT_FOUND 0x80200001L
  53. //
  54. // MessageId: BG_E_INVALID_STATE
  55. //
  56. // MessageText:
  57. //
  58. // The requested action is not allowed in the current state.
  59. //
  60. #define BG_E_INVALID_STATE 0x80200002L
  61. //
  62. // MessageId: BG_E_EMPTY
  63. //
  64. // MessageText:
  65. //
  66. // The item is empty.
  67. //
  68. #define BG_E_EMPTY 0x80200003L
  69. //
  70. // MessageId: BG_E_FILE_NOT_AVAILABLE
  71. //
  72. // MessageText:
  73. //
  74. // The file is not available.
  75. //
  76. #define BG_E_FILE_NOT_AVAILABLE 0x80200004L
  77. //
  78. // MessageId: BG_E_PROTOCOL_NOT_AVAILABLE
  79. //
  80. // MessageText:
  81. //
  82. // The protocol is not available.
  83. //
  84. #define BG_E_PROTOCOL_NOT_AVAILABLE 0x80200005L
  85. //
  86. // MessageId: BG_S_ERROR_CONTEXT_NONE
  87. //
  88. // MessageText:
  89. //
  90. // An error has not occured.
  91. //
  92. #define BG_S_ERROR_CONTEXT_NONE 0x00200006L
  93. //
  94. // MessageId: BG_E_ERROR_CONTEXT_UNKNOWN
  95. //
  96. // MessageText:
  97. //
  98. // The error occured in an unknown location.
  99. //
  100. #define BG_E_ERROR_CONTEXT_UNKNOWN 0x80200007L
  101. //
  102. // MessageId: BG_E_ERROR_CONTEXT_GENERAL_QUEUE_MANAGER
  103. //
  104. // MessageText:
  105. //
  106. // The error occured in the queue manager.
  107. //
  108. #define BG_E_ERROR_CONTEXT_GENERAL_QUEUE_MANAGER 0x80200008L
  109. //
  110. // MessageId: BG_E_ERROR_CONTEXT_LOCAL_FILE
  111. //
  112. // MessageText:
  113. //
  114. // The error occured while processing the local file.
  115. //
  116. #define BG_E_ERROR_CONTEXT_LOCAL_FILE 0x80200009L
  117. //
  118. // MessageId: BG_E_ERROR_CONTEXT_REMOTE_FILE
  119. //
  120. // MessageText:
  121. //
  122. // The error occured while processing the remote file.
  123. //
  124. #define BG_E_ERROR_CONTEXT_REMOTE_FILE 0x8020000AL
  125. //
  126. // MessageId: BG_E_ERROR_CONTEXT_GENERAL_TRANSPORT
  127. //
  128. // MessageText:
  129. //
  130. // The error occured in the transport layer.
  131. //
  132. #define BG_E_ERROR_CONTEXT_GENERAL_TRANSPORT 0x8020000BL
  133. //
  134. // MessageId: BG_E_ERROR_CONTEXT_QUEUE_MANAGER_NOTIFICATION
  135. //
  136. // MessageText:
  137. //
  138. // The error occured while processing the notification callback.
  139. //
  140. #define BG_E_ERROR_CONTEXT_QUEUE_MANAGER_NOTIFICATION 0x8020000CL
  141. //
  142. // MessageId: BG_E_DESTINATION_LOCKED
  143. //
  144. // MessageText:
  145. //
  146. // The destination volume is locked.
  147. //
  148. #define BG_E_DESTINATION_LOCKED 0x8020000DL
  149. //
  150. // MessageId: BG_E_VOLUME_CHANGED
  151. //
  152. // MessageText:
  153. //
  154. // The destination volume changed.
  155. //
  156. #define BG_E_VOLUME_CHANGED 0x8020000EL
  157. //
  158. // MessageId: BG_E_ERROR_INFORMATION_UNAVAILABLE
  159. //
  160. // MessageText:
  161. //
  162. // Error information is unavailable.
  163. //
  164. #define BG_E_ERROR_INFORMATION_UNAVAILABLE 0x8020000FL
  165. //
  166. // MessageId: BG_E_ERROR_FATAL_ERROR_ON_COMPLETE
  167. //
  168. // MessageText:
  169. //
  170. // A fatal error occured while completing the job. Some of the job files may be missing or corrupt. Cancel the job and resubmit.
  171. //
  172. #define BG_E_ERROR_FATAL_ERROR_ON_COMPLETE 0x80200010L
  173. //
  174. // MessageId: BG_E_MISSING_FILE_SIZE
  175. //
  176. // MessageText:
  177. //
  178. // The server did not return the file size. The URL may point to dynamic content.
  179. //
  180. #define BG_E_MISSING_FILE_SIZE 0x80200011L
  181. //
  182. // MessageId: BG_E_INSUFFICIENT_HTTP_SUPPORT
  183. //
  184. // MessageText:
  185. //
  186. // The server does not support HTTP 1.1.
  187. //
  188. #define BG_E_INSUFFICIENT_HTTP_SUPPORT 0x80200012L
  189. //
  190. // MessageId: BG_E_INSUFFICIENT_RANGE_SUPPORT
  191. //
  192. // MessageText:
  193. //
  194. // The server does not support the Range header.
  195. //
  196. #define BG_E_INSUFFICIENT_RANGE_SUPPORT 0x80200013L
  197. //
  198. // MessageId: BG_E_REMOTE_NOT_SUPPORTED
  199. //
  200. // MessageText:
  201. //
  202. // Remote use of BITS is not supported.
  203. //
  204. #define BG_E_REMOTE_NOT_SUPPORTED 0x80200014L
  205. //
  206. // MessageId: BG_E_NEW_OWNER_DIFF_MAPPING
  207. //
  208. // MessageText:
  209. //
  210. // The drive mapping for the job are different for the current owner then the previous owner.
  211. //
  212. #define BG_E_NEW_OWNER_DIFF_MAPPING 0x80200015L
  213. //
  214. // MessageId: BG_E_NEW_OWNER_NO_FILE_ACCESS
  215. //
  216. // MessageText:
  217. //
  218. // The new owner has insufficient access to the temp files.
  219. //
  220. #define BG_E_NEW_OWNER_NO_FILE_ACCESS 0x80200016L
  221. //
  222. // MessageId: BG_E_HTTP_ERROR_100
  223. //
  224. // MessageText:
  225. //
  226. // The request can be continued.
  227. //
  228. #define BG_E_HTTP_ERROR_100 0x80190064L
  229. //
  230. // MessageId: BG_E_HTTP_ERROR_101
  231. //
  232. // MessageText:
  233. //
  234. // The server has switched protocols in an upgrade header.
  235. //
  236. #define BG_E_HTTP_ERROR_101 0x80190065L
  237. //
  238. // MessageId: BG_E_HTTP_ERROR_200
  239. //
  240. // MessageText:
  241. //
  242. // The request completed successfully.
  243. //
  244. #define BG_E_HTTP_ERROR_200 0x801900C8L
  245. //
  246. // MessageId: BG_E_HTTP_ERROR_201
  247. //
  248. // MessageText:
  249. //
  250. // The request has been fulfilled and resulted in the creation of a new resource.
  251. //
  252. #define BG_E_HTTP_ERROR_201 0x801900C9L
  253. //
  254. // MessageId: BG_E_HTTP_ERROR_202
  255. //
  256. // MessageText:
  257. //
  258. // The request has been accepted for processing, but the processing has not been completed.
  259. //
  260. #define BG_E_HTTP_ERROR_202 0x801900CAL
  261. //
  262. // MessageId: BG_E_HTTP_ERROR_203
  263. //
  264. // MessageText:
  265. //
  266. // The returned meta information in the entity-header is not the definitive set available from the origin server.
  267. //
  268. #define BG_E_HTTP_ERROR_203 0x801900CBL
  269. //
  270. // MessageId: BG_E_HTTP_ERROR_204
  271. //
  272. // MessageText:
  273. //
  274. // The server has fulfilled the request, but there is no new information to send back.
  275. //
  276. #define BG_E_HTTP_ERROR_204 0x801900CCL
  277. //
  278. // MessageId: BG_E_HTTP_ERROR_205
  279. //
  280. // MessageText:
  281. //
  282. // The request has been completed, and the client program should reset the document view that caused the request to be sent to allow the user to easily initiate another input action.
  283. //
  284. #define BG_E_HTTP_ERROR_205 0x801900CDL
  285. //
  286. // MessageId: BG_E_HTTP_ERROR_206
  287. //
  288. // MessageText:
  289. //
  290. // The server has fulfilled the partial GET request for the resource.
  291. //
  292. #define BG_E_HTTP_ERROR_206 0x801900CEL
  293. //
  294. // MessageId: BG_E_HTTP_ERROR_300
  295. //
  296. // MessageText:
  297. //
  298. // The server couldn't decide what to return.
  299. //
  300. #define BG_E_HTTP_ERROR_300 0x8019012CL
  301. //
  302. // MessageId: BG_E_HTTP_ERROR_301
  303. //
  304. // MessageText:
  305. //
  306. // The requested resource has been assigned to a new permanent URI (Uniform Resource Identifier), and any future references to this resource should be done using one of the returned URIs.
  307. //
  308. #define BG_E_HTTP_ERROR_301 0x8019012DL
  309. //
  310. // MessageId: BG_E_HTTP_ERROR_302
  311. //
  312. // MessageText:
  313. //
  314. // The requested resource resides temporarily under a different URI (Uniform Resource Identifier).
  315. //
  316. #define BG_E_HTTP_ERROR_302 0x8019012EL
  317. //
  318. // MessageId: BG_E_HTTP_ERROR_303
  319. //
  320. // MessageText:
  321. //
  322. // The response to the request can be found under a different URI (Uniform Resource Identifier) and should be retrieved using a GET method on that resource.
  323. //
  324. #define BG_E_HTTP_ERROR_303 0x8019012FL
  325. //
  326. // MessageId: BG_E_HTTP_ERROR_304
  327. //
  328. // MessageText:
  329. //
  330. // The requested resource has not been modified.
  331. //
  332. #define BG_E_HTTP_ERROR_304 0x80190130L
  333. //
  334. // MessageId: BG_E_HTTP_ERROR_305
  335. //
  336. // MessageText:
  337. //
  338. // The requested resource must be accessed through the proxy given by the location field.
  339. //
  340. #define BG_E_HTTP_ERROR_305 0x80190131L
  341. //
  342. // MessageId: BG_E_HTTP_ERROR_307
  343. //
  344. // MessageText:
  345. //
  346. // The redirected request keeps the same verb. HTTP/1.1 behavior.
  347. //
  348. #define BG_E_HTTP_ERROR_307 0x80190133L
  349. //
  350. // MessageId: BG_E_HTTP_ERROR_400
  351. //
  352. // MessageText:
  353. //
  354. // The request could not be processed by the server due to invalid syntax.
  355. //
  356. #define BG_E_HTTP_ERROR_400 0x80190190L
  357. //
  358. // MessageId: BG_E_HTTP_ERROR_401
  359. //
  360. // MessageText:
  361. //
  362. // The requested resource requires user authentication.
  363. //
  364. #define BG_E_HTTP_ERROR_401 0x80190191L
  365. //
  366. // MessageId: BG_E_HTTP_ERROR_402
  367. //
  368. // MessageText:
  369. //
  370. // Not currently implemented in the HTTP protocol.
  371. //
  372. #define BG_E_HTTP_ERROR_402 0x80190192L
  373. //
  374. // MessageId: BG_E_HTTP_ERROR_403
  375. //
  376. // MessageText:
  377. //
  378. // The server understood the request, but is refusing to fulfill it.
  379. //
  380. #define BG_E_HTTP_ERROR_403 0x80190193L
  381. //
  382. // MessageId: BG_E_HTTP_ERROR_404
  383. //
  384. // MessageText:
  385. //
  386. // The server has not found anything matching the requested URI (Uniform Resource Identifier).
  387. //
  388. #define BG_E_HTTP_ERROR_404 0x80190194L
  389. //
  390. // MessageId: BG_E_HTTP_ERROR_405
  391. //
  392. // MessageText:
  393. //
  394. // The method used is not allowed.
  395. //
  396. #define BG_E_HTTP_ERROR_405 0x80190195L
  397. //
  398. // MessageId: BG_E_HTTP_ERROR_406
  399. //
  400. // MessageText:
  401. //
  402. // No responses acceptable to the client were found.
  403. //
  404. #define BG_E_HTTP_ERROR_406 0x80190196L
  405. //
  406. // MessageId: BG_E_HTTP_ERROR_407
  407. //
  408. // MessageText:
  409. //
  410. // Proxy authentication required.
  411. //
  412. #define BG_E_HTTP_ERROR_407 0x80190197L
  413. //
  414. // MessageId: BG_E_HTTP_ERROR_408
  415. //
  416. // MessageText:
  417. //
  418. // The server timed out waiting for the request.
  419. //
  420. #define BG_E_HTTP_ERROR_408 0x80190198L
  421. //
  422. // MessageId: BG_E_HTTP_ERROR_409
  423. //
  424. // MessageText:
  425. //
  426. // The request could not be completed due to a conflict with the current state of the resource. The user should resubmit with more information.
  427. //
  428. #define BG_E_HTTP_ERROR_409 0x80190199L
  429. //
  430. // MessageId: BG_E_HTTP_ERROR_410
  431. //
  432. // MessageText:
  433. //
  434. // The requested resource is no longer available at the server, and no forwarding address is known.
  435. //
  436. #define BG_E_HTTP_ERROR_410 0x8019019AL
  437. //
  438. // MessageId: BG_E_HTTP_ERROR_411
  439. //
  440. // MessageText:
  441. //
  442. // The server refuses to accept the request without a defined content length.
  443. //
  444. #define BG_E_HTTP_ERROR_411 0x8019019BL
  445. //
  446. // MessageId: BG_E_HTTP_ERROR_412
  447. //
  448. // MessageText:
  449. //
  450. // The precondition given in one or more of the request header fields evaluated to false when it was tested on the server.
  451. //
  452. #define BG_E_HTTP_ERROR_412 0x8019019CL
  453. //
  454. // MessageId: BG_E_HTTP_ERROR_413
  455. //
  456. // MessageText:
  457. //
  458. // The server is refusing to process a request because the request entity is larger than the server is willing or able to process.
  459. //
  460. #define BG_E_HTTP_ERROR_413 0x8019019DL
  461. //
  462. // MessageId: BG_E_HTTP_ERROR_414
  463. //
  464. // MessageText:
  465. //
  466. // The server is refusing to service the request because the request URI (Uniform Resource Identifier) is longer than the server is willing to interpret.
  467. //
  468. #define BG_E_HTTP_ERROR_414 0x8019019EL
  469. //
  470. // MessageId: BG_E_HTTP_ERROR_415
  471. //
  472. // MessageText:
  473. //
  474. // The server is refusing to service the request because the entity of the request is in a format not supported by the requested resource for the requested method.
  475. //
  476. #define BG_E_HTTP_ERROR_415 0x8019019FL
  477. //
  478. // MessageId: BG_E_HTTP_ERROR_416
  479. //
  480. // MessageText:
  481. //
  482. // The server could not satisfy the range request.
  483. //
  484. #define BG_E_HTTP_ERROR_416 0x801901A0L
  485. //
  486. // MessageId: BG_E_HTTP_ERROR_417
  487. //
  488. // MessageText:
  489. //
  490. // The expectation given in an Expect request-header field could not be met by this server.
  491. //
  492. #define BG_E_HTTP_ERROR_417 0x801901A1L
  493. //
  494. // MessageId: BG_E_HTTP_ERROR_449
  495. //
  496. // MessageText:
  497. //
  498. // The request should be retried after doing the appropriate action.
  499. //
  500. #define BG_E_HTTP_ERROR_449 0x801901C1L
  501. //
  502. // MessageId: BG_E_HTTP_ERROR_500
  503. //
  504. // MessageText:
  505. //
  506. // The server encountered an unexpected condition that prevented it from fulfilling the request.
  507. //
  508. #define BG_E_HTTP_ERROR_500 0x801901F4L
  509. //
  510. // MessageId: BG_E_HTTP_ERROR_501
  511. //
  512. // MessageText:
  513. //
  514. // The server does not support the functionality required to fulfill the request.
  515. //
  516. #define BG_E_HTTP_ERROR_501 0x801901F5L
  517. //
  518. // MessageId: BG_E_HTTP_ERROR_502
  519. //
  520. // MessageText:
  521. //
  522. // The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request.
  523. //
  524. #define BG_E_HTTP_ERROR_502 0x801901F6L
  525. //
  526. // MessageId: BG_E_HTTP_ERROR_503
  527. //
  528. // MessageText:
  529. //
  530. // The service is temporarily overloaded.
  531. //
  532. #define BG_E_HTTP_ERROR_503 0x801901F7L
  533. //
  534. // MessageId: BG_E_HTTP_ERROR_504
  535. //
  536. // MessageText:
  537. //
  538. // The request was timed out waiting for a gateway.
  539. //
  540. #define BG_E_HTTP_ERROR_504 0x801901F8L
  541. //
  542. // MessageId: BG_E_HTTP_ERROR_505
  543. //
  544. // MessageText:
  545. //
  546. // The server does not support, or refuses to support, the HTTP protocol version that was used in the request message.
  547. //
  548. #define BG_E_HTTP_ERROR_505 0x801901F9L
  549. #endif //_BGCPYMSG_