include: Wrap uses of u_* types in ws2tcpip.h with WS() macro.
[wine] / include / bitsmsg.h
1 /*
2  * Standard return values that may be generated by BITS
3  *
4  * Copyright 2007 Google (Roy Shea)
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  */
20
21 #ifndef __WINE_BITMSG_H__
22 #define __WINE_BITMSG_H__
23
24 #define BG_S_PARTIAL_COMPLETE                   0x00200017
25 #define BG_S_UNABLE_TO_DELETE_FILES             0x0020001A
26 #define BG_S_OVERRIDDEN_BY_POLICY               0x00200055
27
28 #define BG_E_HTTP_ERROR_400                     0x80190190
29 #define BG_E_HTTP_ERROR_401                     0x80190191
30 #define BG_E_HTTP_ERROR_404                     0x80190194
31 #define BG_E_HTTP_ERROR_407                     0x80190197
32 #define BG_E_HTTP_ERROR_414                     0x8019019E
33 #define BG_E_HTTP_ERROR_501                     0x801901F5
34 #define BG_E_HTTP_ERROR_503                     0x801901F7
35 #define BG_E_HTTP_ERROR_504                     0x801901F8
36 #define BG_E_HTTP_ERROR_505                     0x801901F9
37
38 #define BG_E_NOT_FOUND                          0x80200001
39 #define BG_E_INVALID_STATE                      0x80200002
40 #define BG_E_EMPTY                              0x80200003
41 #define BG_E_FILE_NOT_AVAILABLE                 0x80200004
42 #define BG_E_PROTOCOL_NOT_AVAILABLE             0x80200005
43 #define BG_E_DESTINATION_LOCKED                 0x8020000D
44 #define BG_E_VOLUME_CHANGED                     0x8020000E
45 #define BG_E_ERROR_INFORMATION_UNAVAILABLE      0x8020000F
46 #define BG_E_NETWORK_DISCONNECTED               0x80200010
47 #define BG_E_MISSING_FILE_SIZE                  0x80200011
48 #define BG_E_INSUFFICIENT_HTTP_SUPPORT          0x80200012
49 #define BG_E_INSUFFICIENT_RANGE_SUPPORT         0x80200013
50 #define BG_E_REMOTE_NOT_SUPPORTED               0x80200014
51 #define BG_E_NEW_OWNER_DIFF_MAPPING             0x80200015
52 #define BG_E_NEW_OWNER_NO_FILE_ACCESS           0x80200016
53 #define BG_E_PROXY_LIST_TOO_LARGE               0x80200018
54 #define BG_E_PROXY_BYPASS_LIST_TOO_LARGE        0x80200019
55 #define BG_E_TOO_MANY_FILES                     0x8020001C
56 #define BG_E_LOCAL_FILE_CHANGED                 0x8020001D
57 #define BG_E_TOO_LARGE                          0x80200020
58 #define BG_E_STRING_TOO_LONG                    0x80200021
59 #define BG_E_CLIENT_SERVER_PROTOCOL_MISMATCH    0x80200022
60 #define BG_E_SERVER_EXECUTE_ENABLED             0x80200023
61 #define BG_E_USERNAME_TOO_LARGE                 0x80200025
62 #define BG_E_PASSWORD_TOO_LARGE                 0x80200026
63 #define BG_E_INVALID_AUTH_TARGET                0x80200027
64 #define BG_E_INVALID_AUTH_SCHEME                0x80200028
65 #define BG_E_INVALID_RANGE                      0x8020002B
66 #define BG_E_OVERLAPPING_RANGES                 0x8020002C
67 #define BG_E_BLOCKED_BY_POLICY                  0x8020003E
68 #define BG_E_INVALID_PROXY_INFO                 0x8020003F
69 #define BG_E_INVALID_CREDENTIALS                0x80200040
70 #define BG_E_RECORD_DELETED                     0x80200042
71 #define BG_E_UPNP_ERROR                         0x80200045
72 #define BG_E_PEERCACHING_DISABLED               0x80200047
73 #define BG_E_BUSYCACHERECORD                    0x80200048
74 #define BG_E_TOO_MANY_JOBS_PER_USER             0x80200049
75 #define BG_E_TOO_MANY_JOBS_PER_MACHINE          0x80200050
76 #define BG_E_TOO_MANY_FILES_IN_JOB              0x80200051
77 #define BG_E_TOO_MANY_RANGES_IN_FILE            0x80200052
78 #define BG_E_VALIDATION_FAILED                  0x80200053
79 #define BG_E_MAXDOWNLOAD_TIMEOUT                0x80200054
80
81 #endif /* #ifndef __WINE_BITMSG_H__ */