secur32/tests: Use importlib for functions available since Windows XP.
[wine.git] / include / mprerror.h
blobac87e815c1654beb03bd5e5d7f9cdf6bb321846a
1 /*
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given:
5 * The w64 mingw-runtime package and its code is distributed in the hope that it
6 * will be useful but WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESSED OR
7 * IMPLIED ARE HEREBY DISCLAIMED. This includes but is not limited to
8 * warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
9 */
11 #ifndef _MPRERROR_H_
12 #define _MPRERROR_H_
14 #define ROUTEBASE 900
15 #define SUCCESS 0
17 #define ERROR_ROUTER_STOPPED (ROUTEBASE+0)
18 #define ERROR_ALREADY_CONNECTED (ROUTEBASE+1)
19 #define ERROR_UNKNOWN_PROTOCOL_ID (ROUTEBASE+2)
20 #define ERROR_DDM_NOT_RUNNING (ROUTEBASE+3)
21 #define ERROR_INTERFACE_ALREADY_EXISTS (ROUTEBASE+4)
22 #define ERROR_NO_SUCH_INTERFACE (ROUTEBASE+5)
23 #define ERROR_INTERFACE_NOT_CONNECTED (ROUTEBASE+6)
24 #define ERROR_PROTOCOL_STOP_PENDING (ROUTEBASE+7)
25 #define ERROR_INTERFACE_CONNECTED (ROUTEBASE+8)
26 #define ERROR_NO_INTERFACE_CREDENTIALS_SET (ROUTEBASE+9)
27 #define ERROR_ALREADY_CONNECTING (ROUTEBASE+10)
28 #define ERROR_UPDATE_IN_PROGRESS (ROUTEBASE+11)
29 #define ERROR_INTERFACE_CONFIGURATION (ROUTEBASE+12)
30 #define ERROR_NOT_CLIENT_PORT (ROUTEBASE+13)
31 #define ERROR_NOT_ROUTER_PORT (ROUTEBASE+14)
32 #define ERROR_CLIENT_INTERFACE_ALREADY_EXISTS (ROUTEBASE+15)
33 #define ERROR_INTERFACE_DISABLED (ROUTEBASE+16)
34 #define ERROR_AUTH_PROTOCOL_REJECTED (ROUTEBASE+17)
35 #define ERROR_NO_AUTH_PROTOCOL_AVAILABLE (ROUTEBASE+18)
36 #define ERROR_PEER_REFUSED_AUTH (ROUTEBASE+19)
37 #define ERROR_REMOTE_NO_DIALIN_PERMISSION (ROUTEBASE+20)
38 #define ERROR_REMOTE_PASSWD_EXPIRED (ROUTEBASE+21)
39 #define ERROR_REMOTE_ACCT_DISABLED (ROUTEBASE+22)
40 #define ERROR_REMOTE_RESTRICTED_LOGON_HOURS (ROUTEBASE+23)
41 #define ERROR_REMOTE_AUTHENTICATION_FAILURE (ROUTEBASE+24)
42 #define ERROR_INTERFACE_HAS_NO_DEVICES (ROUTEBASE+25)
43 #define ERROR_IDLE_DISCONNECTED (ROUTEBASE+26)
44 #define ERROR_INTERFACE_UNREACHABLE (ROUTEBASE+27)
45 #define ERROR_SERVICE_IS_PAUSED (ROUTEBASE+28)
46 #define ERROR_INTERFACE_DISCONNECTED (ROUTEBASE+29)
47 #define ERROR_AUTH_SERVER_TIMEOUT (ROUTEBASE+30)
48 #define ERROR_PORT_LIMIT_REACHED (ROUTEBASE+31)
49 #define ERROR_PPP_SESSION_TIMEOUT (ROUTEBASE+32)
50 #define ERROR_MAX_LAN_INTERFACE_LIMIT (ROUTEBASE+33)
51 #define ERROR_MAX_WAN_INTERFACE_LIMIT (ROUTEBASE+34)
52 #define ERROR_MAX_CLIENT_INTERFACE_LIMIT (ROUTEBASE+35)
53 #define ERROR_BAP_DISCONNECTED (ROUTEBASE+36)
54 #define ERROR_USER_LIMIT (ROUTEBASE+37)
55 #define ERROR_NO_RADIUS_SERVERS (ROUTEBASE+38)
56 #define ERROR_INVALID_RADIUS_RESPONSE (ROUTEBASE+39)
57 #define ERROR_DIALIN_HOURS_RESTRICTION (ROUTEBASE+40)
58 #define ERROR_ALLOWED_PORT_TYPE_RESTRICTION (ROUTEBASE+41)
59 #define ERROR_AUTH_PROTOCOL_RESTRICTION (ROUTEBASE+42)
60 #define ERROR_BAP_REQUIRED (ROUTEBASE+43)
61 #define ERROR_DIALOUT_HOURS_RESTRICTION (ROUTEBASE+44)
62 #define ERROR_ROUTER_CONFIG_INCOMPATIBLE (ROUTEBASE+45)
63 #define WARNING_NO_MD5_MIGRATION (ROUTEBASE+46)
64 #define ERROR_PROTOCOL_ALREADY_INSTALLED (ROUTEBASE+48)
65 #define ERROR_INVALID_SIGNATURE_LENGTH (ROUTEBASE+49)
66 #define ERROR_INVALID_SIGNATURE (ROUTEBASE+50)
67 #define ERROR_NO_SIGNATURE (ROUTEBASE+51)
68 #define ERROR_INVALID_PACKET_LENGTH_OR_ID (ROUTEBASE+52)
69 #define ERROR_INVALID_ATTRIBUTE_LENGTH (ROUTEBASE+53)
70 #define ERROR_INVALID_PACKET (ROUTEBASE+54)
71 #define ERROR_AUTHENTICATOR_MISMATCH (ROUTEBASE+55)
72 #define ROUTEBASEEND (ROUTEBASE+56)
74 #endif