/* Copyright (c) 1992, Microsoft Corporation, all rights reserved ** ** rasphone.rc ** Remote Access external API ** Windows resources ** ** 04/01/93 Michael J. Salamone */ #include #include /* NT-standard version information */ #include #include #define VER_FILETYPE VFT_DLL #define VER_FILESUBTYPE VFT2_UNKNOWN #define VER_FILEDESCRIPTION_STR "Remote Access API" #define VER_INTERNALNAME_STR "rasapi32.dll" #define VER_ORIGINALFILENAME_STR "rasapi32.dll" #include "common.ver" // NT5.0 version file. #ifdef notdef /* LOCALIZE: Message text. */ STRINGTABLE { PENDING, "An operation is pending." ERROR_INVALID_PORT_HANDLE, "The port handle is invalid." ERROR_PORT_ALREADY_OPEN, "The port is already open." ERROR_BUFFER_TOO_SMALL, "Caller's buffer is too small." ERROR_WRONG_INFO_SPECIFIED, "Wrong information specified." ERROR_CANNOT_SET_PORT_INFO, "Cannot set port information." ERROR_PORT_NOT_CONNECTED, "The port is not connected." ERROR_EVENT_INVALID, "The event is invalid." ERROR_DEVICE_DOES_NOT_EXIST, "The device does not exist." ERROR_DEVICETYPE_DOES_NOT_EXIST, "The device type does not exist." ERROR_BUFFER_INVALID, "The buffer is invalid." ERROR_ROUTE_NOT_AVAILABLE, "The route is not available." ERROR_ROUTE_NOT_ALLOCATED, "The route is not allocated." ERROR_INVALID_COMPRESSION_SPECIFIED, "Invalid compression specified." ERROR_OUT_OF_BUFFERS, "Out of buffers." ERROR_PORT_NOT_FOUND, "The port was not found." ERROR_ASYNC_REQUEST_PENDING, "An asynchronous request is pending." ERROR_ALREADY_DISCONNECTING, "The port or device is already disconnecting." ERROR_PORT_NOT_OPEN, "The port is not open." ERROR_PORT_DISCONNECTED, "The port is disconnected." ERROR_NO_ENDPOINTS, "There are no endpoints." ERROR_CANNOT_OPEN_PHONEBOOK, "Cannot open the phone book file." ERROR_CANNOT_LOAD_PHONEBOOK, "Cannot load the phone book file." ERROR_CANNOT_FIND_PHONEBOOK_ENTRY, "Cannot find the phone book entry." ERROR_CANNOT_WRITE_PHONEBOOK, "Cannot write the phone book file." ERROR_CORRUPT_PHONEBOOK, "Invalid information found in the phone book file." ERROR_CANNOT_LOAD_STRING, "Cannot load a string." ERROR_KEY_NOT_FOUND, "Cannot find key." ERROR_DISCONNECTION, "The port was disconnected." ERROR_REMOTE_DISCONNECTION, "The port was disconnected by the remote machine." ERROR_HARDWARE_FAILURE, "The port was disconnected due to hardware failure." ERROR_USER_DISCONNECTION, "The port was disconnected by the user." ERROR_INVALID_SIZE, "The structure size is incorrect." ERROR_PORT_NOT_AVAILABLE, "The port is already in use or is not configured for Remote Access dial out." ERROR_CANNOT_PROJECT_CLIENT, "Cannot register your computer on on the remote network." ERROR_UNKNOWN, "Unknown error." ERROR_WRONG_DEVICE_ATTACHED, "The wrong device is attached to the port." ERROR_BAD_STRING, "The string could not be converted." ERROR_REQUEST_TIMEOUT, "The request has timed out." ERROR_CANNOT_GET_LANA, "No asynchronous net available." ERROR_NETBIOS_ERROR, "A NetBIOS error has occurred." ERROR_SERVER_OUT_OF_RESOURCES, "The server cannot allocate NetBIOS resources needed to support the client." ERROR_NAME_EXISTS_ON_NET, "One of your NetBIOS names is already registered on the remote network." ERROR_SERVER_GENERAL_NET_FAILURE, "A network adapter at the server failed." WARNING_MSG_ALIAS_NOT_ADDED, "You will not receive network message popups." ERROR_AUTH_INTERNAL, "Internal authentication error." ERROR_RESTRICTED_LOGON_HOURS, "The account is not permitted to logon at this time of day." ERROR_ACCT_DISABLED, "The account is disabled." ERROR_PASSWD_EXPIRED, "The password has expired." ERROR_NO_DIALIN_PERMISSION, "The account does not have Remote Access permission." ERROR_SERVER_NOT_RESPONDING, "The Remote Access server is not responding." ERROR_FROM_DEVICE, "Your modem (or other connecting device) has reported an error." ERROR_UNRECOGNIZED_RESPONSE, "Unrecognized response from the device." ERROR_MACRO_NOT_FOUND, "A macro required by the device was not found in the device .INF file section." ERROR_MACRO_NOT_DEFINED, "A command or response in the device .INF file section refers to an undefined macro." ERROR_MESSAGE_MACRO_NOT_FOUND, "The macro was not found in the device .INF file secion." ERROR_DEFAULTOFF_MACRO_NOT_FOUND, "The macro in the device .INF file section contains an undefined macro." ERROR_FILE_COULD_NOT_BE_OPENED, "The device .INF file could not be opened." ERROR_DEVICENAME_TOO_LONG, "The device name in the device .INF or media .INI file is too long." ERROR_DEVICENAME_NOT_FOUND, "The media .INI file refers to an unknown device name." ERROR_NO_RESPONSES, "The device .INF file contains no responses for the command." ERROR_NO_COMMAND_FOUND, "The device .INF file is missing a command." ERROR_WRONG_KEY_SPECIFIED, "Attempted to set a macro not listed in device .INF file section." ERROR_UNKNOWN_DEVICE_TYPE, "The media .INI file refers to an unknown device type." ERROR_ALLOCATING_MEMORY, "Cannot allocate memory." ERROR_PORT_NOT_CONFIGURED, "The port is not configured for Remote Access." ERROR_DEVICE_NOT_READY, "Your modem (or other connecting device) is not functioning." ERROR_READING_INI_FILE, "Cannot read the media .INI file." ERROR_NO_CONNECTION, "The connection dropped." ERROR_BAD_USAGE_IN_INI_FILE, "The usage parameter in the media .INI file is invalid." ERROR_READING_SECTIONNAME, "Cannot read the section name from the media .INI file." ERROR_READING_DEVICETYPE, "Cannot read the device type from the media .INI file." ERROR_READING_DEVICENAME, "Cannot read the device name from the media .INI file." ERROR_READING_USAGE, "Cannot read the usage from the media .INI file." ERROR_READING_MAXCONNECTBPS, "Cannot read the maximum connection BPS rate from the media .INI file." ERROR_READING_MAXCARRIERBPS, "Cannot read the maximum carrier BPS rate from the media .INI file." ERROR_LINE_BUSY, "The line is busy." ERROR_VOICE_ANSWER, "A person answered instead of a modem." ERROR_NO_ANSWER, "There is no answer." ERROR_NO_CARRIER, "Cannot detect carrier." ERROR_NO_DIALTONE, "There is no dial tone." ERROR_IN_COMMAND, "General error reported by device." ERROR_WRITING_SECTIONNAME, "ERROR_WRITING_SECTIONNAME" ERROR_WRITING_DEVICETYPE, "ERROR_WRITING_DEVICETYPE" ERROR_WRITING_DEVICENAME, "ERROR_WRITING_DEVICENAME" ERROR_WRITING_MAXCONNECTBPS, "ERROR_WRITING_MAXCONNECTBPS" ERROR_WRITING_MAXCARRIERBPS, "ERROR_WRITING_MAXCARRIERBPS" ERROR_WRITING_USAGE, "ERROR_WRITING_USAGE" ERROR_WRITING_DEFAULTOFF, "ERROR_WRITING_DEFAULTOFF" ERROR_READING_DEFAULTOFF, "ERROR_READING_DEFAULTOFF" ERROR_EMPTY_INI_FILE, "ERROR_EMPTY_INI_FILE" ERROR_AUTHENTICATION_FAILURE, "Access denied because username and/or password is invalid on the domain." ERROR_PORT_OR_DEVICE, "Hardware failure in port or attached device." ERROR_NOT_BINARY_MACRO, "ERROR_NOT_BINARY_MACRO" ERROR_DCB_NOT_FOUND, "ERROR_DCB_NOT_FOUND" ERROR_STATE_MACHINES_NOT_STARTED, "ERROR_STATE_MACHINES_NOT_STARTED" ERROR_STATE_MACHINES_ALREADY_STARTED,"ERROR_STATE_MACHINES_ALREADY_STARTED" ERROR_PARTIAL_RESPONSE_LOOPING, "ERROR_PARTIAL_RESPONSE_LOOPING" ERROR_UNKNOWN_RESPONSE_KEY, "A response keyname in the device .INF file is not in the expected format." ERROR_RECV_BUF_FULL, "The device response caused buffer overflow." ERROR_CMD_TOO_LONG, "The expanded command in the device .INF file is too long." ERROR_UNSUPPORTED_BPS, "The device moved to a BPS rate not supported by the COM driver." ERROR_UNEXPECTED_RESPONSE, "Device response received when none expected." ERROR_INTERACTIVE_MODE, "ERROR_INTERACTIVE_MODE" ERROR_BAD_CALLBACK_NUMBER, "ERROR_BAD_CALLBACK_NUMBER" ERROR_INVALID_AUTH_STATE, "ERROR_INVALID_AUTH_STATE" ERROR_WRITING_INITBPS, "ERROR_WRITING_INITBPS" ERROR_X25_DIAGNOSTIC, "X.25 diagnostic indication." ERROR_ACCT_EXPIRED, "The account has expired." ERROR_CHANGING_PASSWORD, "Error changing password on domain. The password may be too short or may match a previously used password." ERROR_OVERRUN, "Serial overrun errors were detected while communicating with your modem." ERROR_RASMAN_CANNOT_INITIALIZE, "RasMan initialization failure. Check the event log." ERROR_BIPLEX_PORT_NOT_AVAILABLE, "Biplex port initializing. Wait a few seconds and redial." ERROR_NO_ACTIVE_ISDN_LINES, "No active ISDN lines are available." ERROR_NO_ISDN_CHANNELS_AVAILABLE, "No ISDN channels are available to make the call." ERROR_TOO_MANY_LINE_ERRORS, "Too many errors occured because of poor phone line quality." ERROR_IP_CONFIGURATION, "The Remote Access IP configuration is unusable." ERROR_NO_IP_ADDRESSES, "No IP addresses are available in the static pool of Remote Access IP addresses." ERROR_PPP_TIMEOUT, "Timed out waiting for a valid response from the remote PPP peer." ERROR_PPP_REMOTE_TERMINATED, "PPP terminated by remote machine." ERROR_PPP_NO_PROTOCOLS_CONFIGURED, "No PPP control protocols configured." ERROR_PPP_NO_RESPONSE, "Remote PPP peer is not responding." ERROR_PPP_INVALID_PACKET, "The PPP packet is invalid." ERROR_PHONE_NUMBER_TOO_LONG, "The phone number including prefix and suffix is too long." ERROR_IPXCP_NO_DIALOUT_CONFIGURED, "The IPX protocol cannot dial-out on the port because the machine is an IPX router." ERROR_IPXCP_NO_DIALIN_CONFIGURED, "The IPX protocol cannot dial-in on the port because the IPX router is not installed." ERROR_IPXCP_DIALOUT_ALREADY_ACTIVE, "The IPX protocol cannot be used for dial-out on more than one port at a time." ERROR_ACCESSING_TCPCFGDLL, "Cannot access TCPCFG.DLL." ERROR_NO_IP_RAS_ADAPTER, "Cannot find an IP adapter bound to Remote Access." ERROR_SLIP_REQUIRES_IP, "SLIP cannot be used unless the IP protocol is installed." ERROR_PROJECTION_NOT_COMPLETE, "Computer registration is not complete." ERROR_PROTOCOL_NOT_CONFIGURED, "The protocol is not configured." ERROR_PPP_NOT_CONVERGING, "The PPP negotiation is not converging." ERROR_PPP_CP_REJECTED, "The PPP control protocol for this network protocol is not available on the server." ERROR_PPP_LCP_TERMINATED, "The PPP link control protocol terminated." ERROR_PPP_REQUIRED_ADDRESS_REJECTED, "The requested address was rejected by the server." ERROR_PPP_NCP_TERMINATED, "The remote computer terminated the control protocol." ERROR_PPP_LOOPBACK_DETECTED, "Loopback detected." ERROR_PPP_NO_ADDRESS_ASSIGNED, "The server did not assign an address." 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." ERROR_TAPI_CONFIGURATION, "Invalid TAPI configuration." ERROR_NO_LOCAL_ENCRYPTION, "The local computer does not support encryption." ERROR_NO_REMOTE_ENCRYPTION, "The remote server does not support encryption." ERROR_REMOTE_REQUIRES_ENCRYPTION, "The remote server requires encryption." ERROR_IPXCP_NET_NUMBER_CONFLICT, "Cannot use the IPX network number assigned by remote server. Check the event log." ERROR_INVALID_SMM, "ERROR_INVALID_SMM" ERROR_SMM_UNINITIALIZED, "ERROR_SMM_UNINITIALIZED" ERROR_NO_MAC_FOR_PORT, "ERROR_NO_MAC_FOR_PORT" ERROR_SMM_TIMEOUT, "ERROR_SMM_TIMEOUT" ERROR_BAD_PHONE_NUMBER, "ERROR_BAD_PHONE_NUMBER" ERROR_WRONG_MODULE, "ERROR_WRONG_MODULE" } #endif