RasError.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:30k
源码类别:

模拟服务器

开发平台:

C/C++

  1. /*++
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Module Name:
  4.     raserror.h
  5. Abstract:
  6.     RAS specific error codes
  7.     
  8. --*/
  9. #ifndef _RASERROR_H_
  10. #define _RASERROR_H_
  11. #if _MSC_VER > 1000
  12. #pragma once
  13. #endif
  14. #define RASBASE 600
  15. #define SUCCESS 0
  16. #define PENDING                              (RASBASE+0)
  17. /*
  18.  * An operation is pending.%0
  19.  */
  20. #define ERROR_INVALID_PORT_HANDLE            (RASBASE+1)
  21. /*
  22.  * An invalid port handle was detected.%0
  23.  */
  24. #define ERROR_PORT_ALREADY_OPEN              (RASBASE+2)
  25. /*
  26.  * The specified port is already open.%0
  27.  */
  28. #define ERROR_BUFFER_TOO_SMALL               (RASBASE+3)
  29. /*
  30.  * The caller's buffer is too small.%0
  31.  */
  32. #define ERROR_WRONG_INFO_SPECIFIED           (RASBASE+4)
  33. /*
  34.  * Incorrect information was specified.%0
  35.  */
  36. #define ERROR_CANNOT_SET_PORT_INFO           (RASBASE+5)
  37. /*
  38.  * The port information cannot be set.%0
  39.  */
  40. #define ERROR_PORT_NOT_CONNECTED             (RASBASE+6)
  41. /*
  42.  * The specified port is not connected.%0
  43.  */
  44. #define ERROR_EVENT_INVALID                  (RASBASE+7)
  45. /*
  46.  * An invalid event was detected.%0
  47.  */
  48. #define ERROR_DEVICE_DOES_NOT_EXIST          (RASBASE+8)
  49. /*
  50.  * A device was specified that does not exist.%0
  51.  */
  52. #define ERROR_DEVICETYPE_DOES_NOT_EXIST      (RASBASE+9)
  53. /*
  54.  * A device type was specified that does not exist.%0
  55.  */
  56. #define ERROR_BUFFER_INVALID                 (RASBASE+10)
  57. /*
  58.  * An invalid buffer was specified.%0
  59.  */
  60. #define ERROR_ROUTE_NOT_AVAILABLE            (RASBASE+11)
  61. /*
  62.  * A route was specified that is not available.%0
  63.  */
  64. #define ERROR_ROUTE_NOT_ALLOCATED            (RASBASE+12)
  65. /*
  66.  * A route was specified that is not allocated.%0
  67.  */
  68. #define ERROR_INVALID_COMPRESSION_SPECIFIED  (RASBASE+13)
  69. /*
  70.  * An invalid compression was specified.%0
  71.  */
  72. #define ERROR_OUT_OF_BUFFERS                 (RASBASE+14)
  73. /*
  74.  * There were insufficient buffers available.%0
  75.  */
  76. #define ERROR_PORT_NOT_FOUND                 (RASBASE+15)
  77. /*
  78.  * The specified port was not found.%0
  79.  */ 
  80. #define ERROR_ASYNC_REQUEST_PENDING          (RASBASE+16)
  81. /*
  82.  * An asynchronous request is pending.%0
  83.  */
  84. #define ERROR_ALREADY_DISCONNECTING          (RASBASE+17)
  85. /*
  86.  * The modem (or other connecting device) is already disconnecting.%0
  87.  */
  88. #define ERROR_PORT_NOT_OPEN                  (RASBASE+18)
  89. /*
  90.  * The specified port is not open.%0
  91.  */ 
  92. #define ERROR_PORT_DISCONNECTED              (RASBASE+19)
  93. /*
  94.  * A connection to the remote computer could not be established, so the port used for this connection was closed. For further assistance, click More Info or search Help and Support Center for this error number.%0
  95.  */
  96. #define ERROR_NO_ENDPOINTS                   (RASBASE+20)
  97. /*
  98.  * No endpoints could be determined.%0
  99.  */
  100. #define ERROR_CANNOT_OPEN_PHONEBOOK          (RASBASE+21)
  101. /*
  102.  * The system could not open the phone book file.%0
  103.  */ 
  104. #define ERROR_CANNOT_LOAD_PHONEBOOK          (RASBASE+22)
  105. /*
  106.  * The system could not load the phone book file.%0
  107.  */
  108. #define ERROR_CANNOT_FIND_PHONEBOOK_ENTRY    (RASBASE+23)
  109. /*
  110.  * The system could not find the phone book entry for this connection.%0
  111.  */
  112. #define ERROR_CANNOT_WRITE_PHONEBOOK         (RASBASE+24)
  113. /*
  114.  * The system could not update the phone book file.%0
  115.  */
  116. #define ERROR_CORRUPT_PHONEBOOK              (RASBASE+25)
  117. /*
  118.  * The system found invalid information in the phone book file.%0
  119.  */
  120. #define ERROR_CANNOT_LOAD_STRING             (RASBASE+26)
  121. /*
  122.  * A string could not be loaded.%0
  123.  */
  124. #define ERROR_KEY_NOT_FOUND                  (RASBASE+27)
  125. /*
  126.  * A key could not be found.%0
  127.  */
  128. #define ERROR_DISCONNECTION                  (RASBASE+28)
  129. /*
  130.  * The connection was terminated by the remote computer before it could be completed. For further assistance, click More Info or search Help and Support Center for this error number.%0
  131.  */ 
  132. #define ERROR_REMOTE_DISCONNECTION           (RASBASE+29)
  133. /*
  134.  * The connection was closed by the remote computer.%0
  135.  */
  136. #define ERROR_HARDWARE_FAILURE               (RASBASE+30)
  137. /*
  138.  * The modem (or other connecting device) was disconnected due to hardware failure.%0
  139.  */
  140. #define ERROR_USER_DISCONNECTION             (RASBASE+31)
  141. /*
  142.  * The user disconnected the modem (or other connecting device).%0
  143.  */
  144. #define ERROR_INVALID_SIZE                   (RASBASE+32)
  145. /*
  146.  * An incorrect structure size was detected.%0
  147.  */
  148. #define ERROR_PORT_NOT_AVAILABLE             (RASBASE+33)
  149. /*
  150.  * The modem (or other connecting device) is already in use or is not configured properly.%0 
  151.  */
  152. #define ERROR_CANNOT_PROJECT_CLIENT          (RASBASE+34)
  153. /*
  154.  * Your computer could not be registered on the remote network.%0
  155.  */ 
  156. #define ERROR_UNKNOWN                        (RASBASE+35)
  157. /*
  158.  * There was an unknown error.%0
  159.  */
  160. #define ERROR_WRONG_DEVICE_ATTACHED          (RASBASE+36)
  161. /*
  162.  * The device attached to the port is not the one expected.%0
  163.  */
  164. #define ERROR_BAD_STRING                     (RASBASE+37)
  165. /*
  166.  * A string was detected that could not be converted.%0
  167.  */
  168. #define ERROR_REQUEST_TIMEOUT                (RASBASE+38)
  169. /*
  170.  * The request has timed out.%0
  171.  */
  172. #define ERROR_CANNOT_GET_LANA                (RASBASE+39)
  173. /*
  174.  * No asynchronous net is available.%0
  175.  */
  176. #define ERROR_NETBIOS_ERROR                  (RASBASE+40)
  177. /*
  178.  * An error has occurred involving NetBIOS.%0
  179.  */
  180. #define ERROR_SERVER_OUT_OF_RESOURCES        (RASBASE+41)
  181. /*
  182.  * The server cannot allocate NetBIOS resources needed to support the client.%0
  183.  */
  184. #define ERROR_NAME_EXISTS_ON_NET             (RASBASE+42)
  185. /*
  186.  * One of your computer's NetBIOS names is already registered on the remote network.%0
  187.  */
  188. #define ERROR_SERVER_GENERAL_NET_FAILURE     (RASBASE+43)
  189. /*
  190.  * A network adapter at the server failed.%0
  191.  */
  192. #define WARNING_MSG_ALIAS_NOT_ADDED          (RASBASE+44)
  193. /*
  194.  * You will not receive network message popups.%0
  195.  */
  196. #define ERROR_AUTH_INTERNAL                  (RASBASE+45)
  197. /*
  198.  * There was an internal authentication error.%0
  199.  */
  200. #define ERROR_RESTRICTED_LOGON_HOURS         (RASBASE+46)
  201. /*
  202.  * The account is not permitted to log on at this time of day.%0
  203.  */
  204. #define ERROR_ACCT_DISABLED                  (RASBASE+47)
  205. /*
  206.  * The account is disabled.%0
  207.  */
  208. #define ERROR_PASSWD_EXPIRED                 (RASBASE+48)
  209. /*
  210.  * The password for this account has expired.%0
  211.  */
  212. #define ERROR_NO_DIALIN_PERMISSION           (RASBASE+49)
  213. /*
  214.  * The account does not have permission to dial in.%0
  215.  */
  216. #define ERROR_SERVER_NOT_RESPONDING          (RASBASE+50)
  217. /*
  218.  * The remote access server is not responding.%0
  219.  */
  220. #define ERROR_FROM_DEVICE                    (RASBASE+51)
  221. /*
  222.  * The modem (or other connecting device) has reported an error.%0
  223.  */
  224. #define ERROR_UNRECOGNIZED_RESPONSE          (RASBASE+52)
  225. /*
  226.  * There was an unrecognized response from the modem (or other connecting device).%0
  227.  */
  228. #define ERROR_MACRO_NOT_FOUND                (RASBASE+53)
  229. /*
  230.  * A macro required by the modem (or other connecting device) was not found in the device.INF file.%0
  231.  */
  232. #define ERROR_MACRO_NOT_DEFINED              (RASBASE+54)
  233. /*
  234.  * A command or response in the device.INF file section refers to an undefined macro.%0
  235.  */
  236. #define ERROR_MESSAGE_MACRO_NOT_FOUND        (RASBASE+55)
  237. /*
  238.  * The <message> macro was not found in the device.INF file section.%0
  239.  */
  240. #define ERROR_DEFAULTOFF_MACRO_NOT_FOUND     (RASBASE+56)
  241. /*
  242.  * The <defaultoff> macro in the device.INF file section contains an undefined macro.%0
  243.  */
  244. #define ERROR_FILE_COULD_NOT_BE_OPENED       (RASBASE+57)
  245. /*
  246.  * The device.INF file could not be opened.%0
  247.  */
  248. #define ERROR_DEVICENAME_TOO_LONG            (RASBASE+58)
  249. /*
  250.  * The device name in the device.INF or media.INI file is too long.%0
  251.  */
  252. #define ERROR_DEVICENAME_NOT_FOUND           (RASBASE+59)
  253. /*
  254.  * The media.INI file refers to an unknown device name.%0
  255.  */
  256. #define ERROR_NO_RESPONSES                   (RASBASE+60)
  257. /*
  258.  * The device.INF file contains no responses for the command.%0
  259.  */
  260. #define ERROR_NO_COMMAND_FOUND               (RASBASE+61)
  261. /*
  262.  * The device.INF file is missing a command.%0
  263.  */
  264. #define ERROR_WRONG_KEY_SPECIFIED            (RASBASE+62)
  265. /*
  266.  * There was an attempt to set a macro not listed in device.INF file section.%0
  267.  */
  268. #define ERROR_UNKNOWN_DEVICE_TYPE            (RASBASE+63)
  269. /*
  270.  * The media.INI file refers to an unknown device type.%0
  271.  */
  272. #define ERROR_ALLOCATING_MEMORY              (RASBASE+64)
  273. /*
  274.  * The system has run out of memory.%0
  275.  */
  276. #define ERROR_PORT_NOT_CONFIGURED            (RASBASE+65)
  277. /*
  278.  * The modem (or other connecting device) is not properly configured.%0
  279.  */
  280. #define ERROR_DEVICE_NOT_READY               (RASBASE+66)
  281. /*
  282.  * The modem (or other connecting device) is not functioning.%0
  283.  */
  284. #define ERROR_READING_INI_FILE               (RASBASE+67)
  285. /*
  286.  * The system was unable to read the media.INI file.%0
  287.  */
  288. #define ERROR_NO_CONNECTION                  (RASBASE+68)
  289. /*
  290.  * The connection was terminated.%0
  291.  */
  292. #define ERROR_BAD_USAGE_IN_INI_FILE          (RASBASE+69)
  293. /*
  294.  * The usage parameter in the media.INI file is invalid.%0
  295.  */
  296. #define ERROR_READING_SECTIONNAME            (RASBASE+70)
  297. /*
  298.  * The system was unable to read the section name from the media.INI file.%0
  299.  */
  300. #define ERROR_READING_DEVICETYPE             (RASBASE+71)
  301. /*
  302.  * The system was unable to read the device type from the media.INI file.%0
  303.  */
  304. #define ERROR_READING_DEVICENAME             (RASBASE+72)
  305. /*
  306.  * The system was unable to read the device name from the media.INI file.%0
  307.  */
  308. #define ERROR_READING_USAGE                  (RASBASE+73)
  309. /*
  310.  * The system was unable to read the usage from the media.INI file.%0
  311.  */
  312. #define ERROR_READING_MAXCONNECTBPS          (RASBASE+74)
  313. /*
  314.  * The system was unable to read the maximum connection BPS rate from the media.INI file.%0
  315.  */
  316. #define ERROR_READING_MAXCARRIERBPS          (RASBASE+75)
  317. /*
  318.  * The system was unable to read the maximum carrier connection speed from the media.INI file.%0
  319.  */
  320. #define ERROR_LINE_BUSY                      (RASBASE+76)
  321. /*
  322.  * The phone line is busy.%0
  323.  */
  324. #define ERROR_VOICE_ANSWER                   (RASBASE+77)
  325. /*
  326.  * A person answered instead of a modem (or other connecting device).%0
  327.  */
  328. #define ERROR_NO_ANSWER                      (RASBASE+78)
  329. /*
  330.  * The remote computer did not respond. For further assistance, click More Info or search Help and Support Center for this error number.%0
  331.  */
  332. #define ERROR_NO_CARRIER                     (RASBASE+79)
  333. /*
  334.  * The system could not detect the carrier.%0
  335.  */
  336. #define ERROR_NO_DIALTONE                    (RASBASE+80)
  337. /*
  338.  * There was no dial tone.%0
  339.  */
  340. #define ERROR_IN_COMMAND                     (RASBASE+81)
  341. /*
  342.  * The modem (or other connecting device) reported a general error.%0
  343.  */
  344. #define ERROR_WRITING_SECTIONNAME            (RASBASE+82)
  345. /*
  346.  * There was an error in writing the section name.%0
  347.  */
  348. #define ERROR_WRITING_DEVICETYPE             (RASBASE+83)
  349. /*
  350.  * There was an error in writing the device type.%0
  351.  */
  352. #define ERROR_WRITING_DEVICENAME             (RASBASE+84)
  353. /*
  354.  * There was an error in writing the device name.%0
  355.  */
  356. #define ERROR_WRITING_MAXCONNECTBPS          (RASBASE+85)
  357. /*
  358.  * There was an error in writing the maximum connection speed.
  359.  */
  360. #define ERROR_WRITING_MAXCARRIERBPS          (RASBASE+86)
  361. /*
  362.  * There was an error in writing the maximum carrier speed.%0
  363.  */
  364. #define ERROR_WRITING_USAGE                  (RASBASE+87)
  365. /*
  366.  * There was an error in writing the usage.%0
  367.  */
  368. #define ERROR_WRITING_DEFAULTOFF             (RASBASE+88)
  369. /*
  370.  *  There was an error in writing the default-off.%0
  371.  */
  372. #define ERROR_READING_DEFAULTOFF             (RASBASE+89)
  373. /*
  374.  *  There was an error in reading the default-off.%0
  375.  */
  376. #define ERROR_EMPTY_INI_FILE                 (RASBASE+90)
  377. /*
  378.  * ERROR_EMPTY_INI_FILE%0
  379.  */
  380. #define ERROR_AUTHENTICATION_FAILURE         (RASBASE+91)
  381. /*
  382.  * Access was denied because the username and/or password was invalid on the domain.%0
  383.  */
  384. #define ERROR_PORT_OR_DEVICE                 (RASBASE+92)
  385. /*
  386.  * There was a hardware failure in the modem (or other connecting device).%0
  387.  */
  388. #define ERROR_NOT_BINARY_MACRO               (RASBASE+93)
  389. /*
  390.  * ERROR_NOT_BINARY_MACRO%0
  391.  */
  392. #define ERROR_DCB_NOT_FOUND                  (RASBASE+94)
  393. /*
  394.  * ERROR_DCB_NOT_FOUND%0
  395.  */
  396. #define ERROR_STATE_MACHINES_NOT_STARTED     (RASBASE+95)
  397. /*
  398.  * The state machines are not started.%0
  399.  */
  400. #define ERROR_STATE_MACHINES_ALREADY_STARTED (RASBASE+96)
  401. /*
  402.  * The state machines are already started.%0
  403.  */
  404. #define ERROR_PARTIAL_RESPONSE_LOOPING       (RASBASE+97)
  405. /*
  406.  * The response looping did not complete.%0
  407.  */
  408. #define ERROR_UNKNOWN_RESPONSE_KEY           (RASBASE+98)
  409. /*
  410.  * A response keyname in the device.INF file is not in the expected format.%0
  411.  */
  412. #define ERROR_RECV_BUF_FULL                  (RASBASE+99)
  413. /*
  414.  * The modem (or other connecting device) response caused a buffer overflow.%0
  415.  */
  416. #define ERROR_CMD_TOO_LONG                   (RASBASE+100)
  417. /*
  418.  * The expanded command in the device.INF file is too long.%0
  419.  */
  420. #define ERROR_UNSUPPORTED_BPS                (RASBASE+101)
  421. /*
  422.  * The modem moved to a connection speed not supported by the COM driver.%0
  423.  */
  424. #define ERROR_UNEXPECTED_RESPONSE            (RASBASE+102)
  425. /*
  426.  * Device response received when none expected.%0
  427.  */
  428. #define ERROR_INTERACTIVE_MODE               (RASBASE+103)
  429. /*
  430.  * The connection needs information from you, but the application does not allow user interaction.%0
  431.  */
  432. #define ERROR_BAD_CALLBACK_NUMBER            (RASBASE+104)
  433. /*
  434.  * The callback number is invalid.%0
  435.  */
  436. #define ERROR_INVALID_AUTH_STATE             (RASBASE+105)
  437. /*
  438.  * The authorization state is invalid.%0
  439.  */
  440. #define ERROR_WRITING_INITBPS                (RASBASE+106)
  441. /*
  442.  * ERROR_WRITING_INITBPS%0
  443.  */
  444. #define ERROR_X25_DIAGNOSTIC                 (RASBASE+107)
  445. /*
  446.  * There was an error related to the X.25 protocol.%0
  447.  */
  448. #define ERROR_ACCT_EXPIRED                   (RASBASE+108)
  449. /*
  450.  * The account has expired.%0
  451.  */
  452. #define ERROR_CHANGING_PASSWORD              (RASBASE+109)
  453. /*
  454.  * There was an error changing the password on the domain.  The password might have been too short or might have matched a previously used password.%0
  455.  */
  456. #define ERROR_OVERRUN                        (RASBASE+110)
  457. /*
  458.  * Serial overrun errors were detected while communicating with the modem.%0
  459.  */
  460. #define ERROR_RASMAN_CANNOT_INITIALIZE      (RASBASE+111)
  461. /*
  462.  * A configuration error on this computer is preventing this connection. For further assistance, click More Info or search Help and Support Center for this error number.%0
  463.  */
  464. #define ERROR_BIPLEX_PORT_NOT_AVAILABLE      (RASBASE+112)
  465. /*
  466.  * The two-way port is initializing.  Wait a few seconds and redial.%0
  467.  */
  468. #define ERROR_NO_ACTIVE_ISDN_LINES           (RASBASE+113)
  469. /*
  470.  * No active ISDN lines are available.%0
  471.  */
  472. #define ERROR_NO_ISDN_CHANNELS_AVAILABLE     (RASBASE+114)
  473. /*
  474.  * No ISDN channels are available to make the call.%0
  475.  */
  476. #define ERROR_TOO_MANY_LINE_ERRORS           (RASBASE+115)
  477. /*
  478.  * Too many errors occurred because of poor phone line quality.%0
  479.  */
  480. #define ERROR_IP_CONFIGURATION               (RASBASE+116)
  481. /*
  482.  * The Remote Access Service IP configuration is unusable.%0
  483.  */
  484. #define ERROR_NO_IP_ADDRESSES                (RASBASE+117)
  485. /*
  486.  * No IP addresses are available in the static pool of Remote Access Service IP addresses.%0
  487.  */
  488. #define ERROR_PPP_TIMEOUT                    (RASBASE+118)
  489. /*
  490.  * The connection was terminated because the remote computer did not respond in a timely manner. For further assistance, click More Info or search Help and Support Center for this error number.%0
  491.  */
  492. #define ERROR_PPP_REMOTE_TERMINATED          (RASBASE+119)
  493. /*
  494.  * The connection was terminated by the remote computer.%0
  495.  */
  496. #define ERROR_PPP_NO_PROTOCOLS_CONFIGURED    (RASBASE+120)
  497. /*
  498.  * A connection to the remote computer could not be established. You might need to change the network settings for this connection. For further assistance, click More Info or search Help and Support Center for this error number.%0
  499.  */
  500. #define ERROR_PPP_NO_RESPONSE                (RASBASE+121)
  501. /*
  502.  * The remote computer did not respond. For further assistance, click More Info or search Help and Support Center for this error number.%0
  503.  */
  504. #define ERROR_PPP_INVALID_PACKET             (RASBASE+122)
  505. /*
  506.  * Invalid data was received from the remote computer. This data was ignored.%0
  507.  */
  508. #define ERROR_PHONE_NUMBER_TOO_LONG          (RASBASE+123)
  509. /*
  510.  * The phone number, including prefix and suffix, is too long.%0
  511.  */
  512. #define ERROR_IPXCP_NO_DIALOUT_CONFIGURED    (RASBASE+124)
  513. /*
  514.  * The IPX protocol cannot dial out on the modem (or other connecting device) because this computer is not configured for dialing out (it is an IPX router).%0
  515.  */
  516. #define ERROR_IPXCP_NO_DIALIN_CONFIGURED     (RASBASE+125)
  517. /*
  518.  * The IPX protocol cannot dial in on the modem (or other connecting device) because this computer is not configured for dialing in (the IPX router is not installed).%0
  519.  */
  520. #define ERROR_IPXCP_DIALOUT_ALREADY_ACTIVE   (RASBASE+126)
  521. /*
  522.  * The IPX protocol cannot be used for dialing out on more than one modem (or other connecting device) at a time.%0
  523.  */
  524. #define ERROR_ACCESSING_TCPCFGDLL            (RASBASE+127)
  525. /*
  526.  * Cannot access TCPCFG.DLL.%0
  527.  */
  528. #define ERROR_NO_IP_RAS_ADAPTER              (RASBASE+128)
  529. /*
  530.  * The system cannot find an IP adapter.%0
  531.  */
  532. #define ERROR_SLIP_REQUIRES_IP               (RASBASE+129)
  533. /*
  534.  * SLIP cannot be used unless the IP protocol is installed.%0
  535.  */
  536. #define ERROR_PROJECTION_NOT_COMPLETE        (RASBASE+130)
  537. /*
  538.  * Computer registration is not complete.%0
  539.  */
  540. #define ERROR_PROTOCOL_NOT_CONFIGURED        (RASBASE+131)
  541. /*
  542.  * The protocol is not configured.%0
  543.  */
  544. #define ERROR_PPP_NOT_CONVERGING             (RASBASE+132)
  545. /*
  546.  *Your computer and the remote computer could not agree on PPP control protocols.%0
  547.  */
  548. #define ERROR_PPP_CP_REJECTED                (RASBASE+133)
  549. /*
  550.  * A connection to the remote computer could not be completed. You might need to adjust the protocols on this computer. For further assistance, click More Info or search Help and Support Center for this error number.%0
  551.  */
  552. #define ERROR_PPP_LCP_TERMINATED             (RASBASE+134)
  553. /*
  554.  * The PPP link control protocol was terminated.%0
  555.  */
  556. #define ERROR_PPP_REQUIRED_ADDRESS_REJECTED  (RASBASE+135)
  557. /*
  558.  * The requested address was rejected by the server.%0
  559.  */
  560. #define ERROR_PPP_NCP_TERMINATED             (RASBASE+136)
  561. /*
  562.  * The remote computer terminated the control protocol.%0
  563.  */
  564. #define ERROR_PPP_LOOPBACK_DETECTED          (RASBASE+137)
  565. /*
  566.  * Loopback was detected.%0
  567.  */
  568. #define ERROR_PPP_NO_ADDRESS_ASSIGNED        (RASBASE+138)
  569. /*
  570.  * The server did not assign an address.%0
  571.  */
  572. #define ERROR_CANNOT_USE_LOGON_CREDENTIALS   (RASBASE+139)
  573. /*
  574.  * The authentication protocol required by the remote server cannot use the stored password.  Redial, entering the password explicitly.%0
  575.  */
  576. #define ERROR_TAPI_CONFIGURATION             (RASBASE+140)
  577. /*
  578.  * An invalid dialing rule was detected.%0
  579.  */
  580. #define ERROR_NO_LOCAL_ENCRYPTION            (RASBASE+141)
  581. /*
  582.  * The local computer does not support the required data encryption type.%0
  583.  */
  584. #define ERROR_NO_REMOTE_ENCRYPTION           (RASBASE+142)
  585. /*
  586.  * The remote computer does not support the required data encryption type.%0
  587.  */
  588. #define ERROR_REMOTE_REQUIRES_ENCRYPTION     (RASBASE+143)
  589. /*
  590.  * The remote computer requires data encryption.%0
  591.  */
  592. #define ERROR_IPXCP_NET_NUMBER_CONFLICT      (RASBASE+144)
  593. /*
  594.  * The system cannot use the IPX network number assigned by the remote computer.  Additional information is provided in the event log.%0
  595.  */
  596. #define ERROR_INVALID_SMM                    (RASBASE+145)
  597. /*
  598.  * ERROR_INVALID_SMM%0
  599.  */
  600. #define ERROR_SMM_UNINITIALIZED              (RASBASE+146)
  601. /*
  602.  * ERROR_SMM_UNINITIALIZED%0
  603.  */
  604. #define ERROR_NO_MAC_FOR_PORT                (RASBASE+147)
  605. /*
  606.  * ERROR_NO_MAC_FOR_PORT%0
  607.  */
  608. #define ERROR_SMM_TIMEOUT                    (RASBASE+148)
  609. /*
  610.  * ERROR_SMM_TIMEOUT%0
  611.  */
  612. #define ERROR_BAD_PHONE_NUMBER               (RASBASE+149)
  613. /*
  614.  * ERROR_BAD_PHONE_NUMBER%0
  615.  */
  616. #define ERROR_WRONG_MODULE                   (RASBASE+150)
  617. /*
  618.  * ERROR_WRONG_MODULE%0
  619.  */
  620. #define ERROR_INVALID_CALLBACK_NUMBER        (RASBASE+151)
  621. /*
  622.  * The callback number contains an invalid character.  Only the following 18 characters are allowed:  0 to 9, T, P, W, (, ), -, @, and space.%0
  623.  */
  624. #define ERROR_SCRIPT_SYNTAX                  (RASBASE+152)
  625. /*
  626.  * A syntax error was encountered while processing a script.%0
  627.  */
  628. #define ERROR_HANGUP_FAILED                  (RASBASE+153)
  629. /*
  630.  * The connection could not be disconnected because it was created by the multi-protocol router.%0
  631.  */
  632. #define ERROR_BUNDLE_NOT_FOUND               (RASBASE+154)
  633. /*
  634.  * The system could not find the multi-link bundle.%0
  635.  */
  636. #define ERROR_CANNOT_DO_CUSTOMDIAL           (RASBASE+155)
  637. /*
  638.  * The system cannot perform automated dial because this connection  has a custom dialer specified.%0
  639.  */ 
  640. #define ERROR_DIAL_ALREADY_IN_PROGRESS      (RASBASE+156)
  641. /*
  642.  * This connection is already being dialed.%0
  643.  */
  644. #define ERROR_RASAUTO_CANNOT_INITIALIZE     (RASBASE+157)
  645. /*
  646.  * Remote Access Services could not be started automatically. Additional information is provided in the event log.%0
  647.  */
  648. #define ERROR_CONNECTION_ALREADY_SHARED     (RASBASE+158)
  649. /*
  650.  * Internet Connection Sharing is already enabled on the connection.%0
  651.  */
  652. #define ERROR_SHARING_CHANGE_FAILED         (RASBASE+159)
  653. /*
  654.  * An error occurred while the existing Internet Connection Sharing
  655.  * settings were being changed.%0
  656.  */
  657. #define ERROR_SHARING_ROUTER_INSTALL        (RASBASE+160)
  658. /*
  659.  * An error occurred while routing capabilities were being enabled.%0
  660.  */
  661. #define ERROR_SHARE_CONNECTION_FAILED       (RASBASE+161)
  662. /*
  663.  * An error occurred while Internet Connection Sharing was being enabled
  664.  * for the connection.%0
  665.  */
  666. #define ERROR_SHARING_PRIVATE_INSTALL       (RASBASE+162)
  667. /*
  668.  * An error occurred while the local network was being configured for sharing.%0
  669.  */
  670. #define ERROR_CANNOT_SHARE_CONNECTION       (RASBASE+163)
  671. /*
  672.  * Internet Connection Sharing cannot be enabled.
  673.  * There is more than one LAN connection other than the connection
  674.  * to be shared.%0
  675.  */
  676. #define ERROR_NO_SMART_CARD_READER          (RASBASE+164)
  677. /*
  678.  * No smart card reader is installed.%0
  679.  */
  680. #define ERROR_SHARING_ADDRESS_EXISTS        (RASBASE+165)
  681. /*
  682.  * Internet Connection Sharing cannot be enabled.
  683.  * A LAN connection is already configured with the IP address
  684.  * that is required for automatic IP addressing.%0
  685.  */
  686. #define ERROR_NO_CERTIFICATE                (RASBASE+166)
  687. /*
  688.  * A certificate could not be found. Connections that use the L2TP protocol over IPSec require the installation of a machine certificate, also known as a computer certificate.%0
  689.  */
  690. #define ERROR_SHARING_MULTIPLE_ADDRESSES    (RASBASE+167)
  691. /*
  692.  * Internet Connection Sharing cannot be enabled. The LAN connection selected
  693.  * as the private network has more than one IP address configured.
  694.  * Please reconfigure the LAN connection with a single IP address
  695.  * before enabling Internet Connection Sharing.%0
  696.  */
  697. #define ERROR_FAILED_TO_ENCRYPT             (RASBASE+168)
  698. /*
  699.  * The connection attempt failed because of failure to encrypt data.%0
  700.  */
  701. #define ERROR_BAD_ADDRESS_SPECIFIED         (RASBASE+169)
  702. /*
  703.  * The specified destination is not reachable.%0
  704.  */
  705. #define ERROR_CONNECTION_REJECT             (RASBASE+170)
  706. /*
  707.  * The remote computer rejected the connection attempt.%0
  708.  */
  709. #define ERROR_CONGESTION                    (RASBASE+171)
  710. /*
  711.  * The connection attempt failed because the network is busy.%0
  712.  */
  713. #define ERROR_INCOMPATIBLE                  (RASBASE+172)
  714. /*
  715.  * The remote computer's network hardware is incompatible with the type of call requested.%0
  716.  */
  717. #define ERROR_NUMBERCHANGED                 (RASBASE+173)
  718. /*
  719.  * The connection attempt failed because the destination number has changed.%0
  720.  */
  721. #define ERROR_TEMPFAILURE                   (RASBASE+174)
  722. /*
  723.  * The connection attempt failed because of a temporary failure.  Try connecting again.%0
  724.  */ 
  725. #define ERROR_BLOCKED                       (RASBASE+175)
  726. /*
  727.  * The call was blocked by the remote computer.%0
  728.  */
  729. #define ERROR_DONOTDISTURB                  (RASBASE+176)
  730. /*
  731.  * The call could not be connected because the remote computer has invoked the Do Not Disturb feature.%0
  732.  */
  733. #define ERROR_OUTOFORDER                    (RASBASE+177)
  734. /*
  735.  * The connection attempt failed because the modem (or other connecting device) on the remote computer is out of order.%0
  736.  */
  737. #define ERROR_UNABLE_TO_AUTHENTICATE_SERVER (RASBASE+178)
  738. /*
  739.  * It was not possible to verify the identity of the server.%0
  740.  */
  741. #define ERROR_SMART_CARD_REQUIRED           (RASBASE+179)
  742. /*
  743.  * To dial out using this connection you must use a smart card.%0
  744.  */
  745. #define ERROR_INVALID_FUNCTION_FOR_ENTRY    (RASBASE+180)
  746. /*
  747.  * An attempted function is not valid for this connection.%0
  748.  */
  749. #define ERROR_CERT_FOR_ENCRYPTION_NOT_FOUND (RASBASE+181)
  750. /*
  751.  * The connection requires a certificate, and no valid certificate was found. For further assistance, click More Info or search Help and Support Center for this error number.%0
  752.  */
  753. #define ERROR_SHARING_RRAS_CONFLICT         (RASBASE+182)
  754. /*
  755.  * Network Address Translation (NAT) is currently installed as a routing protocol, and must be 
  756.  * removed before enabling Internet Connection Sharing and/or Internet Connection Firewall.%0
  757.  */
  758. #define ERROR_SHARING_NO_PRIVATE_LAN        (RASBASE+183)
  759. /*
  760.  * Internet Connection Sharing cannot be enabled. The LAN connection selected
  761.  * as the private network is either not present, or is disconnected
  762.  * from the network. Please ensure that the LAN adapter is connected
  763.  * before enabling Internet Connection Sharing.%0
  764.  */
  765. #define ERROR_NO_DIFF_USER_AT_LOGON         (RASBASE+184)
  766. /*
  767.  * You cannot dial using this connection at logon time, because it is
  768.  * configured to use a user name different than the one on the smart
  769.  * card. If you want to use it at logon time, you must configure it to
  770.  * use the user name on the smart card.%0
  771.  */
  772. #define ERROR_NO_REG_CERT_AT_LOGON          (RASBASE+185)
  773. /*
  774.  * You cannot dial using this connection at logon time, because it is
  775.  * not configured to use a smart card. If you want to use it at logon
  776.  * time, you must edit the properties of this connection so that it uses
  777.  * a smart card.%0
  778.  */
  779. #define ERROR_OAKLEY_NO_CERT                (RASBASE+186)
  780. /*
  781.  * The L2TP connection attempt failed because there is no valid machine certificate on your computer for security authentication.%0
  782.  */
  783. #define ERROR_OAKLEY_AUTH_FAIL              (RASBASE+187)
  784. /*
  785.  * The L2TP connection attempt failed because the security layer could not authenticate the remote computer.%0
  786.  */
  787. #define ERROR_OAKLEY_ATTRIB_FAIL            (RASBASE+188)
  788. /*
  789.  * The L2TP connection attempt failed because the security layer could not negotiate compatible parameters with the remote computer.%0
  790.  */
  791. #define ERROR_OAKLEY_GENERAL_PROCESSING     (RASBASE+189)
  792. /*
  793.  * The L2TP connection attempt failed because the security layer encountered a processing error during initial negotiations with the remote computer.%0
  794.  */
  795. #define ERROR_OAKLEY_NO_PEER_CERT           (RASBASE+190)
  796. /*
  797.  * The L2TP connection attempt failed because certificate validation on the remote computer failed.%0
  798.  */
  799. #define ERROR_OAKLEY_NO_POLICY              (RASBASE+191)
  800. /*
  801.  * The L2TP connection attempt failed because security policy for the connection was not found.%0
  802.  */
  803. #define ERROR_OAKLEY_TIMED_OUT              (RASBASE+192)
  804. /*
  805.  * The L2TP connection attempt failed because security negotiation timed out.%0
  806.  */
  807. #define ERROR_OAKLEY_ERROR                  (RASBASE+193)
  808. /*
  809.  * The L2TP connection attempt failed because an error occurred while negotiating security.%0
  810.  */
  811. #define ERROR_UNKNOWN_FRAMED_PROTOCOL       (RASBASE+194)
  812. /*
  813.  * The Framed Protocol RADIUS attribute for this user is not PPP.%0
  814.  */
  815. #define ERROR_WRONG_TUNNEL_TYPE             (RASBASE+195)
  816. /*
  817.  * The Tunnel Type RADIUS attribute for this user is not correct.%0
  818.  */
  819. #define ERROR_UNKNOWN_SERVICE_TYPE          (RASBASE+196)
  820. /*
  821.  * The Service Type RADIUS attribute for this user is neither Framed nor Callback Framed.%0
  822.  */
  823. #define ERROR_CONNECTING_DEVICE_NOT_FOUND   (RASBASE+197)
  824. /*
  825.  * A connection to the remote computer could not be established because the modem was not found or was busy. For further assistance, click More Info or search Help and Support Center for this error number.%0
  826.  */
  827. #define ERROR_NO_EAPTLS_CERTIFICATE          (RASBASE+198)
  828. /*
  829.  * A certificate could not be found that can be used with this Extensible Authentication Protocol.%0
  830.  */
  831. #define ERROR_SHARING_HOST_ADDRESS_CONFLICT (RASBASE+199)
  832. /*
  833.  * Internet Connection Sharing (ICS) cannot be enabled due to an IP 
  834.  * address conflict on the network. ICS requires the host be configured to use 
  835.  * 192.168.0.1. Please ensure that no other client on the network is
  836.  * configured to use 192.168.0.1.%0
  837.  */
  838. #define ERROR_AUTOMATIC_VPN_FAILED          (RASBASE+200)
  839. /*
  840.  * Unable to establish the VPN connection.  The VPN server may be unreachable, or security parameters may not be configured properly for this connection.%0
  841.  */
  842. #define RASBASEEND                          (RASBASE+200)
  843. #endif // _RASERROR_H_
  844.