]>
Commit | Line | Data |
---|---|---|
8faf50e0 XL |
1 | // Licensed under the Apache License, Version 2.0 |
2 | // <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license | |
3 | // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option. | |
4 | // All files in the project carrying such notice may not be copied, modified, or distributed | |
5 | // except according to those terms. | |
6 | //! error code definitions for the background file copier | |
7 | use shared::minwindef::DWORD; | |
8 | pub const BG_E_NOT_FOUND: DWORD = 0x80200001; | |
9 | pub const BG_E_INVALID_STATE: DWORD = 0x80200002; | |
10 | pub const BG_E_EMPTY: DWORD = 0x80200003; | |
11 | pub const BG_E_FILE_NOT_AVAILABLE: DWORD = 0x80200004; | |
12 | pub const BG_E_PROTOCOL_NOT_AVAILABLE: DWORD = 0x80200005; | |
13 | pub const BG_S_ERROR_CONTEXT_NONE: DWORD = 0x00200006; | |
14 | pub const BG_E_ERROR_CONTEXT_UNKNOWN: DWORD = 0x80200007; | |
15 | pub const BG_E_ERROR_CONTEXT_GENERAL_QUEUE_MANAGER: DWORD = 0x80200008; | |
16 | pub const BG_E_ERROR_CONTEXT_LOCAL_FILE: DWORD = 0x80200009; | |
17 | pub const BG_E_ERROR_CONTEXT_REMOTE_FILE: DWORD = 0x8020000A; | |
18 | pub const BG_E_ERROR_CONTEXT_GENERAL_TRANSPORT: DWORD = 0x8020000B; | |
19 | pub const BG_E_ERROR_CONTEXT_QUEUE_MANAGER_NOTIFICATION: DWORD = 0x8020000C; | |
20 | pub const BG_E_DESTINATION_LOCKED: DWORD = 0x8020000D; | |
21 | pub const BG_E_VOLUME_CHANGED: DWORD = 0x8020000E; | |
22 | pub const BG_E_ERROR_INFORMATION_UNAVAILABLE: DWORD = 0x8020000F; | |
23 | pub const BG_E_NETWORK_DISCONNECTED: DWORD = 0x80200010; | |
24 | pub const BG_E_MISSING_FILE_SIZE: DWORD = 0x80200011; | |
25 | pub const BG_E_INSUFFICIENT_HTTP_SUPPORT: DWORD = 0x80200012; | |
26 | pub const BG_E_INSUFFICIENT_RANGE_SUPPORT: DWORD = 0x80200013; | |
27 | pub const BG_E_REMOTE_NOT_SUPPORTED: DWORD = 0x80200014; | |
28 | pub const BG_E_NEW_OWNER_DIFF_MAPPING: DWORD = 0x80200015; | |
29 | pub const BG_E_NEW_OWNER_NO_FILE_ACCESS: DWORD = 0x80200016; | |
30 | pub const BG_S_PARTIAL_COMPLETE: DWORD = 0x00200017; | |
31 | pub const BG_E_PROXY_LIST_TOO_LARGE: DWORD = 0x80200018; | |
32 | pub const BG_E_PROXY_BYPASS_LIST_TOO_LARGE: DWORD = 0x80200019; | |
33 | pub const BG_S_UNABLE_TO_DELETE_FILES: DWORD = 0x0020001A; | |
34 | pub const BG_E_INVALID_SERVER_RESPONSE: DWORD = 0x8020001B; | |
35 | pub const BG_E_TOO_MANY_FILES: DWORD = 0x8020001C; | |
36 | pub const BG_E_LOCAL_FILE_CHANGED: DWORD = 0x8020001D; | |
37 | pub const BG_E_ERROR_CONTEXT_REMOTE_APPLICATION: DWORD = 0x8020001E; | |
38 | pub const BG_E_SESSION_NOT_FOUND: DWORD = 0x8020001F; | |
39 | pub const BG_E_TOO_LARGE: DWORD = 0x80200020; | |
40 | pub const BG_E_STRING_TOO_LONG: DWORD = 0x80200021; | |
41 | pub const BG_E_CLIENT_SERVER_PROTOCOL_MISMATCH: DWORD = 0x80200022; | |
42 | pub const BG_E_SERVER_EXECUTE_ENABLE: DWORD = 0x80200023; | |
43 | pub const BG_E_NO_PROGRESS: DWORD = 0x80200024; | |
44 | pub const BG_E_USERNAME_TOO_LARGE: DWORD = 0x80200025; | |
45 | pub const BG_E_PASSWORD_TOO_LARGE: DWORD = 0x80200026; | |
46 | pub const BG_E_INVALID_AUTH_TARGET: DWORD = 0x80200027; | |
47 | pub const BG_E_INVALID_AUTH_SCHEME: DWORD = 0x80200028; | |
48 | pub const BG_E_FILE_NOT_FOUND: DWORD = 0x80200029; | |
49 | pub const BG_S_PROXY_CHANGED: DWORD = 0x0020002A; | |
50 | pub const BG_E_INVALID_RANGE: DWORD = 0x8020002B; | |
51 | pub const BG_E_OVERLAPPING_RANGES: DWORD = 0x8020002C; | |
52 | pub const BG_E_CONNECT_FAILURE: DWORD = 0x8020002D; | |
53 | pub const BG_E_CONNECTION_CLOSED: DWORD = 0x8020002E; | |
54 | pub const BG_E_BLOCKED_BY_POLICY: DWORD = 0x8020003E; | |
55 | pub const BG_E_INVALID_PROXY_INFO: DWORD = 0x8020003F; | |
56 | pub const BG_E_INVALID_CREDENTIALS: DWORD = 0x80200040; | |
57 | pub const BG_E_INVALID_HASH_ALGORITHM: DWORD = 0x80200041; | |
58 | pub const BG_E_RECORD_DELETED: DWORD = 0x80200042; | |
59 | pub const BG_E_COMMIT_IN_PROGRESS: DWORD = 0x80200043; | |
60 | pub const BG_E_DISCOVERY_IN_PROGRESS: DWORD = 0x80200044; | |
61 | pub const BG_E_UPNP_ERROR: DWORD = 0x80200045; | |
62 | pub const BG_E_TEST_OPTION_BLOCKED_DOWNLOAD: DWORD = 0x80200046; | |
63 | pub const BG_E_PEERCACHING_DISABLED: DWORD = 0x80200047; | |
64 | pub const BG_E_BUSYCACHERECORD: DWORD = 0x80200048; | |
65 | pub const BG_E_TOO_MANY_JOBS_PER_USER: DWORD = 0x80200049; | |
66 | pub const BG_E_TOO_MANY_JOBS_PER_MACHINE: DWORD = 0x80200050; | |
67 | pub const BG_E_TOO_MANY_FILES_IN_JOB: DWORD = 0x80200051; | |
68 | pub const BG_E_TOO_MANY_RANGES_IN_FILE: DWORD = 0x80200052; | |
69 | pub const BG_E_VALIDATION_FAILED: DWORD = 0x80200053; | |
70 | pub const BG_E_MAXDOWNLOAD_TIMEOUT: DWORD = 0x80200054; | |
71 | pub const BG_S_OVERRIDDEN_BY_POLICY: DWORD = 0x00200055; | |
72 | pub const BG_E_TOKEN_REQUIRED: DWORD = 0x80200056; | |
73 | pub const BG_E_UNKNOWN_PROPERTY_ID: DWORD = 0x80200057; | |
74 | pub const BG_E_READ_ONLY_PROPERTY: DWORD = 0x80200058; | |
75 | pub const BG_E_BLOCKED_BY_COST_TRANSFER_POLICY: DWORD = 0x80200059; | |
76 | pub const BG_E_PROPERTY_SUPPORTED_FOR_DOWNLOAD_JOBS_ONLY: DWORD = 0x80200060; | |
77 | pub const BG_E_READ_ONLY_PROPERTY_AFTER_ADDFILE: DWORD = 0x80200061; | |
78 | pub const BG_E_READ_ONLY_PROPERTY_AFTER_RESUME: DWORD = 0x80200062; | |
79 | pub const BG_E_MAX_DOWNLOAD_SIZE_INVALID_VALUE: DWORD = 0x80200063; | |
80 | pub const BG_E_MAX_DOWNLOAD_SIZE_LIMIT_REACHED: DWORD = 0x80200064; | |
81 | pub const BG_E_STANDBY_MODE: DWORD = 0x80200065; | |
82 | pub const BG_E_USE_STORED_CREDENTIALS_NOT_SUPPORTED: DWORD = 0x80200066; | |
83 | pub const BG_E_BLOCKED_BY_BATTERY_POLICY: DWORD = 0x80200067; | |
84 | pub const BG_E_BLOCKED_BY_BATTERY_SAVER: DWORD = 0x80200068; | |
85 | pub const BG_E_WATCHDOG_TIMEOUT: DWORD = 0x80200069; | |
86 | pub const BG_E_APP_PACKAGE_NOT_FOUND: DWORD = 0x8020006A; | |
87 | pub const BG_E_APP_PACKAGE_SCENARIO_NOT_SUPPORTED: DWORD = 0x8020006B; | |
88 | pub const BG_E_DATABASE_CORRUPT: DWORD = 0x8020006C; | |
89 | pub const BG_E_RANDOM_ACCESS_NOT_SUPPORTED: DWORD = 0x8020006D; | |
90 | pub const BG_E_HTTP_ERROR_100: DWORD = 0x80190064; | |
91 | pub const BG_E_HTTP_ERROR_101: DWORD = 0x80190065; | |
92 | pub const BG_E_HTTP_ERROR_200: DWORD = 0x801900C8; | |
93 | pub const BG_E_HTTP_ERROR_201: DWORD = 0x801900C9; | |
94 | pub const BG_E_HTTP_ERROR_202: DWORD = 0x801900CA; | |
95 | pub const BG_E_HTTP_ERROR_203: DWORD = 0x801900CB; | |
96 | pub const BG_E_HTTP_ERROR_204: DWORD = 0x801900CC; | |
97 | pub const BG_E_HTTP_ERROR_205: DWORD = 0x801900CD; | |
98 | pub const BG_E_HTTP_ERROR_206: DWORD = 0x801900CE; | |
99 | pub const BG_E_HTTP_ERROR_300: DWORD = 0x8019012C; | |
100 | pub const BG_E_HTTP_ERROR_301: DWORD = 0x8019012D; | |
101 | pub const BG_E_HTTP_ERROR_302: DWORD = 0x8019012E; | |
102 | pub const BG_E_HTTP_ERROR_303: DWORD = 0x8019012F; | |
103 | pub const BG_E_HTTP_ERROR_304: DWORD = 0x80190130; | |
104 | pub const BG_E_HTTP_ERROR_305: DWORD = 0x80190131; | |
105 | pub const BG_E_HTTP_ERROR_307: DWORD = 0x80190133; | |
106 | pub const BG_E_HTTP_ERROR_400: DWORD = 0x80190190; | |
107 | pub const BG_E_HTTP_ERROR_401: DWORD = 0x80190191; | |
108 | pub const BG_E_HTTP_ERROR_402: DWORD = 0x80190192; | |
109 | pub const BG_E_HTTP_ERROR_403: DWORD = 0x80190193; | |
110 | pub const BG_E_HTTP_ERROR_404: DWORD = 0x80190194; | |
111 | pub const BG_E_HTTP_ERROR_405: DWORD = 0x80190195; | |
112 | pub const BG_E_HTTP_ERROR_406: DWORD = 0x80190196; | |
113 | pub const BG_E_HTTP_ERROR_407: DWORD = 0x80190197; | |
114 | pub const BG_E_HTTP_ERROR_408: DWORD = 0x80190198; | |
115 | pub const BG_E_HTTP_ERROR_409: DWORD = 0x80190199; | |
116 | pub const BG_E_HTTP_ERROR_410: DWORD = 0x8019019A; | |
117 | pub const BG_E_HTTP_ERROR_411: DWORD = 0x8019019B; | |
118 | pub const BG_E_HTTP_ERROR_412: DWORD = 0x8019019C; | |
119 | pub const BG_E_HTTP_ERROR_413: DWORD = 0x8019019D; | |
120 | pub const BG_E_HTTP_ERROR_414: DWORD = 0x8019019E; | |
121 | pub const BG_E_HTTP_ERROR_415: DWORD = 0x8019019F; | |
122 | pub const BG_E_HTTP_ERROR_416: DWORD = 0x801901A0; | |
123 | pub const BG_E_HTTP_ERROR_417: DWORD = 0x801901A1; | |
124 | pub const BG_E_HTTP_ERROR_449: DWORD = 0x801901C1; | |
125 | pub const BG_E_HTTP_ERROR_500: DWORD = 0x801901F4; | |
126 | pub const BG_E_HTTP_ERROR_501: DWORD = 0x801901F5; | |
127 | pub const BG_E_HTTP_ERROR_502: DWORD = 0x801901F6; | |
128 | pub const BG_E_HTTP_ERROR_503: DWORD = 0x801901F7; | |
129 | pub const BG_E_HTTP_ERROR_504: DWORD = 0x801901F8; | |
130 | pub const BG_E_HTTP_ERROR_505: DWORD = 0x801901F9; | |
131 | pub const BITS_MC_JOB_CANCELLED: DWORD = 0x80194000; | |
132 | pub const BITS_MC_FILE_DELETION_FAILED: DWORD = 0x80194001; | |
133 | pub const BITS_MC_FILE_DELETION_FAILED_MORE: DWORD = 0x80194002; | |
134 | pub const BITS_MC_JOB_PROPERTY_CHANGE: DWORD = 0x80194003; | |
135 | pub const BITS_MC_JOB_TAKE_OWNERSHIP: DWORD = 0x80194004; | |
136 | pub const BITS_MC_JOB_SCAVENGED: DWORD = 0x80194005; | |
137 | pub const BITS_MC_JOB_NOTIFICATION_FAILURE: DWORD = 0x80194006; | |
138 | pub const BITS_MC_STATE_FILE_CORRUPT: DWORD = 0x80194007; | |
139 | pub const BITS_MC_FAILED_TO_START: DWORD = 0x80194008; | |
140 | pub const BITS_MC_FATAL_IGD_ERROR: DWORD = 0x80194009; | |
141 | pub const BITS_MC_PEERCACHING_PORT: DWORD = 0x8019400A; | |
142 | pub const BITS_MC_WSD_PORT: DWORD = 0x8019400B; |