1 /***********************************************************************\ 2 * raserror.d * 3 * * 4 * Windows API header module * 5 * * 6 * Translated from MinGW Windows headers * 7 * * 8 * Placed into public domain * 9 \***********************************************************************/ 10 module win32.raserror; 11 version(Windows): 12 13 enum { 14 SUCCESS = 0, 15 RASBASE = 600, 16 PENDING = RASBASE, 17 ERROR_INVALID_PORT_HANDLE, 18 ERROR_PORT_ALREADY_OPEN, 19 ERROR_BUFFER_TOO_SMALL, 20 ERROR_WRONG_INFO_SPECIFIED, 21 ERROR_CANNOT_SET_PORT_INFO, 22 ERROR_PORT_NOT_CONNECTED, 23 ERROR_EVENT_INVALID, 24 ERROR_DEVICE_DOES_NOT_EXIST, 25 ERROR_DEVICETYPE_DOES_NOT_EXIST, 26 ERROR_BUFFER_INVALID, 27 ERROR_ROUTE_NOT_AVAILABLE, 28 ERROR_ROUTE_NOT_ALLOCATED, 29 ERROR_INVALID_COMPRESSION_SPECIFIED, 30 ERROR_OUT_OF_BUFFERS, 31 ERROR_PORT_NOT_FOUND, 32 ERROR_ASYNC_REQUEST_PENDING, 33 ERROR_ALREADY_DISCONNECTING, 34 ERROR_PORT_NOT_OPEN, 35 ERROR_PORT_DISCONNECTED, 36 ERROR_NO_ENDPOINTS, 37 ERROR_CANNOT_OPEN_PHONEBOOK, 38 ERROR_CANNOT_LOAD_PHONEBOOK, 39 ERROR_CANNOT_FIND_PHONEBOOK_ENTRY, 40 ERROR_CANNOT_WRITE_PHONEBOOK, 41 ERROR_CORRUPT_PHONEBOOK, 42 ERROR_CANNOT_LOAD_STRING, 43 ERROR_KEY_NOT_FOUND, 44 ERROR_DISCONNECTION, 45 ERROR_REMOTE_DISCONNECTION, 46 ERROR_HARDWARE_FAILURE, 47 ERROR_USER_DISCONNECTION, 48 ERROR_INVALID_SIZE, 49 ERROR_PORT_NOT_AVAILABLE, 50 ERROR_CANNOT_PROJECT_CLIENT, 51 ERROR_UNKNOWN, 52 ERROR_WRONG_DEVICE_ATTACHED, 53 ERROR_BAD_STRING, 54 ERROR_REQUEST_TIMEOUT, 55 ERROR_CANNOT_GET_LANA, 56 ERROR_NETBIOS_ERROR, 57 ERROR_SERVER_OUT_OF_RESOURCES, 58 ERROR_NAME_EXISTS_ON_NET, 59 ERROR_SERVER_GENERAL_NET_FAILURE, 60 WARNING_MSG_ALIAS_NOT_ADDED, 61 ERROR_AUTH_INTERNAL, 62 ERROR_RESTRICTED_LOGON_HOURS, 63 ERROR_ACCT_DISABLED, 64 ERROR_PASSWD_EXPIRED, 65 ERROR_NO_DIALIN_PERMISSION, 66 ERROR_SERVER_NOT_RESPONDING, 67 ERROR_FROM_DEVICE, 68 ERROR_UNRECOGNIZED_RESPONSE, 69 ERROR_MACRO_NOT_FOUND, 70 ERROR_MACRO_NOT_DEFINED, 71 ERROR_MESSAGE_MACRO_NOT_FOUND, 72 ERROR_DEFAULTOFF_MACRO_NOT_FOUND, 73 ERROR_FILE_COULD_NOT_BE_OPENED, 74 ERROR_DEVICENAME_TOO_LONG, 75 ERROR_DEVICENAME_NOT_FOUND, 76 ERROR_NO_RESPONSES, 77 ERROR_NO_COMMAND_FOUND, 78 ERROR_WRONG_KEY_SPECIFIED, 79 ERROR_UNKNOWN_DEVICE_TYPE, 80 ERROR_ALLOCATING_MEMORY, 81 ERROR_PORT_NOT_CONFIGURED, 82 ERROR_DEVICE_NOT_READY, 83 ERROR_READING_INI_FILE, 84 ERROR_NO_CONNECTION, 85 ERROR_BAD_USAGE_IN_INI_FILE, 86 ERROR_READING_SECTIONNAME, 87 ERROR_READING_DEVICETYPE, 88 ERROR_READING_DEVICENAME, 89 ERROR_READING_USAGE, 90 ERROR_READING_MAXCONNECTBPS, 91 ERROR_READING_MAXCARRIERBPS, 92 ERROR_LINE_BUSY, 93 ERROR_VOICE_ANSWER, 94 ERROR_NO_ANSWER, 95 ERROR_NO_CARRIER, 96 ERROR_NO_DIALTONE, 97 ERROR_IN_COMMAND, 98 ERROR_WRITING_SECTIONNAME, 99 ERROR_WRITING_DEVICETYPE, 100 ERROR_WRITING_DEVICENAME, 101 ERROR_WRITING_MAXCONNECTBPS, 102 ERROR_WRITING_MAXCARRIERBPS, 103 ERROR_WRITING_USAGE, 104 ERROR_WRITING_DEFAULTOFF, 105 ERROR_READING_DEFAULTOFF, 106 ERROR_EMPTY_INI_FILE, 107 ERROR_AUTHENTICATION_FAILURE, 108 ERROR_PORT_OR_DEVICE, 109 ERROR_NOT_BINARY_MACRO, 110 ERROR_DCB_NOT_FOUND, 111 ERROR_STATE_MACHINES_NOT_STARTED, 112 ERROR_STATE_MACHINES_ALREADY_STARTED, 113 ERROR_PARTIAL_RESPONSE_LOOPING, 114 ERROR_UNKNOWN_RESPONSE_KEY, 115 ERROR_RECV_BUF_FULL, 116 ERROR_CMD_TOO_LONG, 117 ERROR_UNSUPPORTED_BPS, 118 ERROR_UNEXPECTED_RESPONSE, 119 ERROR_INTERACTIVE_MODE, 120 ERROR_BAD_CALLBACK_NUMBER, 121 ERROR_INVALID_AUTH_STATE, 122 ERROR_WRITING_INITBPS, 123 ERROR_X25_DIAGNOSTIC, 124 ERROR_ACCT_EXPIRED, 125 ERROR_CHANGING_PASSWORD, 126 ERROR_OVERRUN, 127 ERROR_RASMAN_CANNOT_INITIALIZE, 128 ERROR_BIPLEX_PORT_NOT_AVAILABLE, 129 ERROR_NO_ACTIVE_ISDN_LINES, 130 ERROR_NO_ISDN_CHANNELS_AVAILABLE, 131 ERROR_TOO_MANY_LINE_ERRORS, 132 ERROR_IP_CONFIGURATION, 133 ERROR_NO_IP_ADDRESSES, 134 ERROR_PPP_TIMEOUT, 135 ERROR_PPP_REMOTE_TERMINATED, 136 ERROR_PPP_NO_PROTOCOLS_CONFIGURED, 137 ERROR_PPP_NO_RESPONSE, 138 ERROR_PPP_INVALID_PACKET, 139 ERROR_PHONE_NUMBER_TOO_LONG, 140 ERROR_IPXCP_NO_DIALOUT_CONFIGURED, 141 ERROR_IPXCP_NO_DIALIN_CONFIGURED, 142 ERROR_IPXCP_DIALOUT_ALREADY_ACTIVE, 143 ERROR_ACCESSING_TCPCFGDLL, 144 ERROR_NO_IP_RAS_ADAPTER, 145 ERROR_SLIP_REQUIRES_IP, 146 ERROR_PROJECTION_NOT_COMPLETE, 147 ERROR_PROTOCOL_NOT_CONFIGURED, 148 ERROR_PPP_NOT_CONVERGING, 149 ERROR_PPP_CP_REJECTED, 150 ERROR_PPP_LCP_TERMINATED, 151 ERROR_PPP_REQUIRED_ADDRESS_REJECTED, 152 ERROR_PPP_NCP_TERMINATED, 153 ERROR_PPP_LOOPBACK_DETECTED, 154 ERROR_PPP_NO_ADDRESS_ASSIGNED, 155 ERROR_CANNOT_USE_LOGON_CREDENTIALS, 156 ERROR_TAPI_CONFIGURATION, 157 ERROR_NO_LOCAL_ENCRYPTION, 158 ERROR_NO_REMOTE_ENCRYPTION, 159 ERROR_REMOTE_REQUIRES_ENCRYPTION, 160 ERROR_IPXCP_NET_NUMBER_CONFLICT, 161 ERROR_INVALID_SMM, 162 ERROR_SMM_UNINITIALIZED, 163 ERROR_NO_MAC_FOR_PORT, 164 ERROR_SMM_TIMEOUT, 165 ERROR_BAD_PHONE_NUMBER, 166 ERROR_WRONG_MODULE, 167 ERROR_INVALID_CALLBACK_NUMBER, 168 ERROR_SCRIPT_SYNTAX, 169 ERROR_HANGUP_FAILED, 170 ERROR_BUNDLE_NOT_FOUND, 171 ERROR_CANNOT_DO_CUSTOMDIAL, 172 ERROR_DIAL_ALREADY_IN_PROGRESS, 173 ERROR_RASAUTO_CANNOT_INITIALIZE, 174 ERROR_CONNECTION_ALREADY_SHARED, 175 ERROR_SHARING_CHANGE_FAILED, 176 ERROR_SHARING_ROUTER_INSTALL, 177 ERROR_SHARE_CONNECTION_FAILED, 178 ERROR_SHARING_PRIVATE_INSTALL, 179 ERROR_CANNOT_SHARE_CONNECTION, 180 ERROR_NO_SMART_CARD_READER, 181 ERROR_SHARING_ADDRESS_EXISTS, 182 ERROR_NO_CERTIFICATE, 183 ERROR_SHARING_MULTIPLE_ADDRESSES, 184 ERROR_FAILED_TO_ENCRYPT, 185 ERROR_BAD_ADDRESS_SPECIFIED, 186 ERROR_CONNECTION_REJECT, 187 ERROR_CONGESTION, 188 ERROR_INCOMPATIBLE, 189 ERROR_NUMBERCHANGED, 190 ERROR_TEMPFAILURE, 191 ERROR_BLOCKED, 192 ERROR_DONOTDISTURB, 193 ERROR_OUTOFORDER, 194 ERROR_UNABLE_TO_AUTHENTICATE_SERVER, 195 ERROR_SMART_CARD_REQUIRED, 196 ERROR_INVALID_FUNCTION_FOR_ENTRY, 197 ERROR_CERT_FOR_ENCRYPTION_NOT_FOUND, 198 ERROR_SHARING_RRAS_CONFLICT, 199 ERROR_SHARING_NO_PRIVATE_LAN, 200 ERROR_NO_DIFF_USER_AT_LOGON, 201 ERROR_NO_REG_CERT_AT_LOGON, 202 ERROR_OAKLEY_NO_CERT, 203 ERROR_OAKLEY_AUTH_FAIL, 204 ERROR_OAKLEY_ATTRIB_FAIL, 205 ERROR_OAKLEY_GENERAL_PROCESSING, 206 ERROR_OAKLEY_NO_PEER_CERT, 207 ERROR_OAKLEY_NO_POLICY, 208 ERROR_OAKLEY_TIMED_OUT, 209 ERROR_OAKLEY_ERROR, 210 ERROR_UNKNOWN_FRAMED_PROTOCOL, 211 ERROR_WRONG_TUNNEL_TYPE, 212 ERROR_UNKNOWN_SERVICE_TYPE, 213 ERROR_CONNECTING_DEVICE_NOT_FOUND, 214 ERROR_NO_EAPTLS_CERTIFICATE, // = RASBASE+198 215 RASBASEEND = ERROR_NO_EAPTLS_CERTIFICATE 216 }