home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / AutoPC / apcsdk10.exe / data1.cab / Emulation_Include_Files / raserror.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-05-13  |  9.6 KB  |  196 lines

  1. /*++
  2. THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  3. ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  4. THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  5. PARTICULAR PURPOSE.
  6. Copyright (c) 1995, 1996, 1997  Microsoft Corporation
  7.  
  8. Module Name:
  9.  
  10. raserror.h
  11.  
  12. Abstract:
  13.  
  14. Remote Access external API
  15. RAS specific error codes
  16.  
  17. Notes:
  18.  
  19. --*/
  20.  
  21. // @CESYSGEN IF CE_MODULES_PPP
  22.  
  23. #ifndef _RASERROR_H_
  24. #define _RASERROR_H_
  25.  
  26.  
  27. #define RASBASE 600
  28. #define SUCCESS 0
  29.  
  30.  
  31. #define PENDING                              (RASBASE+0)
  32. #define ERROR_INVALID_PORT_HANDLE            (RASBASE+1)
  33. #define ERROR_PORT_ALREADY_OPEN              (RASBASE+2)
  34. #define ERROR_BUFFER_TOO_SMALL               (RASBASE+3)
  35. #define ERROR_WRONG_INFO_SPECIFIED           (RASBASE+4)
  36. #define ERROR_CANNOT_SET_PORT_INFO           (RASBASE+5)
  37. #define ERROR_PORT_NOT_CONNECTED             (RASBASE+6)
  38. #define ERROR_EVENT_INVALID                  (RASBASE+7)
  39. #define ERROR_DEVICE_DOES_NOT_EXIST          (RASBASE+8)
  40. #define ERROR_DEVICETYPE_DOES_NOT_EXIST      (RASBASE+9)
  41. #define ERROR_BUFFER_INVALID                 (RASBASE+10)
  42. #define ERROR_ROUTE_NOT_AVAILABLE            (RASBASE+11)
  43. #define ERROR_ROUTE_NOT_ALLOCATED            (RASBASE+12)
  44. #define ERROR_INVALID_COMPRESSION_SPECIFIED  (RASBASE+13)
  45. #define ERROR_OUT_OF_BUFFERS                 (RASBASE+14)
  46. #define ERROR_PORT_NOT_FOUND                 (RASBASE+15)
  47. #define ERROR_ASYNC_REQUEST_PENDING          (RASBASE+16)
  48. #define ERROR_ALREADY_DISCONNECTING          (RASBASE+17)
  49. #define ERROR_PORT_NOT_OPEN                  (RASBASE+18)
  50. #define ERROR_PORT_DISCONNECTED              (RASBASE+19)
  51. #define ERROR_NO_ENDPOINTS                   (RASBASE+20)
  52. #define ERROR_CANNOT_OPEN_PHONEBOOK          (RASBASE+21)
  53. #define ERROR_CANNOT_LOAD_PHONEBOOK          (RASBASE+22)
  54. #define ERROR_CANNOT_FIND_PHONEBOOK_ENTRY    (RASBASE+23)
  55. #define ERROR_CANNOT_WRITE_PHONEBOOK         (RASBASE+24)
  56. #define ERROR_CORRUPT_PHONEBOOK              (RASBASE+25)
  57. #define ERROR_CANNOT_LOAD_STRING             (RASBASE+26)
  58. #define ERROR_KEY_NOT_FOUND                  (RASBASE+27)
  59. #define ERROR_DISCONNECTION                  (RASBASE+28)
  60. #define ERROR_REMOTE_DISCONNECTION           (RASBASE+29)
  61. #define ERROR_HARDWARE_FAILURE               (RASBASE+30)
  62. #define ERROR_USER_DISCONNECTION             (RASBASE+31)
  63. #define ERROR_INVALID_SIZE                   (RASBASE+32)
  64. #define ERROR_PORT_NOT_AVAILABLE             (RASBASE+33)
  65. #define ERROR_CANNOT_PROJECT_CLIENT          (RASBASE+34)
  66. #define ERROR_UNKNOWN                        (RASBASE+35)
  67. #define ERROR_WRONG_DEVICE_ATTACHED          (RASBASE+36)
  68. #define ERROR_BAD_STRING                     (RASBASE+37)
  69. #define ERROR_REQUEST_TIMEOUT                (RASBASE+38)
  70. #define ERROR_CANNOT_GET_LANA                (RASBASE+39)
  71. #define ERROR_NETBIOS_ERROR                  (RASBASE+40)
  72. #define ERROR_SERVER_OUT_OF_RESOURCES        (RASBASE+41)
  73. #define ERROR_NAME_EXISTS_ON_NET             (RASBASE+42)
  74. #define ERROR_SERVER_GENERAL_NET_FAILURE     (RASBASE+43)
  75. #define WARNING_MSG_ALIAS_NOT_ADDED          (RASBASE+44)
  76. #define ERROR_AUTH_INTERNAL                  (RASBASE+45)
  77. #define ERROR_RESTRICTED_LOGON_HOURS         (RASBASE+46)
  78. #define ERROR_ACCT_DISABLED                  (RASBASE+47)
  79. #define ERROR_PASSWD_EXPIRED                 (RASBASE+48)
  80. #define ERROR_NO_DIALIN_PERMISSION           (RASBASE+49)
  81. #define ERROR_SERVER_NOT_RESPONDING          (RASBASE+50)
  82. #define ERROR_FROM_DEVICE                    (RASBASE+51)
  83. #define ERROR_UNRECOGNIZED_RESPONSE          (RASBASE+52)
  84. #define ERROR_MACRO_NOT_FOUND                (RASBASE+53)
  85. #define ERROR_MACRO_NOT_DEFINED              (RASBASE+54)
  86. #define ERROR_MESSAGE_MACRO_NOT_FOUND        (RASBASE+55)
  87. #define ERROR_DEFAULTOFF_MACRO_NOT_FOUND     (RASBASE+56)
  88. #define ERROR_FILE_COULD_NOT_BE_OPENED       (RASBASE+57)
  89. #define ERROR_DEVICENAME_TOO_LONG            (RASBASE+58)
  90. #define ERROR_DEVICENAME_NOT_FOUND           (RASBASE+59)
  91. #define ERROR_NO_RESPONSES                   (RASBASE+60)
  92. #define ERROR_NO_COMMAND_FOUND               (RASBASE+61)
  93. #define ERROR_WRONG_KEY_SPECIFIED            (RASBASE+62)
  94. #define ERROR_UNKNOWN_DEVICE_TYPE            (RASBASE+63)
  95. #define ERROR_ALLOCATING_MEMORY              (RASBASE+64)
  96. #define ERROR_PORT_NOT_CONFIGURED            (RASBASE+65)
  97. #define ERROR_DEVICE_NOT_READY               (RASBASE+66)
  98. #define ERROR_READING_INI_FILE               (RASBASE+67)
  99. #define ERROR_NO_CONNECTION                  (RASBASE+68)
  100. #define ERROR_BAD_USAGE_IN_INI_FILE          (RASBASE+69)
  101. #define ERROR_READING_SECTIONNAME            (RASBASE+70)
  102. #define ERROR_READING_DEVICETYPE             (RASBASE+71)
  103. #define ERROR_READING_DEVICENAME             (RASBASE+72)
  104. #define ERROR_READING_USAGE                  (RASBASE+73)
  105. #define ERROR_READING_MAXCONNECTBPS          (RASBASE+74)
  106. #define ERROR_READING_MAXCARRIERBPS          (RASBASE+75)
  107. #define ERROR_LINE_BUSY                      (RASBASE+76)
  108. #define ERROR_VOICE_ANSWER                   (RASBASE+77)
  109. #define ERROR_NO_ANSWER                      (RASBASE+78)
  110. #define ERROR_NO_CARRIER                     (RASBASE+79)
  111. #define ERROR_NO_DIALTONE                    (RASBASE+80)
  112. #define ERROR_IN_COMMAND                     (RASBASE+81)
  113. #define ERROR_WRITING_SECTIONNAME            (RASBASE+82)
  114. #define ERROR_WRITING_DEVICETYPE             (RASBASE+83)
  115. #define ERROR_WRITING_DEVICENAME             (RASBASE+84)
  116. #define ERROR_WRITING_MAXCONNECTBPS          (RASBASE+85)
  117. #define ERROR_WRITING_MAXCARRIERBPS          (RASBASE+86)
  118. #define ERROR_WRITING_USAGE                  (RASBASE+87)
  119. #define ERROR_WRITING_DEFAULTOFF             (RASBASE+88)
  120. #define ERROR_READING_DEFAULTOFF             (RASBASE+89)
  121. #define ERROR_EMPTY_INI_FILE                 (RASBASE+90)
  122. #define ERROR_AUTHENTICATION_FAILURE         (RASBASE+91)
  123. #define ERROR_PORT_OR_DEVICE                 (RASBASE+92)
  124. #define ERROR_NOT_BINARY_MACRO               (RASBASE+93)
  125. #define ERROR_DCB_NOT_FOUND                  (RASBASE+94)
  126. #define ERROR_STATE_MACHINES_NOT_STARTED     (RASBASE+95)
  127. #define ERROR_STATE_MACHINES_ALREADY_STARTED (RASBASE+96)
  128. #define ERROR_PARTIAL_RESPONSE_LOOPING       (RASBASE+97)
  129. #define ERROR_UNKNOWN_RESPONSE_KEY           (RASBASE+98)
  130. #define ERROR_RECV_BUF_FULL                  (RASBASE+99)
  131. #define ERROR_CMD_TOO_LONG                   (RASBASE+100)
  132. #define ERROR_UNSUPPORTED_BPS                (RASBASE+101)
  133. #define ERROR_UNEXPECTED_RESPONSE            (RASBASE+102)
  134. #define ERROR_INTERACTIVE_MODE               (RASBASE+103)
  135. #define ERROR_BAD_CALLBACK_NUMBER            (RASBASE+104)
  136. #define ERROR_INVALID_AUTH_STATE             (RASBASE+105)
  137. #define ERROR_WRITING_INITBPS                (RASBASE+106)
  138. #define ERROR_X25_DIAGNOSTIC                 (RASBASE+107)
  139. #define ERROR_ACCT_EXPIRED                   (RASBASE+108)
  140. #define ERROR_CHANGING_PASSWORD              (RASBASE+109)
  141. #define ERROR_OVERRUN                        (RASBASE+110)
  142. #define ERROR_RASMAN_CANNOT_INITIALIZE         (RASBASE+111)
  143. #define ERROR_BIPLEX_PORT_NOT_AVAILABLE      (RASBASE+112)
  144. #define ERROR_NO_ACTIVE_ISDN_LINES           (RASBASE+113)
  145. #define ERROR_NO_ISDN_CHANNELS_AVAILABLE     (RASBASE+114)
  146. #define ERROR_TOO_MANY_LINE_ERRORS           (RASBASE+115)
  147. #define ERROR_IP_CONFIGURATION               (RASBASE+116)
  148. #define ERROR_NO_IP_ADDRESSES                (RASBASE+117)
  149. #define ERROR_PPP_TIMEOUT                    (RASBASE+118)
  150. #define ERROR_PPP_REMOTE_TERMINATED          (RASBASE+119)
  151. #define ERROR_PPP_NO_PROTOCOLS_CONFIGURED    (RASBASE+120)
  152. #define ERROR_PPP_NO_RESPONSE                (RASBASE+121)
  153. #define ERROR_PPP_INVALID_PACKET             (RASBASE+122)
  154. #define ERROR_PHONE_NUMBER_TOO_LONG          (RASBASE+123)
  155. #define ERROR_IPXCP_NO_DIALOUT_CONFIGURED    (RASBASE+124)
  156. #define ERROR_IPXCP_NO_DIALIN_CONFIGURED     (RASBASE+125)
  157. #define ERROR_IPXCP_DIALOUT_ALREADY_ACTIVE   (RASBASE+126)
  158. #define ERROR_ACCESSING_TCPCFGDLL            (RASBASE+127)
  159. #define ERROR_NO_IP_RAS_ADAPTER              (RASBASE+128)
  160. #define ERROR_SLIP_REQUIRES_IP               (RASBASE+129)
  161. #define ERROR_PROJECTION_NOT_COMPLETE        (RASBASE+130)
  162. #define ERROR_PROTOCOL_NOT_CONFIGURED        (RASBASE+131)
  163. #define ERROR_PPP_NOT_CONVERGING             (RASBASE+132)
  164. #define ERROR_PPP_CP_REJECTED                (RASBASE+133)
  165. #define ERROR_PPP_LCP_TERMINATED             (RASBASE+134)
  166. #define ERROR_PPP_REQUIRED_ADDRESS_REJECTED  (RASBASE+135)
  167. #define ERROR_PPP_NCP_TERMINATED             (RASBASE+136)
  168. #define ERROR_PPP_LOOPBACK_DETECTED          (RASBASE+137)
  169. #define ERROR_PPP_NO_ADDRESS_ASSIGNED        (RASBASE+138)
  170. #define ERROR_CANNOT_USE_LOGON_CREDENTIALS   (RASBASE+139)
  171. #define ERROR_TAPI_CONFIGURATION             (RASBASE+140)
  172. #define ERROR_NO_LOCAL_ENCRYPTION            (RASBASE+141)
  173. #define ERROR_NO_REMOTE_ENCRYPTION           (RASBASE+142)
  174. #define ERROR_REMOTE_REQUIRES_ENCRYPTION     (RASBASE+143)
  175. #define ERROR_IPXCP_NET_NUMBER_CONFLICT      (RASBASE+144)
  176. #define ERROR_INVALID_SMM                    (RASBASE+145)
  177. #define ERROR_SMM_UNINITIALIZED              (RASBASE+146)
  178. #define ERROR_NO_MAC_FOR_PORT                (RASBASE+147)
  179. #define ERROR_SMM_TIMEOUT                    (RASBASE+148)
  180. #define ERROR_BAD_PHONE_NUMBER               (RASBASE+149)
  181. #define ERROR_WRONG_MODULE                   (RASBASE+150)
  182. #define ERROR_PPP_MAC                         (RASBASE+151)
  183. #define ERROR_PPP_LCP                         (RASBASE+152)
  184. #define ERROR_PPP_AUTH                         (RASBASE+153)
  185. #define ERROR_PPP_NCP                         (RASBASE+154)
  186. #define ERROR_POWER_OFF                         (RASBASE+155)
  187. #define ERROR_POWER_OFF_CD                     (RASBASE+156)
  188.  
  189.  
  190. #define RASBASEEND                           (RASBASE+156)
  191.  
  192.  
  193. #endif // _RASERROR_H_
  194.  
  195. // @CESYSGEN ENDIF
  196.