Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

183 lines
13 KiB

  1. /* Copyright (c) 1992, Microsoft Corporation, all rights reserved
  2. **
  3. ** rasphone.rc
  4. ** Remote Access external API
  5. ** Windows resources
  6. **
  7. ** 04/01/93 Michael J. Salamone
  8. */
  9. #include <windows.h>
  10. #include <raserror.h>
  11. /* NT-standard version information
  12. */
  13. #include <ntverp.h>
  14. #include <script.rc>
  15. #define VER_FILETYPE VFT_DLL
  16. #define VER_FILESUBTYPE VFT2_UNKNOWN
  17. #define VER_FILEDESCRIPTION_STR "Remote Access API"
  18. #define VER_INTERNALNAME_STR "rasapi32.dll"
  19. #define VER_ORIGINALFILENAME_STR "rasapi32.dll"
  20. #include "common.ver" // NT5.0 version file.
  21. #ifdef notdef
  22. /* LOCALIZE: Message text.
  23. */
  24. STRINGTABLE
  25. {
  26. PENDING, "An operation is pending."
  27. ERROR_INVALID_PORT_HANDLE, "The port handle is invalid."
  28. ERROR_PORT_ALREADY_OPEN, "The port is already open."
  29. ERROR_BUFFER_TOO_SMALL, "Caller's buffer is too small."
  30. ERROR_WRONG_INFO_SPECIFIED, "Wrong information specified."
  31. ERROR_CANNOT_SET_PORT_INFO, "Cannot set port information."
  32. ERROR_PORT_NOT_CONNECTED, "The port is not connected."
  33. ERROR_EVENT_INVALID, "The event is invalid."
  34. ERROR_DEVICE_DOES_NOT_EXIST, "The device does not exist."
  35. ERROR_DEVICETYPE_DOES_NOT_EXIST, "The device type does not exist."
  36. ERROR_BUFFER_INVALID, "The buffer is invalid."
  37. ERROR_ROUTE_NOT_AVAILABLE, "The route is not available."
  38. ERROR_ROUTE_NOT_ALLOCATED, "The route is not allocated."
  39. ERROR_INVALID_COMPRESSION_SPECIFIED, "Invalid compression specified."
  40. ERROR_OUT_OF_BUFFERS, "Out of buffers."
  41. ERROR_PORT_NOT_FOUND, "The port was not found."
  42. ERROR_ASYNC_REQUEST_PENDING, "An asynchronous request is pending."
  43. ERROR_ALREADY_DISCONNECTING, "The port or device is already disconnecting."
  44. ERROR_PORT_NOT_OPEN, "The port is not open."
  45. ERROR_PORT_DISCONNECTED, "The port is disconnected."
  46. ERROR_NO_ENDPOINTS, "There are no endpoints."
  47. ERROR_CANNOT_OPEN_PHONEBOOK, "Cannot open the phone book file."
  48. ERROR_CANNOT_LOAD_PHONEBOOK, "Cannot load the phone book file."
  49. ERROR_CANNOT_FIND_PHONEBOOK_ENTRY, "Cannot find the phone book entry."
  50. ERROR_CANNOT_WRITE_PHONEBOOK, "Cannot write the phone book file."
  51. ERROR_CORRUPT_PHONEBOOK, "Invalid information found in the phone book file."
  52. ERROR_CANNOT_LOAD_STRING, "Cannot load a string."
  53. ERROR_KEY_NOT_FOUND, "Cannot find key."
  54. ERROR_DISCONNECTION, "The port was disconnected."
  55. ERROR_REMOTE_DISCONNECTION, "The port was disconnected by the remote machine."
  56. ERROR_HARDWARE_FAILURE, "The port was disconnected due to hardware failure."
  57. ERROR_USER_DISCONNECTION, "The port was disconnected by the user."
  58. ERROR_INVALID_SIZE, "The structure size is incorrect."
  59. ERROR_PORT_NOT_AVAILABLE, "The port is already in use or is not configured for Remote Access dial out."
  60. ERROR_CANNOT_PROJECT_CLIENT, "Cannot register your computer on on the remote network."
  61. ERROR_UNKNOWN, "Unknown error."
  62. ERROR_WRONG_DEVICE_ATTACHED, "The wrong device is attached to the port."
  63. ERROR_BAD_STRING, "The string could not be converted."
  64. ERROR_REQUEST_TIMEOUT, "The request has timed out."
  65. ERROR_CANNOT_GET_LANA, "No asynchronous net available."
  66. ERROR_NETBIOS_ERROR, "A NetBIOS error has occurred."
  67. ERROR_SERVER_OUT_OF_RESOURCES, "The server cannot allocate NetBIOS resources needed to support the client."
  68. ERROR_NAME_EXISTS_ON_NET, "One of your NetBIOS names is already registered on the remote network."
  69. ERROR_SERVER_GENERAL_NET_FAILURE, "A network adapter at the server failed."
  70. WARNING_MSG_ALIAS_NOT_ADDED, "You will not receive network message popups."
  71. ERROR_AUTH_INTERNAL, "Internal authentication error."
  72. ERROR_RESTRICTED_LOGON_HOURS, "The account is not permitted to logon at this time of day."
  73. ERROR_ACCT_DISABLED, "The account is disabled."
  74. ERROR_PASSWD_EXPIRED, "The password has expired."
  75. ERROR_NO_DIALIN_PERMISSION, "The account does not have Remote Access permission."
  76. ERROR_SERVER_NOT_RESPONDING, "The Remote Access server is not responding."
  77. ERROR_FROM_DEVICE, "Your modem (or other connecting device) has reported an error."
  78. ERROR_UNRECOGNIZED_RESPONSE, "Unrecognized response from the device."
  79. ERROR_MACRO_NOT_FOUND, "A macro required by the device was not found in the device .INF file section."
  80. ERROR_MACRO_NOT_DEFINED, "A command or response in the device .INF file section refers to an undefined macro."
  81. ERROR_MESSAGE_MACRO_NOT_FOUND, "The <message> macro was not found in the device .INF file secion."
  82. ERROR_DEFAULTOFF_MACRO_NOT_FOUND, "The <defaultoff> macro in the device .INF file section contains an undefined macro."
  83. ERROR_FILE_COULD_NOT_BE_OPENED, "The device .INF file could not be opened."
  84. ERROR_DEVICENAME_TOO_LONG, "The device name in the device .INF or media .INI file is too long."
  85. ERROR_DEVICENAME_NOT_FOUND, "The media .INI file refers to an unknown device name."
  86. ERROR_NO_RESPONSES, "The device .INF file contains no responses for the command."
  87. ERROR_NO_COMMAND_FOUND, "The device .INF file is missing a command."
  88. ERROR_WRONG_KEY_SPECIFIED, "Attempted to set a macro not listed in device .INF file section."
  89. ERROR_UNKNOWN_DEVICE_TYPE, "The media .INI file refers to an unknown device type."
  90. ERROR_ALLOCATING_MEMORY, "Cannot allocate memory."
  91. ERROR_PORT_NOT_CONFIGURED, "The port is not configured for Remote Access."
  92. ERROR_DEVICE_NOT_READY, "Your modem (or other connecting device) is not functioning."
  93. ERROR_READING_INI_FILE, "Cannot read the media .INI file."
  94. ERROR_NO_CONNECTION, "The connection dropped."
  95. ERROR_BAD_USAGE_IN_INI_FILE, "The usage parameter in the media .INI file is invalid."
  96. ERROR_READING_SECTIONNAME, "Cannot read the section name from the media .INI file."
  97. ERROR_READING_DEVICETYPE, "Cannot read the device type from the media .INI file."
  98. ERROR_READING_DEVICENAME, "Cannot read the device name from the media .INI file."
  99. ERROR_READING_USAGE, "Cannot read the usage from the media .INI file."
  100. ERROR_READING_MAXCONNECTBPS, "Cannot read the maximum connection BPS rate from the media .INI file."
  101. ERROR_READING_MAXCARRIERBPS, "Cannot read the maximum carrier BPS rate from the media .INI file."
  102. ERROR_LINE_BUSY, "The line is busy."
  103. ERROR_VOICE_ANSWER, "A person answered instead of a modem."
  104. ERROR_NO_ANSWER, "There is no answer."
  105. ERROR_NO_CARRIER, "Cannot detect carrier."
  106. ERROR_NO_DIALTONE, "There is no dial tone."
  107. ERROR_IN_COMMAND, "General error reported by device."
  108. ERROR_WRITING_SECTIONNAME, "ERROR_WRITING_SECTIONNAME"
  109. ERROR_WRITING_DEVICETYPE, "ERROR_WRITING_DEVICETYPE"
  110. ERROR_WRITING_DEVICENAME, "ERROR_WRITING_DEVICENAME"
  111. ERROR_WRITING_MAXCONNECTBPS, "ERROR_WRITING_MAXCONNECTBPS"
  112. ERROR_WRITING_MAXCARRIERBPS, "ERROR_WRITING_MAXCARRIERBPS"
  113. ERROR_WRITING_USAGE, "ERROR_WRITING_USAGE"
  114. ERROR_WRITING_DEFAULTOFF, "ERROR_WRITING_DEFAULTOFF"
  115. ERROR_READING_DEFAULTOFF, "ERROR_READING_DEFAULTOFF"
  116. ERROR_EMPTY_INI_FILE, "ERROR_EMPTY_INI_FILE"
  117. ERROR_AUTHENTICATION_FAILURE, "Access denied because username and/or password is invalid on the domain."
  118. ERROR_PORT_OR_DEVICE, "Hardware failure in port or attached device."
  119. ERROR_NOT_BINARY_MACRO, "ERROR_NOT_BINARY_MACRO"
  120. ERROR_DCB_NOT_FOUND, "ERROR_DCB_NOT_FOUND"
  121. ERROR_STATE_MACHINES_NOT_STARTED, "ERROR_STATE_MACHINES_NOT_STARTED"
  122. ERROR_STATE_MACHINES_ALREADY_STARTED,"ERROR_STATE_MACHINES_ALREADY_STARTED"
  123. ERROR_PARTIAL_RESPONSE_LOOPING, "ERROR_PARTIAL_RESPONSE_LOOPING"
  124. ERROR_UNKNOWN_RESPONSE_KEY, "A response keyname in the device .INF file is not in the expected format."
  125. ERROR_RECV_BUF_FULL, "The device response caused buffer overflow."
  126. ERROR_CMD_TOO_LONG, "The expanded command in the device .INF file is too long."
  127. ERROR_UNSUPPORTED_BPS, "The device moved to a BPS rate not supported by the COM driver."
  128. ERROR_UNEXPECTED_RESPONSE, "Device response received when none expected."
  129. ERROR_INTERACTIVE_MODE, "ERROR_INTERACTIVE_MODE"
  130. ERROR_BAD_CALLBACK_NUMBER, "ERROR_BAD_CALLBACK_NUMBER"
  131. ERROR_INVALID_AUTH_STATE, "ERROR_INVALID_AUTH_STATE"
  132. ERROR_WRITING_INITBPS, "ERROR_WRITING_INITBPS"
  133. ERROR_X25_DIAGNOSTIC, "X.25 diagnostic indication."
  134. ERROR_ACCT_EXPIRED, "The account has expired."
  135. ERROR_CHANGING_PASSWORD, "Error changing password on domain. The password may be too short or may match a previously used password."
  136. ERROR_OVERRUN, "Serial overrun errors were detected while communicating with your modem."
  137. ERROR_RASMAN_CANNOT_INITIALIZE, "RasMan initialization failure. Check the event log."
  138. ERROR_BIPLEX_PORT_NOT_AVAILABLE, "Biplex port initializing. Wait a few seconds and redial."
  139. ERROR_NO_ACTIVE_ISDN_LINES, "No active ISDN lines are available."
  140. ERROR_NO_ISDN_CHANNELS_AVAILABLE, "No ISDN channels are available to make the call."
  141. ERROR_TOO_MANY_LINE_ERRORS, "Too many errors occured because of poor phone line quality."
  142. ERROR_IP_CONFIGURATION, "The Remote Access IP configuration is unusable."
  143. ERROR_NO_IP_ADDRESSES, "No IP addresses are available in the static pool of Remote Access IP addresses."
  144. ERROR_PPP_TIMEOUT, "Timed out waiting for a valid response from the remote PPP peer."
  145. ERROR_PPP_REMOTE_TERMINATED, "PPP terminated by remote machine."
  146. ERROR_PPP_NO_PROTOCOLS_CONFIGURED, "No PPP control protocols configured."
  147. ERROR_PPP_NO_RESPONSE, "Remote PPP peer is not responding."
  148. ERROR_PPP_INVALID_PACKET, "The PPP packet is invalid."
  149. ERROR_PHONE_NUMBER_TOO_LONG, "The phone number including prefix and suffix is too long."
  150. ERROR_IPXCP_NO_DIALOUT_CONFIGURED, "The IPX protocol cannot dial-out on the port because the machine is an IPX router."
  151. ERROR_IPXCP_NO_DIALIN_CONFIGURED, "The IPX protocol cannot dial-in on the port because the IPX router is not installed."
  152. ERROR_IPXCP_DIALOUT_ALREADY_ACTIVE, "The IPX protocol cannot be used for dial-out on more than one port at a time."
  153. ERROR_ACCESSING_TCPCFGDLL, "Cannot access TCPCFG.DLL."
  154. ERROR_NO_IP_RAS_ADAPTER, "Cannot find an IP adapter bound to Remote Access."
  155. ERROR_SLIP_REQUIRES_IP, "SLIP cannot be used unless the IP protocol is installed."
  156. ERROR_PROJECTION_NOT_COMPLETE, "Computer registration is not complete."
  157. ERROR_PROTOCOL_NOT_CONFIGURED, "The protocol is not configured."
  158. ERROR_PPP_NOT_CONVERGING, "The PPP negotiation is not converging."
  159. ERROR_PPP_CP_REJECTED, "The PPP control protocol for this network protocol is not available on the server."
  160. ERROR_PPP_LCP_TERMINATED, "The PPP link control protocol terminated."
  161. ERROR_PPP_REQUIRED_ADDRESS_REJECTED, "The requested address was rejected by the server."
  162. ERROR_PPP_NCP_TERMINATED, "The remote computer terminated the control protocol."
  163. ERROR_PPP_LOOPBACK_DETECTED, "Loopback detected."
  164. ERROR_PPP_NO_ADDRESS_ASSIGNED, "The server did not assign an address."
  165. ERROR_CANNOT_USE_LOGON_CREDENTIALS, "The authentication protocol required by the remote server cannot use the Windows NT encrypted password. Uncheck the 'Authenticate using current user name and password' option for this entry and redial."
  166. ERROR_TAPI_CONFIGURATION, "Invalid TAPI configuration."
  167. ERROR_NO_LOCAL_ENCRYPTION, "The local computer does not support encryption."
  168. ERROR_NO_REMOTE_ENCRYPTION, "The remote server does not support encryption."
  169. ERROR_REMOTE_REQUIRES_ENCRYPTION, "The remote server requires encryption."
  170. ERROR_IPXCP_NET_NUMBER_CONFLICT, "Cannot use the IPX network number assigned by remote server. Check the event log."
  171. ERROR_INVALID_SMM, "ERROR_INVALID_SMM"
  172. ERROR_SMM_UNINITIALIZED, "ERROR_SMM_UNINITIALIZED"
  173. ERROR_NO_MAC_FOR_PORT, "ERROR_NO_MAC_FOR_PORT"
  174. ERROR_SMM_TIMEOUT, "ERROR_SMM_TIMEOUT"
  175. ERROR_BAD_PHONE_NUMBER, "ERROR_BAD_PHONE_NUMBER"
  176. ERROR_WRONG_MODULE, "ERROR_WRONG_MODULE"
  177. }
  178. #endif