jwabitsmsg.pas 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996
  1. {******************************************************************************}
  2. { }
  3. { Background file copier error codes API interface Unit for Object Pascal }
  4. { }
  5. { Portions created by Microsoft are Copyright (C) 1995-2001 Microsoft }
  6. { Corporation. All Rights Reserved. }
  7. { }
  8. { The original file is: bitsmsg.h, released June 2000. The original Pascal }
  9. { code is: BitsMsg.pas, released December 2000. The initial developer of the }
  10. { Pascal code is Marcel van Brakel (brakelm att chello dott nl). }
  11. { }
  12. { Portions created by Marcel van Brakel are Copyright (C) 1999-2001 }
  13. { Marcel van Brakel. All Rights Reserved. }
  14. { }
  15. { Obtained through: Joint Endeavour of Delphi Innovators (Project JEDI) }
  16. { }
  17. { You may retrieve the latest version of this file at the Project JEDI }
  18. { APILIB home page, located at http://jedi-apilib.sourceforge.net }
  19. { }
  20. { The contents of this file are used with permission, subject to the Mozilla }
  21. { Public License Version 1.1 (the "License"); you may not use this file except }
  22. { in compliance with the License. You may obtain a copy of the License at }
  23. { http://www.mozilla.org/MPL/MPL-1.1.html }
  24. { }
  25. { Software distributed under the License is distributed on an "AS IS" basis, }
  26. { WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for }
  27. { the specific language governing rights and limitations under the License. }
  28. { }
  29. { Alternatively, the contents of this file may be used under the terms of the }
  30. { GNU Lesser General Public License (the "LGPL License"), in which case the }
  31. { provisions of the LGPL License are applicable instead of those above. }
  32. { If you wish to allow use of your version of this file only under the terms }
  33. { of the LGPL License and not to allow others to use your version of this file }
  34. { under the MPL, indicate your decision by deleting the provisions above and }
  35. { replace them with the notice and other provisions required by the LGPL }
  36. { License. If you do not delete the provisions above, a recipient may use }
  37. { your version of this file under either the MPL or the LGPL License. }
  38. { }
  39. { For more information about the LGPL: http://www.gnu.org/copyleft/lesser.html }
  40. { }
  41. {******************************************************************************}
  42. // $Id: JwaBitsMsg.pas,v 1.6 2005/09/03 14:27:47 marquardt Exp $
  43. unit JwaBitsMsg;
  44. {$WEAKPACKAGEUNIT}
  45. {$HPPEMIT ''}
  46. {$HPPEMIT '#include "BitsMsg.h"'}
  47. {$HPPEMIT ''}
  48. {$I jediapilib.inc}
  49. interface
  50. uses
  51. JwaWindows;
  52. //
  53. // Values are 32 bit values layed out as follows:
  54. //
  55. // 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  56. // 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
  57. // +---+-+-+-----------------------+-------------------------------+
  58. // |Sev|C|R| Facility | Code |
  59. // +---+-+-+-----------------------+-------------------------------+
  60. //
  61. // where
  62. //
  63. // Sev - is the severity code
  64. //
  65. // 00 - Success
  66. // 01 - Informational
  67. // 10 - Warning
  68. // 11 - Error
  69. //
  70. // C - is the Customer code flag
  71. //
  72. // R - is a reserved bit
  73. //
  74. // Facility - is the facility code
  75. //
  76. // Code - is the facility's status code
  77. //
  78. //
  79. // Define the facility codes
  80. //
  81. //
  82. // Define the severity codes
  83. //
  84. const
  85. //
  86. // MessageId: BG_E_NOT_FOUND
  87. //
  88. // MessageText:
  89. //
  90. // The requested job was not found.
  91. //
  92. BG_E_NOT_FOUND = DWORD($80200001);
  93. {$EXTERNALSYM BG_E_NOT_FOUND}
  94. //
  95. // MessageId: BG_E_INVALID_STATE
  96. //
  97. // MessageText:
  98. //
  99. // The requested action is not allowed in the current job state. The job might have been canceled or completed transferring. It is in a read-only state now.
  100. //
  101. BG_E_INVALID_STATE = DWORD($80200002);
  102. {$EXTERNALSYM BG_E_INVALID_STATE}
  103. //
  104. // MessageId: BG_E_EMPTY
  105. //
  106. // MessageText:
  107. //
  108. // There are no files attached to this job. Attach files to the job, and then try again.
  109. //
  110. BG_E_EMPTY = DWORD($80200003);
  111. {$EXTERNALSYM BG_E_EMPTY}
  112. //
  113. // MessageId: BG_E_FILE_NOT_AVAILABLE
  114. //
  115. // MessageText:
  116. //
  117. // No file is available because no URL generated an error.
  118. //
  119. BG_E_FILE_NOT_AVAILABLE = DWORD($80200004);
  120. {$EXTERNALSYM BG_E_FILE_NOT_AVAILABLE}
  121. //
  122. // MessageId: BG_E_PROTOCOL_NOT_AVAILABLE
  123. //
  124. // MessageText:
  125. //
  126. // No protocol is available because no URL generated an error.
  127. //
  128. BG_E_PROTOCOL_NOT_AVAILABLE = DWORD($80200005);
  129. {$EXTERNALSYM BG_E_PROTOCOL_NOT_AVAILABLE}
  130. //
  131. // MessageId: BG_S_ERROR_CONTEXT_NONE
  132. //
  133. // MessageText:
  134. //
  135. // No errors have occurred.
  136. //
  137. BG_S_ERROR_CONTEXT_NONE = DWORD($00200006);
  138. {$EXTERNALSYM BG_S_ERROR_CONTEXT_NONE}
  139. //
  140. // MessageId: BG_E_ERROR_CONTEXT_UNKNOWN
  141. //
  142. // MessageText:
  143. //
  144. // The error occurred in an unknown location.
  145. //
  146. BG_E_ERROR_CONTEXT_UNKNOWN = DWORD($80200007);
  147. {$EXTERNALSYM BG_E_ERROR_CONTEXT_UNKNOWN}
  148. //
  149. // MessageId: BG_E_ERROR_CONTEXT_GENERAL_QUEUE_MANAGER
  150. //
  151. // MessageText:
  152. //
  153. // The error occurred in the Background Intelligent Transfer Service (BITS) queue manager.
  154. //
  155. BG_E_ERROR_CONTEXT_GENERAL_QUEUE_MANAGER = DWORD($80200008);
  156. {$EXTERNALSYM BG_E_ERROR_CONTEXT_GENERAL_QUEUE_MANAGER}
  157. //
  158. // MessageId: BG_E_ERROR_CONTEXT_LOCAL_FILE
  159. //
  160. // MessageText:
  161. //
  162. // The error occurred while the local file was being processed. Verify that the file is not in use, and then try again.
  163. //
  164. BG_E_ERROR_CONTEXT_LOCAL_FILE = DWORD($80200009);
  165. {$EXTERNALSYM BG_E_ERROR_CONTEXT_LOCAL_FILE}
  166. //
  167. // MessageId: BG_E_ERROR_CONTEXT_REMOTE_FILE
  168. //
  169. // MessageText:
  170. //
  171. // The error occurred while the remote file was being processed.
  172. //
  173. BG_E_ERROR_CONTEXT_REMOTE_FILE = DWORD($8020000A);
  174. {$EXTERNALSYM BG_E_ERROR_CONTEXT_REMOTE_FILE}
  175. //
  176. // MessageId: BG_E_ERROR_CONTEXT_GENERAL_TRANSPORT
  177. //
  178. // MessageText:
  179. //
  180. // The error occurred in the transport layer. The client could not connect to the server.
  181. //
  182. BG_E_ERROR_CONTEXT_GENERAL_TRANSPORT = DWORD($8020000B);
  183. {$EXTERNALSYM BG_E_ERROR_CONTEXT_GENERAL_TRANSPORT}
  184. //
  185. // MessageId: BG_E_ERROR_CONTEXT_QUEUE_MANAGER_NOTIFICATION
  186. //
  187. // MessageText:
  188. //
  189. // The error occurred while the notification callback was being processed. Background Intelligent Transfer Service (BITS) will try again later.
  190. //
  191. BG_E_ERROR_CONTEXT_QUEUE_MANAGER_NOTIFICATION = DWORD($8020000C);
  192. {$EXTERNALSYM BG_E_ERROR_CONTEXT_QUEUE_MANAGER_NOTIFICATION}
  193. //
  194. // MessageId: BG_E_DESTINATION_LOCKED
  195. //
  196. // MessageText:
  197. //
  198. // The destination file system volume is not available. Verify that another program, such as CheckDisk, is not running, which would lock the volume. When the volume is available, Background Intelligent Transfer Service (BITS) will try again.
  199. //
  200. BG_E_DESTINATION_LOCKED = DWORD($8020000D);
  201. {$EXTERNALSYM BG_E_DESTINATION_LOCKED}
  202. //
  203. // MessageId: BG_E_VOLUME_CHANGED
  204. //
  205. // MessageText:
  206. //
  207. // The destination volume has changed. If the disk is removable, it might have been replaced with a different disk. Reinsert the original disk and resume the job.
  208. //
  209. BG_E_VOLUME_CHANGED = DWORD($8020000E);
  210. {$EXTERNALSYM BG_E_VOLUME_CHANGED}
  211. //
  212. // MessageId: BG_E_ERROR_INFORMATION_UNAVAILABLE
  213. //
  214. // MessageText:
  215. //
  216. // No errors have occurred.
  217. //
  218. BG_E_ERROR_INFORMATION_UNAVAILABLE = DWORD($8020000F);
  219. {$EXTERNALSYM BG_E_ERROR_INFORMATION_UNAVAILABLE}
  220. //
  221. // MessageId: BG_E_NETWORK_DISCONNECTED
  222. //
  223. // MessageText:
  224. //
  225. // There are currently no active network connections. Background Intelligent Transfer Service (BITS) will try again when an adapter is connected.
  226. //
  227. BG_E_NETWORK_DISCONNECTED = DWORD($80200010);
  228. {$EXTERNALSYM BG_E_NETWORK_DISCONNECTED}
  229. //
  230. // MessageId: BG_E_MISSING_FILE_SIZE
  231. //
  232. // MessageText:
  233. //
  234. // The server did not return the file size. The URL might point to dynamic content. The Content-Length header is not available in the server's HTTP reply.
  235. //
  236. BG_E_MISSING_FILE_SIZE = DWORD($80200011);
  237. {$EXTERNALSYM BG_E_MISSING_FILE_SIZE}
  238. //
  239. // MessageId: BG_E_INSUFFICIENT_HTTP_SUPPORT
  240. //
  241. // MessageText:
  242. //
  243. // The server does not support HTTP 1.1.
  244. //
  245. BG_E_INSUFFICIENT_HTTP_SUPPORT = DWORD($80200012);
  246. {$EXTERNALSYM BG_E_INSUFFICIENT_HTTP_SUPPORT}
  247. //
  248. // MessageId: BG_E_INSUFFICIENT_RANGE_SUPPORT
  249. //
  250. // MessageText:
  251. //
  252. // The server does not support the necessary HTTP protocol. Background Intelligent Transfer Service (BITS) requires that the server support the Range protocol header.
  253. //
  254. BG_E_INSUFFICIENT_RANGE_SUPPORT = DWORD($80200013);
  255. {$EXTERNALSYM BG_E_INSUFFICIENT_RANGE_SUPPORT}
  256. //
  257. // MessageId: BG_E_REMOTE_NOT_SUPPORTED
  258. //
  259. // MessageText:
  260. //
  261. // Background Intelligent Transfer Service (BITS) cannot be used remotely.
  262. //
  263. BG_E_REMOTE_NOT_SUPPORTED = DWORD($80200014);
  264. {$EXTERNALSYM BG_E_REMOTE_NOT_SUPPORTED}
  265. //
  266. // MessageId: BG_E_NEW_OWNER_DIFF_MAPPING
  267. //
  268. // MessageText:
  269. //
  270. // The drive mapping for the job is different for the current owner than for the previous owner. Use a UNC path instead.
  271. //
  272. BG_E_NEW_OWNER_DIFF_MAPPING = DWORD($80200015);
  273. {$EXTERNALSYM BG_E_NEW_OWNER_DIFF_MAPPING}
  274. //
  275. // MessageId: BG_E_NEW_OWNER_NO_FILE_ACCESS
  276. //
  277. // MessageText:
  278. //
  279. // The new owner has insufficient access to the local files for the job. The new owner might not have permissions to access the job files. Verify that the new owner has sufficient permissions, and then try again.
  280. //
  281. BG_E_NEW_OWNER_NO_FILE_ACCESS = DWORD($80200016);
  282. {$EXTERNALSYM BG_E_NEW_OWNER_NO_FILE_ACCESS}
  283. //
  284. // MessageId: BG_S_PARTIAL_COMPLETE
  285. //
  286. // MessageText:
  287. //
  288. // Some of the transferred files were deleted because they were incomplete.
  289. //
  290. BG_S_PARTIAL_COMPLETE = DWORD($00200017);
  291. {$EXTERNALSYM BG_S_PARTIAL_COMPLETE}
  292. //
  293. // MessageId: BG_E_PROXY_LIST_TOO_LARGE
  294. //
  295. // MessageText:
  296. //
  297. // The HTTP proxy list cannot be longer than 32,000 characters. Try again with a shorter proxy list.
  298. //
  299. BG_E_PROXY_LIST_TOO_LARGE = DWORD($80200018);
  300. {$EXTERNALSYM BG_E_PROXY_LIST_TOO_LARGE}
  301. //
  302. // MessageId: BG_E_PROXY_BYPASS_LIST_TOO_LARGE
  303. //
  304. // MessageText:
  305. //
  306. // The HTTP proxy bypass list cannot be longer than 32,000 characters. Try again with a shorter bypass proxy list.
  307. //
  308. BG_E_PROXY_BYPASS_LIST_TOO_LARGE = DWORD($80200019);
  309. {$EXTERNALSYM BG_E_PROXY_BYPASS_LIST_TOO_LARGE}
  310. //
  311. // MessageId: BG_S_UNABLE_TO_DELETE_FILES
  312. //
  313. // MessageText:
  314. //
  315. // Some of the temporary files could not be deleted. Check the system event log for the complete list of files that could not be deleted.
  316. //
  317. BG_S_UNABLE_TO_DELETE_FILES = DWORD($0020001A);
  318. {$EXTERNALSYM BG_S_UNABLE_TO_DELETE_FILES}
  319. //
  320. // MessageId: BG_E_INVALID_SERVER_RESPONSE
  321. //
  322. // MessageText:
  323. //
  324. // The server's response was not valid. The server was not following the defined protocol. Resume the job, and then Background Intelligent Transfer Service (BITS) will try again.
  325. //
  326. BG_E_INVALID_SERVER_RESPONSE = DWORD($8020001B);
  327. {$EXTERNALSYM BG_E_INVALID_SERVER_RESPONSE}
  328. //
  329. // MessageId: BG_E_TOO_MANY_FILES
  330. //
  331. // MessageText:
  332. //
  333. // No more files can be added to this job.
  334. //
  335. BG_E_TOO_MANY_FILES = DWORD($8020001C);
  336. {$EXTERNALSYM BG_E_TOO_MANY_FILES}
  337. //
  338. // MessageId: BG_E_LOCAL_FILE_CHANGED
  339. //
  340. // MessageText:
  341. //
  342. // The local file was changed during the transfer. Recreate the job, and then try to transfer it again.
  343. //
  344. BG_E_LOCAL_FILE_CHANGED = DWORD($8020001D);
  345. {$EXTERNALSYM BG_E_LOCAL_FILE_CHANGED}
  346. //
  347. // MessageId: BG_E_ERROR_CONTEXT_REMOTE_APPLICATION
  348. //
  349. // MessageText:
  350. //
  351. // The program on the remote server reported the error.
  352. //
  353. BG_E_ERROR_CONTEXT_REMOTE_APPLICATION = DWORD($8020001E);
  354. {$EXTERNALSYM BG_E_ERROR_CONTEXT_REMOTE_APPLICATION}
  355. //
  356. // MessageId: BG_E_SESSION_NOT_FOUND
  357. //
  358. // MessageText:
  359. //
  360. // The specified session could not be found on the server. Background Intelligent Transfer Service (BITS) will try again.
  361. //
  362. BG_E_SESSION_NOT_FOUND = DWORD($8020001F);
  363. {$EXTERNALSYM BG_E_SESSION_NOT_FOUND}
  364. //
  365. // MessageId: BG_E_TOO_LARGE
  366. //
  367. // MessageText:
  368. //
  369. // The job is too large for the server to accept. This job might exceed a job size limit set by the server administrator. Reduce the size of the job, and then try again.
  370. //
  371. BG_E_TOO_LARGE = DWORD($80200020);
  372. {$EXTERNALSYM BG_E_TOO_LARGE}
  373. //
  374. // MessageId: BG_E_STRING_TOO_LONG
  375. //
  376. // MessageText:
  377. //
  378. // The specified string is too long.
  379. //
  380. BG_E_STRING_TOO_LONG = DWORD($80200021);
  381. {$EXTERNALSYM BG_E_STRING_TOO_LONG}
  382. //
  383. // MessageId: BG_E_CLIENT_SERVER_PROTOCOL_MISMATCH
  384. //
  385. // MessageText:
  386. //
  387. // The client and server versions of Background Intelligent Transfer Service (BITS) are incompatible.
  388. //
  389. BG_E_CLIENT_SERVER_PROTOCOL_MISMATCH = DWORD($80200022);
  390. {$EXTERNALSYM BG_E_CLIENT_SERVER_PROTOCOL_MISMATCH}
  391. //
  392. // MessageId: BG_E_SERVER_EXECUTE_ENABLE
  393. //
  394. // MessageText:
  395. //
  396. // Scripting OR execute permissions are enabled on the IIS virtual directory associated with the job. To upload files to the virtual directory, disable the scripting and execute permissions on the virtual directory.
  397. //
  398. BG_E_SERVER_EXECUTE_ENABLE = DWORD($80200023);
  399. {$EXTERNALSYM BG_E_SERVER_EXECUTE_ENABLE}
  400. //
  401. // MessageId: BG_E_NO_PROGRESS
  402. //
  403. // MessageText:
  404. //
  405. // The job is not making headway. The server may be misconfigured. Background Intelligent Transfer Service (BITS) will try again later.
  406. //
  407. BG_E_NO_PROGRESS = DWORD($80200024);
  408. {$EXTERNALSYM BG_E_NO_PROGRESS}
  409. //
  410. // MessageId: BG_E_USERNAME_TOO_LARGE
  411. //
  412. // MessageText:
  413. //
  414. // The user name cannot be longer than 300 characters. Try again with a shorter name.
  415. //
  416. BG_E_USERNAME_TOO_LARGE = DWORD($80200025);
  417. {$EXTERNALSYM BG_E_USERNAME_TOO_LARGE}
  418. //
  419. // MessageId: BG_E_PASSWORD_TOO_LARGE
  420. //
  421. // MessageText:
  422. //
  423. // The password cannot be longer than 300 characters. Try again with a shorter password.
  424. //
  425. BG_E_PASSWORD_TOO_LARGE = DWORD($80200026);
  426. {$EXTERNALSYM BG_E_PASSWORD_TOO_LARGE}
  427. //
  428. // MessageId: BG_E_INVALID_AUTH_TARGET
  429. //
  430. // MessageText:
  431. //
  432. // The authentication target specified in the credentials is not defined.
  433. //
  434. BG_E_INVALID_AUTH_TARGET = DWORD($80200027);
  435. {$EXTERNALSYM BG_E_INVALID_AUTH_TARGET}
  436. //
  437. // MessageId: BG_E_INVALID_AUTH_SCHEME
  438. //
  439. // MessageText:
  440. //
  441. // The authentication scheme specified in the credentials is not defined.
  442. //
  443. BG_E_INVALID_AUTH_SCHEME = DWORD($80200028);
  444. {$EXTERNALSYM BG_E_INVALID_AUTH_SCHEME}
  445. //
  446. // MessageId: BG_E_HTTP_ERROR_100
  447. //
  448. // MessageText:
  449. //
  450. // The request can be continued.
  451. //
  452. BG_E_HTTP_ERROR_100 = DWORD($80190064);
  453. {$EXTERNALSYM BG_E_HTTP_ERROR_100}
  454. //
  455. // MessageId: BG_E_HTTP_ERROR_101
  456. //
  457. // MessageText:
  458. //
  459. // The server switched protocols in an upgrade header.
  460. //
  461. BG_E_HTTP_ERROR_101 = DWORD($80190065);
  462. {$EXTERNALSYM BG_E_HTTP_ERROR_101}
  463. //
  464. // MessageId: BG_E_HTTP_ERROR_200
  465. //
  466. // MessageText:
  467. //
  468. // The server's response was not valid. The server was not following the defined protocol. Resume the job, and then Background Intelligent Transfer Service (BITS) will try again.
  469. //
  470. BG_E_HTTP_ERROR_200 = DWORD($801900C8);
  471. {$EXTERNALSYM BG_E_HTTP_ERROR_200}
  472. //
  473. // MessageId: BG_E_HTTP_ERROR_201
  474. //
  475. // MessageText:
  476. //
  477. // The request was fulfilled and resulted in the creation of a new resource.
  478. //
  479. BG_E_HTTP_ERROR_201 = DWORD($801900C9);
  480. {$EXTERNALSYM BG_E_HTTP_ERROR_201}
  481. //
  482. // MessageId: BG_E_HTTP_ERROR_202
  483. //
  484. // MessageText:
  485. //
  486. // The request was accepted for processing, but the processing has not been completed yet.
  487. //
  488. BG_E_HTTP_ERROR_202 = DWORD($801900CA);
  489. {$EXTERNALSYM BG_E_HTTP_ERROR_202}
  490. //
  491. // MessageId: BG_E_HTTP_ERROR_203
  492. //
  493. // MessageText:
  494. //
  495. // The returned metadata in the entity-header is not the definitive set available from the server of origin.
  496. //
  497. BG_E_HTTP_ERROR_203 = DWORD($801900CB);
  498. {$EXTERNALSYM BG_E_HTTP_ERROR_203}
  499. //
  500. // MessageId: BG_E_HTTP_ERROR_204
  501. //
  502. // MessageText:
  503. //
  504. // The server has fulfilled the request, but there is no new information to send back.
  505. //
  506. BG_E_HTTP_ERROR_204 = DWORD($801900CC);
  507. {$EXTERNALSYM BG_E_HTTP_ERROR_204}
  508. //
  509. // MessageId: BG_E_HTTP_ERROR_205
  510. //
  511. // MessageText:
  512. //
  513. // The server's response was not valid. The server was not following the defined protocol. Resume the job, and then Background Intelligent Transfer Service (BITS) will try again.
  514. //
  515. BG_E_HTTP_ERROR_205 = DWORD($801900CD);
  516. {$EXTERNALSYM BG_E_HTTP_ERROR_205}
  517. //
  518. // MessageId: BG_E_HTTP_ERROR_206
  519. //
  520. // MessageText:
  521. //
  522. // The server fulfilled the partial GET request for the resource.
  523. //
  524. BG_E_HTTP_ERROR_206 = DWORD($801900CE);
  525. {$EXTERNALSYM BG_E_HTTP_ERROR_206}
  526. //
  527. // MessageId: BG_E_HTTP_ERROR_300
  528. //
  529. // MessageText:
  530. //
  531. // The server could not return the requested data.
  532. //
  533. BG_E_HTTP_ERROR_300 = DWORD($8019012C);
  534. {$EXTERNALSYM BG_E_HTTP_ERROR_300}
  535. //
  536. // MessageId: BG_E_HTTP_ERROR_301
  537. //
  538. // MessageText:
  539. //
  540. // The requested resource was assigned to a new permanent Uniform Resource Identifier (URI), and any future references to this resource should use one of the returned URIs.
  541. //
  542. BG_E_HTTP_ERROR_301 = DWORD($8019012D);
  543. {$EXTERNALSYM BG_E_HTTP_ERROR_301}
  544. //
  545. // MessageId: BG_E_HTTP_ERROR_302
  546. //
  547. // MessageText:
  548. //
  549. // The requested resource was assigned a different Uniform Resource Identifier (URI). This change is temporary.
  550. //
  551. BG_E_HTTP_ERROR_302 = DWORD($8019012E);
  552. {$EXTERNALSYM BG_E_HTTP_ERROR_302}
  553. //
  554. // MessageId: BG_E_HTTP_ERROR_303
  555. //
  556. // MessageText:
  557. //
  558. // The response to the request is under a different Uniform Resource Identifier (URI) and must be retrieved using a GET method on that resource.
  559. //
  560. BG_E_HTTP_ERROR_303 = DWORD($8019012F);
  561. {$EXTERNALSYM BG_E_HTTP_ERROR_303}
  562. //
  563. // MessageId: BG_E_HTTP_ERROR_304
  564. //
  565. // MessageText:
  566. //
  567. // The server's response was not valid. The server was not following the defined protocol. Resume the job, and then Background Intelligent Transfer Service (BITS) will try again.
  568. //
  569. BG_E_HTTP_ERROR_304 = DWORD($80190130);
  570. {$EXTERNALSYM BG_E_HTTP_ERROR_304}
  571. //
  572. // MessageId: BG_E_HTTP_ERROR_305
  573. //
  574. // MessageText:
  575. //
  576. // The requested resource must be accessed through the proxy given by the location field.
  577. //
  578. BG_E_HTTP_ERROR_305 = DWORD($80190131);
  579. {$EXTERNALSYM BG_E_HTTP_ERROR_305}
  580. //
  581. // MessageId: BG_E_HTTP_ERROR_307
  582. //
  583. // MessageText:
  584. //
  585. // The URL has been temporarily relocated. Try again later.
  586. //
  587. BG_E_HTTP_ERROR_307 = DWORD($80190133);
  588. {$EXTERNALSYM BG_E_HTTP_ERROR_307}
  589. //
  590. // MessageId: BG_E_HTTP_ERROR_400
  591. //
  592. // MessageText:
  593. //
  594. // The server cannot process the request because the syntax is not valid.
  595. //
  596. BG_E_HTTP_ERROR_400 = DWORD($80190190);
  597. {$EXTERNALSYM BG_E_HTTP_ERROR_400}
  598. //
  599. // MessageId: BG_E_HTTP_ERROR_401
  600. //
  601. // MessageText:
  602. //
  603. // The requested resource requires user authentication.
  604. //
  605. BG_E_HTTP_ERROR_401 = DWORD($80190191);
  606. {$EXTERNALSYM BG_E_HTTP_ERROR_401}
  607. //
  608. // MessageId: BG_E_HTTP_ERROR_402
  609. //
  610. // MessageText:
  611. //
  612. // The server's response was not valid. The server was not following the defined protocol. Resume the job, and then Background Intelligent Transfer Service (BITS) will try again.
  613. //
  614. BG_E_HTTP_ERROR_402 = DWORD($80190192);
  615. {$EXTERNALSYM BG_E_HTTP_ERROR_402}
  616. //
  617. // MessageId: BG_E_HTTP_ERROR_403
  618. //
  619. // MessageText:
  620. //
  621. // The client does not have sufficient access rights to the requested server object.
  622. //
  623. BG_E_HTTP_ERROR_403 = DWORD($80190193);
  624. {$EXTERNALSYM BG_E_HTTP_ERROR_403}
  625. //
  626. // MessageId: BG_E_HTTP_ERROR_404
  627. //
  628. // MessageText:
  629. //
  630. // The requested URL does not exist on the server.
  631. //
  632. BG_E_HTTP_ERROR_404 = DWORD($80190194);
  633. {$EXTERNALSYM BG_E_HTTP_ERROR_404}
  634. //
  635. // MessageId: BG_E_HTTP_ERROR_405
  636. //
  637. // MessageText:
  638. //
  639. // The method used is not allowed.
  640. //
  641. BG_E_HTTP_ERROR_405 = DWORD($80190195);
  642. {$EXTERNALSYM BG_E_HTTP_ERROR_405}
  643. //
  644. // MessageId: BG_E_HTTP_ERROR_406
  645. //
  646. // MessageText:
  647. //
  648. // No responses acceptable to the client were found.
  649. //
  650. BG_E_HTTP_ERROR_406 = DWORD($80190196);
  651. {$EXTERNALSYM BG_E_HTTP_ERROR_406}
  652. //
  653. // MessageId: BG_E_HTTP_ERROR_407
  654. //
  655. // MessageText:
  656. //
  657. // Proxy authentication is required.
  658. //
  659. BG_E_HTTP_ERROR_407 = DWORD($80190197);
  660. {$EXTERNALSYM BG_E_HTTP_ERROR_407}
  661. //
  662. // MessageId: BG_E_HTTP_ERROR_408
  663. //
  664. // MessageText:
  665. //
  666. // The server timed out waiting for the request.
  667. //
  668. BG_E_HTTP_ERROR_408 = DWORD($80190198);
  669. {$EXTERNALSYM BG_E_HTTP_ERROR_408}
  670. //
  671. // MessageId: BG_E_HTTP_ERROR_409
  672. //
  673. // MessageText:
  674. //
  675. // The request could not be completed because of a conflict with the current state of the resource. The user should resubmit the request with more information.
  676. //
  677. BG_E_HTTP_ERROR_409 = DWORD($80190199);
  678. {$EXTERNALSYM BG_E_HTTP_ERROR_409}
  679. //
  680. // MessageId: BG_E_HTTP_ERROR_410
  681. //
  682. // MessageText:
  683. //
  684. // The requested resource is not currently available at the server, and no forwarding address is known.
  685. //
  686. BG_E_HTTP_ERROR_410 = DWORD($8019019A);
  687. {$EXTERNALSYM BG_E_HTTP_ERROR_410}
  688. //
  689. // MessageId: BG_E_HTTP_ERROR_411
  690. //
  691. // MessageText:
  692. //
  693. // The server cannot accept the request without a defined content length.
  694. //
  695. BG_E_HTTP_ERROR_411 = DWORD($8019019B);
  696. {$EXTERNALSYM BG_E_HTTP_ERROR_411}
  697. //
  698. // MessageId: BG_E_HTTP_ERROR_412
  699. //
  700. // MessageText:
  701. //
  702. // The precondition given in one or more of the request header fields evaluated to false when it was tested on the server.
  703. //
  704. BG_E_HTTP_ERROR_412 = DWORD($8019019C);
  705. {$EXTERNALSYM BG_E_HTTP_ERROR_412}
  706. //
  707. // MessageId: BG_E_HTTP_ERROR_413
  708. //
  709. // MessageText:
  710. //
  711. // The server cannot process the request because the request entity is too large.
  712. //
  713. BG_E_HTTP_ERROR_413 = DWORD($8019019D);
  714. {$EXTERNALSYM BG_E_HTTP_ERROR_413}
  715. //
  716. // MessageId: BG_E_HTTP_ERROR_414
  717. //
  718. // MessageText:
  719. //
  720. // The server cannot process the request because the request Uniform Resource Identifier (URI) is longer than the server can interpret.
  721. //
  722. BG_E_HTTP_ERROR_414 = DWORD($8019019E);
  723. {$EXTERNALSYM BG_E_HTTP_ERROR_414}
  724. //
  725. // MessageId: BG_E_HTTP_ERROR_415
  726. //
  727. // MessageText:
  728. //
  729. // The server's response was not valid. The server was not following the defined protocol. Resume the job, and then Background Intelligent Transfer Service (BITS) will try again.
  730. //
  731. BG_E_HTTP_ERROR_415 = DWORD($8019019F);
  732. {$EXTERNALSYM BG_E_HTTP_ERROR_415}
  733. //
  734. // MessageId: BG_E_HTTP_ERROR_416
  735. //
  736. // MessageText:
  737. //
  738. // The server could not satisfy the range request.
  739. //
  740. BG_E_HTTP_ERROR_416 = DWORD($801901A0);
  741. {$EXTERNALSYM BG_E_HTTP_ERROR_416}
  742. //
  743. // MessageId: BG_E_HTTP_ERROR_417
  744. //
  745. // MessageText:
  746. //
  747. // The server could not meet the expectation given in an Expect request-header field.
  748. //
  749. BG_E_HTTP_ERROR_417 = DWORD($801901A1);
  750. {$EXTERNALSYM BG_E_HTTP_ERROR_417}
  751. //
  752. // MessageId: BG_E_HTTP_ERROR_449
  753. //
  754. // MessageText:
  755. //
  756. // The server's response was not valid. The server was not following the defined protocol. Resume the job, and then Background Intelligent Transfer Service (BITS) will try again.
  757. //
  758. BG_E_HTTP_ERROR_449 = DWORD($801901C1);
  759. {$EXTERNALSYM BG_E_HTTP_ERROR_449}
  760. //
  761. // MessageId: BG_E_HTTP_ERROR_500
  762. //
  763. // MessageText:
  764. //
  765. // An unexpected condition prevented the server from fulfilling the request.
  766. //
  767. BG_E_HTTP_ERROR_500 = DWORD($801901F4);
  768. {$EXTERNALSYM BG_E_HTTP_ERROR_500}
  769. //
  770. // MessageId: BG_E_HTTP_ERROR_501
  771. //
  772. // MessageText:
  773. //
  774. // The server does not support the functionality required to fulfill the request.
  775. //
  776. BG_E_HTTP_ERROR_501 = DWORD($801901F5);
  777. {$EXTERNALSYM BG_E_HTTP_ERROR_501}
  778. //
  779. // MessageId: BG_E_HTTP_ERROR_502
  780. //
  781. // MessageText:
  782. //
  783. // The server, while acting as a gateway or proxy to fulfill the request, received an invalid response from the upstream server it accessed.
  784. //
  785. BG_E_HTTP_ERROR_502 = DWORD($801901F6);
  786. {$EXTERNALSYM BG_E_HTTP_ERROR_502}
  787. //
  788. // MessageId: BG_E_HTTP_ERROR_503
  789. //
  790. // MessageText:
  791. //
  792. // The service is temporarily overloaded.
  793. //
  794. BG_E_HTTP_ERROR_503 = DWORD($801901F7);
  795. {$EXTERNALSYM BG_E_HTTP_ERROR_503}
  796. //
  797. // MessageId: BG_E_HTTP_ERROR_504
  798. //
  799. // MessageText:
  800. //
  801. // The request was timed out waiting for a gateway.
  802. //
  803. BG_E_HTTP_ERROR_504 = DWORD($801901F8);
  804. {$EXTERNALSYM BG_E_HTTP_ERROR_504}
  805. //
  806. // MessageId: BG_E_HTTP_ERROR_505
  807. //
  808. // MessageText:
  809. //
  810. // The server does not support the HTTP protocol version that was used in the request message.
  811. //
  812. BG_E_HTTP_ERROR_505 = DWORD($801901F9);
  813. {$EXTERNALSYM BG_E_HTTP_ERROR_505}
  814. //
  815. // MessageId: MC_JOB_CANCELLED
  816. //
  817. // MessageText:
  818. //
  819. // The administrator %4 canceled job "%2" on behalf of %3. The job ID was %1.
  820. //
  821. MC_JOB_CANCELLED = DWORD($80194000);
  822. {$EXTERNALSYM MC_JOB_CANCELLED}
  823. //
  824. // MessageId: MC_FILE_DELETION_FAILED
  825. //
  826. // MessageText:
  827. //
  828. // While canceling job "%2", BITS was not able to remove the temporary files listed below.
  829. // If you can delete them, then you will regain some disk space. The job ID was %1.%\
  830. //
  831. // %3
  832. //
  833. MC_FILE_DELETION_FAILED = DWORD($80194001);
  834. {$EXTERNALSYM MC_FILE_DELETION_FAILED}
  835. //
  836. // MessageId: MC_FILE_DELETION_FAILED_MORE
  837. //
  838. // MessageText:
  839. //
  840. // While canceling job "%2", BITS was not able to remove the temporary files listed below.
  841. // If you can delete them, then you will regain some disk space. The job ID was %1. %\
  842. //
  843. // %3
  844. // %\
  845. // Due to space limitations, not all files are listed here. Check for additional files of the form BITxxx.TMP in the same directory.
  846. //
  847. MC_FILE_DELETION_FAILED_MORE = DWORD($80194002);
  848. {$EXTERNALSYM MC_FILE_DELETION_FAILED_MORE}
  849. //
  850. // MessageId: MC_JOB_PROPERTY_CHANGE
  851. //
  852. // MessageText:
  853. //
  854. // The administrator %3 modified the %4 property of job "%2". The job ID was %1.
  855. //
  856. MC_JOB_PROPERTY_CHANGE = DWORD($80194003);
  857. {$EXTERNALSYM MC_JOB_PROPERTY_CHANGE}
  858. //
  859. // MessageId: MC_JOB_TAKE_OWNERSHIP
  860. //
  861. // MessageText:
  862. //
  863. // The administrator %4 took ownership of job "%2" from %3. The job ID was %1.
  864. //
  865. MC_JOB_TAKE_OWNERSHIP = DWORD($80194004);
  866. {$EXTERNALSYM MC_JOB_TAKE_OWNERSHIP}
  867. //
  868. // MessageId: MC_JOB_SCAVENGED
  869. //
  870. // MessageText:
  871. //
  872. // Job "%2" owned by %3 was canceled after being inactive for more than %4 days. The job ID was %1.
  873. //
  874. MC_JOB_SCAVENGED = DWORD($80194005);
  875. {$EXTERNALSYM MC_JOB_SCAVENGED}
  876. //
  877. // MessageId: MC_JOB_NOTIFICATION_FAILURE
  878. //
  879. // MessageText:
  880. //
  881. // Job "%2" owned by %3 failed to notify its associated application. BITS will retry in %4 minutes. The job ID was %1.
  882. //
  883. MC_JOB_NOTIFICATION_FAILURE = DWORD($80194006);
  884. {$EXTERNALSYM MC_JOB_NOTIFICATION_FAILURE}
  885. //
  886. // MessageId: MC_STATE_FILE_CORRUPT
  887. //
  888. // MessageText:
  889. //
  890. // The BITS job list is not in a recognized format. It may have been created by a different version of BITS. The job list has been cleared.
  891. //
  892. MC_STATE_FILE_CORRUPT = DWORD($80194007);
  893. {$EXTERNALSYM MC_STATE_FILE_CORRUPT}
  894. implementation
  895. end.