jwabitsmsg.pas 27 KB

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