⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 raserror.h

📁 c语言编程软件vc6.0中文绿色版_vc6.0官方下载
💻 H
📖 第 1 页 / 共 2 页
字号:
/* Copyright (c) 1992-1997, Microsoft Corporation, all rights reserved
**
** raserror.h
** Remote Access external API
** RAS specific error codes
*/

#ifndef _RASERROR_H_
#define _RASERROR_H_


#define RASBASE 600
#define SUCCESS 0


#define PENDING                              (RASBASE+0)
/*
 * An operation is pending.%0
 */
#define ERROR_INVALID_PORT_HANDLE            (RASBASE+1)
/*
 * The port handle is invalid.%0
 */
#define ERROR_PORT_ALREADY_OPEN              (RASBASE+2)
/*
 * The port is already open.%0
 */
#define ERROR_BUFFER_TOO_SMALL               (RASBASE+3)
/*
 * Caller's buffer is too small.%0
 */
#define ERROR_WRONG_INFO_SPECIFIED           (RASBASE+4)
/*
 * Wrong information specified.%0
 */
#define ERROR_CANNOT_SET_PORT_INFO           (RASBASE+5)
/*
 * Cannot set port information.%0
 */
#define ERROR_PORT_NOT_CONNECTED             (RASBASE+6)
/*
 * The port is not connected.%0
 */
#define ERROR_EVENT_INVALID                  (RASBASE+7)
/*
 * The event is invalid.%0
 */
#define ERROR_DEVICE_DOES_NOT_EXIST          (RASBASE+8)
/*
 * The device does not exist.%0
 */
#define ERROR_DEVICETYPE_DOES_NOT_EXIST      (RASBASE+9)
/*
 * The device type does not exist.%0
 */
#define ERROR_BUFFER_INVALID                 (RASBASE+10)
/*
 * The buffer is invalid.%0
 */
#define ERROR_ROUTE_NOT_AVAILABLE            (RASBASE+11)
/*
 * The route is not available.%0
 */
#define ERROR_ROUTE_NOT_ALLOCATED            (RASBASE+12)
/*
 * The route is not allocated.%0
 */
#define ERROR_INVALID_COMPRESSION_SPECIFIED  (RASBASE+13)
/*
 * Invalid compression specified.%0
 */
#define ERROR_OUT_OF_BUFFERS                 (RASBASE+14)
/*
 * Out of buffers.%0
 */
#define ERROR_PORT_NOT_FOUND                 (RASBASE+15)
/*
 * The port was not found.%0
 */
#define ERROR_ASYNC_REQUEST_PENDING          (RASBASE+16)
/*
 * An asynchronous request is pending.%0
 */
#define ERROR_ALREADY_DISCONNECTING          (RASBASE+17)
/*
 * The port or device is already disconnecting.%0
 */
#define ERROR_PORT_NOT_OPEN                  (RASBASE+18)
/*
 * The port is not open.%0
 */
#define ERROR_PORT_DISCONNECTED              (RASBASE+19)
/*
 * The port is disconnected.%0
 */
#define ERROR_NO_ENDPOINTS                   (RASBASE+20)
/*
 * There are no endpoints.%0
 */
#define ERROR_CANNOT_OPEN_PHONEBOOK          (RASBASE+21)
/*
 * Cannot open the phone book file.%0
 */
#define ERROR_CANNOT_LOAD_PHONEBOOK          (RASBASE+22)
/*
 * Cannot load the phone book file.%0
 */
#define ERROR_CANNOT_FIND_PHONEBOOK_ENTRY    (RASBASE+23)
/*
 * Cannot find the phone book entry.%0
 */
#define ERROR_CANNOT_WRITE_PHONEBOOK         (RASBASE+24)
/*
 * Cannot write the phone book file.%0
 */
#define ERROR_CORRUPT_PHONEBOOK              (RASBASE+25)
/*
 * Invalid information found in the phone book file.%0
 */
#define ERROR_CANNOT_LOAD_STRING             (RASBASE+26)
/*
 * Cannot load a string.%0
 */
#define ERROR_KEY_NOT_FOUND                  (RASBASE+27)
/*
 * Cannot find key.%0
 */
#define ERROR_DISCONNECTION                  (RASBASE+28)
/*
 * The port was disconnected.%0
 */
#define ERROR_REMOTE_DISCONNECTION           (RASBASE+29)
/*
 * The data link was terminated by the remote machine.%0
 */
#define ERROR_HARDWARE_FAILURE               (RASBASE+30)
/*
 * The port was disconnected due to hardware failure.%0
 */
#define ERROR_USER_DISCONNECTION             (RASBASE+31)
/*
 * The port was disconnected by the user.%0
 */
#define ERROR_INVALID_SIZE                   (RASBASE+32)
/*
 * The structure size is incorrect.%0
 */
#define ERROR_PORT_NOT_AVAILABLE             (RASBASE+33)
/*
 * The port is already in use or is not configured for Remote Access dial out.%0
 */
#define ERROR_CANNOT_PROJECT_CLIENT          (RASBASE+34)
/*
 * Cannot register your computer on on the remote network.%0
 */
#define ERROR_UNKNOWN                        (RASBASE+35)
/*
 * Unknown error.%0
 */
#define ERROR_WRONG_DEVICE_ATTACHED          (RASBASE+36)
/*
 * The wrong device is attached to the port.%0
 */
#define ERROR_BAD_STRING                     (RASBASE+37)
/*
 * The string could not be converted.%0
 */
#define ERROR_REQUEST_TIMEOUT                (RASBASE+38)
/*
 * The request has timed out.%0
 */
#define ERROR_CANNOT_GET_LANA                (RASBASE+39)
/*
 * No asynchronous net available.%0
 */
#define ERROR_NETBIOS_ERROR                  (RASBASE+40)
/*
 * A NetBIOS error has occurred.%0
 */
#define ERROR_SERVER_OUT_OF_RESOURCES        (RASBASE+41)
/*
 * The server cannot allocate NetBIOS resources needed to support the client.%0
 */
#define ERROR_NAME_EXISTS_ON_NET             (RASBASE+42)
/*
 * One of your NetBIOS names is already registered on the remote network.%0
 */
#define ERROR_SERVER_GENERAL_NET_FAILURE     (RASBASE+43)
/*
 * A network adapter at the server failed.%0
 */
#define WARNING_MSG_ALIAS_NOT_ADDED          (RASBASE+44)
/*
 * You will not receive network message popups.%0
 */
#define ERROR_AUTH_INTERNAL                  (RASBASE+45)
/*
 * Internal authentication error.%0
 */
#define ERROR_RESTRICTED_LOGON_HOURS         (RASBASE+46)
/*
 * The account is not permitted to logon at this time of day.%0
 */
#define ERROR_ACCT_DISABLED                  (RASBASE+47)
/*
 * The account is disabled.%0
 */
#define ERROR_PASSWD_EXPIRED                 (RASBASE+48)
/*
 * The password has expired.%0
 */
#define ERROR_NO_DIALIN_PERMISSION           (RASBASE+49)
/*
 * The account does not have Remote Access permission.%0
 */
#define ERROR_SERVER_NOT_RESPONDING          (RASBASE+50)
/*
 * The Remote Access server is not responding.%0
 */
#define ERROR_FROM_DEVICE                    (RASBASE+51)
/*
 * Your modem (or other connecting device) has reported an error.%0
 */
#define ERROR_UNRECOGNIZED_RESPONSE          (RASBASE+52)
/*
 * Unrecognized response from the device.%0
 */
#define ERROR_MACRO_NOT_FOUND                (RASBASE+53)
/*
 * A macro required by the device was not found in the device .INF file section.%0
 */
#define ERROR_MACRO_NOT_DEFINED              (RASBASE+54)
/*
 * A command or response in the device .INF file section refers to an undefined macro.%0
 */
#define ERROR_MESSAGE_MACRO_NOT_FOUND        (RASBASE+55)
/*
 * The <message> macro was not found in the device .INF file secion.%0
 */
#define ERROR_DEFAULTOFF_MACRO_NOT_FOUND     (RASBASE+56)
/*
 * The <defaultoff> macro in the device .INF file section contains an undefined macro.%0
 */
#define ERROR_FILE_COULD_NOT_BE_OPENED       (RASBASE+57)
/*
 * The device .INF file could not be opened.%0
 */
#define ERROR_DEVICENAME_TOO_LONG            (RASBASE+58)
/*
 * The device name in the device .INF or media .INI file is too long.%0
 */
#define ERROR_DEVICENAME_NOT_FOUND           (RASBASE+59)
/*
 * The media .INI file refers to an unknown device name.%0
 */
#define ERROR_NO_RESPONSES                   (RASBASE+60)
/*
 * The device .INF file contains no responses for the command.%0
 */
#define ERROR_NO_COMMAND_FOUND               (RASBASE+61)
/*
 * The device .INF file is missing a command.%0
 */
#define ERROR_WRONG_KEY_SPECIFIED            (RASBASE+62)
/*
 * Attempted to set a macro not listed in device .INF file section.%0
 */
#define ERROR_UNKNOWN_DEVICE_TYPE            (RASBASE+63)
/*
 * The media .INI file refers to an unknown device type.%0
 */
#define ERROR_ALLOCATING_MEMORY              (RASBASE+64)
/*
 * Cannot allocate memory.%0
 */
#define ERROR_PORT_NOT_CONFIGURED            (RASBASE+65)
/*
 * The port is not configured for Remote Access.%0
 */
#define ERROR_DEVICE_NOT_READY               (RASBASE+66)
/*
 * Your modem (or other connecting device) is not functioning.%0
 */
#define ERROR_READING_INI_FILE               (RASBASE+67)
/*
 * Cannot read the media .INI file.%0
 */
#define ERROR_NO_CONNECTION                  (RASBASE+68)
/*
 * The connection dropped.%0
 */
#define ERROR_BAD_USAGE_IN_INI_FILE          (RASBASE+69)
/*
 * The usage parameter in the media .INI file is invalid.%0
 */
#define ERROR_READING_SECTIONNAME            (RASBASE+70)
/*
 * Cannot read the section name from the media .INI file.%0
 */
#define ERROR_READING_DEVICETYPE             (RASBASE+71)
/*
 * Cannot read the device type from the media .INI file.%0
 */
#define ERROR_READING_DEVICENAME             (RASBASE+72)
/*
 * Cannot read the device name from the media .INI file.%0
 */
#define ERROR_READING_USAGE                  (RASBASE+73)
/*
 * Cannot read the usage from the media .INI file.%0
 */
#define ERROR_READING_MAXCONNECTBPS          (RASBASE+74)
/*
 * Cannot read the maximum connection BPS rate from the media .INI file.%0
 */
#define ERROR_READING_MAXCARRIERBPS          (RASBASE+75)
/*

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -