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

📄 oomisc.pas

📁 Async Professional 4.04
💻 PAS
📖 第 1 页 / 共 5 页
字号:
  psCantWriteFile      = 4707;   {Incoming file skipped due to Zmodem options}
  psTimeout            = 4708;   {Timed out waiting for something}
  psBlockCheckError    = 4709;   {Bad checksum or CRC}
  psLongPacket         = 4710;   {Block too long}
  psDuplicateBlock     = 4711;   {Duplicate block received and ignored}
  psProtocolError      = 4712;   {Error in protocol}
  psCancelRequested    = 4713;   {Cancel requested}
  psEndFile            = 4714;   {At end of file}
  psResumeBad          = 4715;   {B+ host refused resume request}
  psSequenceError      = 4716;   {Block was out of sequence}
  psAbortNoCarrier     = 4717;   {Aborting on carrier loss}
  psAbort              = 4730;   {Session aborted}                     

const
  {Specific to certain protocols}
  psGotCrcE            = 4718;   {Got CrcE packet (Zmodem)}
  psGotCrcG            = 4719;   {Got CrcG packet (Zmodem)}
  psGotCrcW            = 4720;   {Got CrcW packet (Zmodem)}
  psGotCrcQ            = 4721;   {Got CrcQ packet (Zmodem)}
  psTryResume          = 4722;   {B+ is trying to resume a download}
  psHostResume         = 4723;   {B+ host is resuming}
  psWaitAck            = 4724;   {Waiting for B+ ack (internal)}

const
  {Internal}
  psNoHeader           = 4725;   {Protocol is waiting for header (internal)}
  psGotHeader          = 4726;   {Protocol has header (internal)}
  psGotData            = 4727;   {Protocol has data packet (internal)}
  psNoData             = 4728;   {Protocol doesn't have data packet yet (internal)}

  { Constants for fax strings }
  { If strings are added -- afStatusMsg needs to be changed in AWABSFAX.PAS }

const
  {Fax progress codes, sending}
  fpInitModem          = 4801;   {Initializing modem for fax processing}
  fpDialing            = 4802;   {Dialing}
  fpBusyWait           = 4803;   {Busy, FaxTransmit is waiting}
  fpSendPage           = 4804;   {Sending document page data}
  fpSendPageStatus     = 4805;   {Send EOP}
  fpPageError          = 4806;   {Error sending page}
  fpPageOK             = 4807;   {Page accepted by remote}
  fpConnecting         = 4808;   {Send call handoff connecting}

const
  {Fax progress codes, receiving}
  fpWaiting            = 4820;   {Waiting for incoming call}
  fpNoConnect          = 4821;   {No connect on this call}
  fpAnswer             = 4822;   {Answering incoming call}
  fpIncoming           = 4823;   {Incoming call validated as fax}
  fpGetPage            = 4824;   {Getting page data}
  fpGetPageResult      = 4825;   {Getting end-of-page signal}
  fpCheckMorePages     = 4826;   {getting end-of-document status}
  fpGetHangup          = 4827;   {Get hangup command}
  fpGotHangup          = 4828;   {Got Class 2 FHNG code}

const
  {Fax server codes }
  fpSwitchModes        = 4830;   {Switching from send/recv or recv/send} 
  fpMonitorEnabled     = 4831;   {Monitoring for incoming faxes}         
  fpMonitorDisabled    = 4832;   {Not monitoring for incoming faxes}     
  
const
  {Fax progress codes, common}
  fpSessionParams      = 4840;   {Getting connection params}
  fpGotRemoteID        = 4841;   {got called-station ID}
  fpCancel             = 4842;   {User abort}
  fpFinished           = 4843;   {Finished with this fax}

const
  {Trigger errors}
  ecNoMoreTriggers         = -5001;    {No more trigger slots}
  ecTriggerTooLong         = -5002;    {Data trigger too long}
  ecBadTriggerHandle       = -5003;    {Bad trigger handle}

const
  {Packet errors}
  ecStartStringEmpty       = -5501;    {Start string is empty}
  ecPacketTooSmall         = -5502;    {Packet size cannot be smaller than start string}
  ecNoEndCharCount         = -5503;    {CharCount packets must have an end-condition}
  ecEmptyEndString         = -5504;    {End string is empty}
  ecZeroSizePacket         = -5505;    {Packet size cannot be zero}
  ecPacketTooLong          = -5506;    {Packet too long}

const
  {Protocol errors}
  ecBadFileList            = -6001;    {Bad format in file list}
  ecNoSearchMask           = -6002;    {No search mask specified during transmit}
  ecNoMatchingFiles        = -6003;    {No files matched search mask}
  ecDirNotFound            = -6004;    {Directory in search mask doesn't exist}
  ecCancelRequested        = -6005;    {Cancel requested}
  ecTimeout                = -6006;    {Fatal time out}
  ecProtocolError          = -6007;    {Unrecoverable event during protocol}
  ecTooManyErrors          = -6008;    {Too many errors during protocol}
  ecSequenceError          = -6009;    {Block sequence error in Xmodem}
  ecNoFilename             = -6010;    {No filename specified in protocol receive}
  ecFileRejected           = -6011;    {File was rejected}
  ecCantWriteFile          = -6012;    {Cant write file}
  ecTableFull              = -6013;    {Kermit window table is full, fatal error}
  ecAbortNoCarrier         = -6014;    {Aborting due to carrier loss}
  ecBadProtocolFunction    = -6015;    {Function not support by protocol}
  ecProtocolAbort          = -6016;    {Session aborted}               

const
  {INI database}
  ecKeyTooLong             = -7001;    {Key string too long}
  ecDataTooLarge           = -7002;    {Data string too long}
  ecNoFieldsDefined        = -7003;    {No fields defined in database}
  ecIniWrite               = -7004;    {Generic INI file write error}
  ecIniRead                = -7005;    {Generic INI file read error}
  ecNoIndexKey             = -7006;    {No index defined for database}
  ecRecordExists           = -7007;    {Record already exists}
  ecRecordNotFound         = -7008;    {Record not found in database}
  ecMustHaveIdxVal         = -7009;    {Invalid index key name}
  ecDatabaseFull           = -7010;    {Maximum database records (999) reached}
  ecDatabaseEmpty          = -7011;    {No records in database}
  ecDatabaseNotPrepared    = -7012;    {iPrepareIniDatabase not called}
  ecBadFieldList           = -7013;    {Bad field list in INIDB}
  ecBadFieldForIndex       = -7014;    {Bad field for index in INIDB}

const                                                                    {!!.04}
  {State Machine}                                                        {!!.04}
  ecNoStateMachine         = -7500;    {No state machine}                {!!.04}
  ecNoStartState           = -7501;    {StartState not set}              {!!.04}
  ecNoSapiEngine           = -7502;    {SAPI Engine not set}             {!!.04}                                                              

const
  ecFaxBadFormat           = -8001;    {File is not an APF file}
  ecBadGraphicsFormat      = -8002;    {Unsupported graphics file format}
  ecConvertAbort           = -8003;    {User aborted fax conversion}
  ecUnpackAbort            = -8004;    {User aborted fax unpack}
  ecCantMakeBitmap         = -8005;    {CreateBitmapIndirect API failure}
  ecNoImageLoaded          = -8050;    {no image loaded into viewer}
  ecNoImageBlockMarked     = -8051;    {no block of image marked}
  ecFontFileNotFound       = -8052;    {APFAX.FNT not found, or resource bad}
  ecInvalidPageNumber      = -8053;    {Invalid page number specified for fax}
  ecBmpTooBig              = -8054;    {BMP size exceeds Windows' maxheight of 32767}
  ecEnhFontTooBig          = -8055;    {Font selected for enh text converter too large}

const
  ecFaxBadMachine          = -8060;    {Fax incompatible with remote fax}
  ecFaxBadModemResult      = -8061;    {Bad response from modem}
  ecFaxTrainError          = -8062;    {Modems failed to train}
  ecFaxInitError           = -8063;    {Error while initializing modem}
  ecFaxBusy                = -8064;    {Called fax number was busy}
  ecFaxVoiceCall           = -8065;    {Called fax number answered with voice}
  ecFaxDataCall            = -8066;    {Incoming data call}
  ecFaxNoDialTone          = -8067;    {No dial tone}
  ecFaxNoCarrier           = -8068;    {Failed to connect to remote fax}
  ecFaxSessionError        = -8069;    {Fax failed in mid-session}
  ecFaxPageError           = -8070;    {Fax failed at page end}
  ecFaxGDIPrintError       = -8071;    {NextBand GDI error in fax print driver}
  ecFaxMixedResolution     = -8072;    {Multiple resolutions in one session}
  ecFaxConverterInitFail   = -8073;    {Initialization of fax converter failed}
  ecNoAnswer               = -8074;    {Remote fax did not answer}                 
  ecAlreadyMonitored       = -8075;    {MonitorDir already being used}

const
  ecUniAlreadyInstalled    = -8080;    {Unidrv support files already installed}
  ecUniCannotGetSysDir     = -8081;    {Cannot determine windows system dir}
  ecUniCannotGetWinDir     = -8082;    {Cannot determine windows dir}
  ecUniUnknownLayout       = -8083;    {Cannot determine setup file layout}
  ecUniCannotInstallFile   = -8085;    {Cannot install Unidrv files to system dir}
  ecDrvCopyError           = -8087;    {Error copying printer driver}
  ecCannotAddPrinter       = -8088;    {32-bit AddPrinter call failed}
  ecDrvBadResources        = -8089;    {Bad/missing resources in driver}
  ecDrvDriverNotFound      = -8090;    {Driver file not found}
  ecUniCannotGetPrinterDriverDir
                           = -8091;    {Cannot determine Win NT printer driver dir}
  ecInstallDriverFailed    = -8092;    {AddPrinterDriver API failed}

    { TApdGSMPhone error codes }
const
  ecSMSBusy                = -8100;    {Busy with another command}
  ecSMSTimedOut            = -8101;    {Timed out, no response back}
  ecSMSTooLong             = -8102;    {SMS message too long}
  ecSMSUnknownStatus       = -8103;    {Status unknown}
  ecMEFailure              = -8300;    {Mobile Equipment Failure}
  ecServiceRes             = -8301;    {SMS service of ME reserved}
  ecBadOperation           = -8302;    {Operation not allowed}
  ecUnsupported            = -8303;    {Operation not supported}
  ecInvalidPDU             = -8304;    {Invalid PDU mode parameter}
  ecInvalidText            = -8305;    {Invalid Text mode parameter}
  ecSIMInsert              = -8310;    {SIM card not inserted}
  ecSIMPin                 = -8311;    {SIM PIN required}
  ecSIMPH                  = -8312;    {PH-SIM PIN required}
  ecSIMFailure             = -8313;    {SIM failure}
  ecSIMBusy                = -8314;    {SIM busy}
  ecSIMWrong               = -8315;    {SIM wrong}
  ecSIMPUK                 = -8316;    {SIM PUK required}
  ecSIMPIN2                = -8317;    {SIM PIN2 required}
  ecSIMPUK2                = -8318;    {SIM PUK2 required}
  ecMemFail                = -8320;    {Memory failure}
  ecInvalidMemIndex        = -8321;    {Invalid memory index}
  ecMemFull                = -8322;    {Memory full}
  ecSMSCAddUnknown         = -8330;    {SMS Center Address unknown}
  ecNoNetwork              = -8331;    {No network service}
  ecNetworkTimeout         = -8332;    {Network timeout}
  ecCNMAAck                = -8340;    {No +CNMA acknowledgement expected}
  ecUnknown                = -8500;    {Unknown error}


const
  ecADWSERROR                      = 9001;
  ecADWSLOADERROR                  = 9002;
  ecADWSVERSIONERROR               = 9003;
  ecADWSNOTINIT                    = 9004;
  ecADWSINVPORT                    = 9005;
  ecADWSCANTCHANGE                 = 9006;
  ecADWSCANTRESOLVE                = 9007;

  { All Windows Sockets error constants are biased by 10000 from the "normal" }
  wsaBaseErr = 10000;

  { Windows Sockets definitions of regular Microsoft C error constants }
  wsaEIntr  = 10004;
  wsaEBadF  = 10009;
  wsaEAcces = 10013;
  wsaEFault = 10014;
  wsaEInVal = 10022;
  wsaEMFile = 10024;

  { Windows Sockets definitions of regular Berkeley error constants }
  wsaEWouldBlock     = 10035;
  wsaEInProgress     = 10036;
  wsaEAlReady        = 10037;
  wsaENotSock        = 10038;
  wsaEDestAddrReq    = 10039;
  wsaEMsgSize        = 10040;
  wsaEPrototype      = 10041;
  wsaENoProtoOpt     = 10042;
  wsaEProtoNoSupport = 10043;
  wsaESocktNoSupport = 10044;
  wsaEOpNotSupp      = 10045;
  wsaEPfNoSupport    = 10046;
  wsaEAfNoSupport    = 10047;
  wsaEAddrInUse      = 10048;
  wsaEAddrNotAvail   = 10049;
  wsaENetDown        = 10050;
  wsaENetUnreach     = 10051;
  wsaENetReset       = 10052;
  wsaEConnAborted    = 10053;
  wsaEConnReset      = 10054;
  wsaENoBufs         = 10055;
  wsaEIsConn         = 10056;
  wsaENotConn        = 10057;
  wsaEShutDown       = 10058;
  wsaETooManyRefs    = 10059;
  wsaETimedOut       = 10060;
  wsaEConnRefused    = 10061;
  wsaELoop           = 10062;
  wsaENameTooLong    = 10063;
  wsaEHostDown       = 10064;
  wsaEHostUnreach    = 10065;
  wsaENotEmpty       = 10066;
  wsaEProcLim        = 10067;
  wsaEUsers          = 10068;
  wsaEDQuot          = 10069;
  wsaEStale          = 10070;
  wsaERemote         = 10071;
  wsaEDiscOn         = 10101;

  { Extended Windows Sockets error constant definitions }

  wsaSysNotReady     = 10091;
  wsaVerNotSupported = 10092;
  wsaNotInitialised  = 10093;

  { Error return codes from gethostbyname() and gethostbyaddr() (when using the }
  { resolver). Note that these errors are retrieved via wsaGetLastError() and }
  { must therefore follow the rules for avoiding clashes with error numbers from }
  { specific implementations or language run-time systems.  For this reason the }
  { codes are based at 10000+1001. Note also that [wsa]No_Address is defined }
  { only for compatibility purposes. }

  { Authoritative Answer: Host not found }

  wsaHost_Not_Found = 11001;
  Host_Not_Found    = wsaHost_Not_Found;

  { Non-Authoritative: Host not found, or ServerFAIL }

  wsaTry_Again = 11002;
  Try_Again    = wsaTry_Again;

  { Non recoverable errors, FORMERR, REFUSED, NotIMP }

  wsaNo_Recovery = 11003;
  No_Recovery    = wsaNo_Recovery;

  { Valid name, no data record of requested type }

  wsaNo_Data = 11004;
  No_Data    = wsaNo_Data;

  { no address, look for MX record }

  wsaNo_Address = wsaNo_Data;
  No_Address    = wsaNo_Address;

  { The string resource range 13500 - 13800 is used for TAPI }
  { status messages, which do not require constants here     }

const
  {Adjusted TAPI error codes}
  ecAllocated              = -13801;
  ecBadDeviceID            = -13802;
  ecBearerModeUnavail      = -13803;
  ecCallUnavail            = -13805;
  ecCompletionOverrun      = -13806;
  ecConferenceFull         = -13807;
  ecDialBilling            = -13808;
  ecDialDialtone           = -13809;
  ecDialPrompt             = -13810;
  ecDialQuiet              = -13811;

⌨️ 快捷键说明

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