赞
踩
iOS真机调试常见错误及解决方案
地址https://developer.apple.com/library/ios/#technotes/tn2250/_index.html#//apple_ref/doc/uid/DTS40009933-CH1-TNTAG3
错误代码对照表
#ifndef __MACERRORS__ #define __MACERRORS__ #ifndef __CONDITIONALMACROS__ #include #endif #include #if PRAGMA_ONCE #pragma once #endif #ifdef __cplusplus extern "C" { #endif enum { paramErr = -50, noHardwareErr = -200, notEnoughHardwareErr = -201, userCanceledErr = -128, qErr = -1, vTypErr = -2, corErr = -3, unimpErr = -4, SlpTypeErr = -5, seNoDB = -8, controlErr = -17, statusErr = -18, readErr = -19, writErr = -20, badUnitErr = -21, unitEmptyErr = -22, openErr = -23, closErr = -24, dRemovErr = -25, dInstErr = -26 }; enum { abortErr = -27, iIOAbortErr = -27, notOpenErr = -28, unitTblFullErr = -29, dceExtErr = -30, slotNumErr = -360, gcrOnMFMErr = -400, dirFulErr = -33, dskFulErr = -34, nsvErr = -35, ioErr = -36, bdNamErr = -37, fnOpnErr = -38, eofErr = -39, posErr = -40, mFulErr = -41, tmfoErr = -42, fnfErr = -43, wPrErr = -44, fLckdErr = -45 }; enum { vLckdErr = -46, fBsyErr = -47, dupFNErr = -48, opWrErr = -49, rfNumErr = -51, gfpErr = -52, volOffLinErr = -53, permErr = -54, volOnLinErr = -55, nsDrvErr = -56, noMacDskErr = -57, extFSErr = -58, fsRnErr = -59, badMDBErr = -60, wrPermErr = -61, dirNFErr = -120, tmwdoErr = -121, badMovErr = -122, wrgVolTypErr = -123, volGoneErr = -124 }; enum { fidNotFound = -1300, fidExists = -1301, notAFileErr = -1302, diffVolErr = -1303, catChangedErr = -1304, desktopDamagedErr = -1305, sameFileErr = -1306, badFidErr = -1307, notARemountErr = -1308, fileBoundsErr = -1309, fsDataTooBigErr = -1310, volVMBusyErr = -1311, badFCBErr = -1327, errFSUnknownCall = -1400, errFSBadFSRef = -1401, errFSBadForkName = -1402, errFSBadBuffer = -1403, errFSBadForkRef = -1404, errFSBadInfoBitmap = -1405, errFSMissingCatInfo = -1406, errFSNotAFolder = -1407, errFSForkNotFound = -1409, errFSNameTooLong = -1410, errFSMissingName = -1411, errFSBadPosMode = -1412, errFSBadAllocFlags = -1413, errFSNoMoreItems = -1417, errFSBadItemCount = -1418, errFSBadSearchParams = -1419, errFSRefsDifferent = -1420, errFSForkExists = -1421, errFSBadIteratorFlags = -1422, errFSIteratorNotFound = -1423, errFSIteratorNotSupported = -1424, errFSQuotaExceeded = -1425, errFSOperationNotSupport ed = -1426, errFSAttributeNotFound = -1427, errFSPropertyNotValid = -1428, errFSNotEnoughSpaceForOp eration = -1429, envNotPresent = -5500, envBadVers = -5501, envVersTooBig = -5502, fontDecError = -64, fontNotDeclared = -65, fontSubErr = -66, fontNotOutlineErr = -32615, firstDskErr = -84, lastDskErr = -64, noDriveErr = -64, offLinErr = -65, noNybErr = -66 }; enum { noAdrMkErr = -67, dataVerErr = -68, badCksmErr = -69, badBtSlpErr = -70, noDtaMkErr = -71, badDCksum = -72, badDBtSlp = -73, wrUnderrun = -74, cantStepErr = -75, tk0BadErr = -76, initIWMErr = -77, twoSideErr = -78, spdAdjErr = -79, seekErr = -80, sectNFErr = -81, fmt1Err = -82, fmt2Err = -83, verErr = -84, clkRdErr = -85, clkWrErr = -86, prWrErr = -87, prInitErr = -88, rcvrErr = -89, breakRecd = -90 }; enum { noScrapErr = -100, noTypeErr = -102 }; enum { eLenErr = -92, eMultiErr = -91 }; enum { ddpSktErr = -91, ddpLenErr = -92, noBridgeErr = -93, lapProtErr = -94, excessCollsns = -95, portNotPwr = -96, portInUse = -97, portNotCf = -98 }; enum { memROZWarn = -99, memROZError = -99, memROZErr = -99, memFullErr = -108, nilHandleErr = -109, memWZErr = -111, memPurErr = -112, memAdrErr = -110, memAZErr = -113, memPCErr = -114, memBCErr = -115, memSCErr = -116, memLockedErr = -117 }; enum { iMemFullErr = -108, iIOAbort = -27 }; enum { resourceInMemory = -188, writingPastEnd = -189, inputOutOfBounds = -190, resNotFound = -192, resFNotFound = -193, addResFailed = -194, addRefFailed = -195, rmvResFailed = -196, rmvRefFailed = -197, resAttrErr = -198, mapReadErr = -199, CantDecompress = -186, badExtResource = -185, noMemForPictPlaybackErr = -145, rgnOverflowErr = -147, rgnTooBigError = -147, pixMapTooDeepErr = -148, insufficientStackErr = -149, nsStackErr = -149 }; enum { evtNotEnb = 1 }; enum { cMatchErr = -150, cTempMemErr = -151, cNoMemErr = -152, cRangeErr = -153, cProtectErr = -154, cDevErr = -155, cResErr = -156, cDepthErr = -157, rgnTooBigErr = -500, updPixMemErr = -125, pictInfoVersionErr = -11000, pictInfoIDErr = -11001, pictInfoVerbErr = -11002, cantLoadPickMethodErr = -11003, colorsRequestedErr = -11004, pictureDataErr = -11005 }; enum { cmProfileError = -170, cmMethodError = -171, cmMethodNotFound = -175, cmProfileNotFound = -176, cmProfilesIdentical = -177, cmCantConcatenateError = -178, cmCantXYZ = -179, cmCantDeleteProfile = -180, cmUnsupportedDataType = -181, cmNoCurrentProfile = -182 }; enum { noHardware = noHardwareErr, notEnoughHardware = notEnoughHardwareErr, queueFull = -203, resProblem = -204, badChannel = -205, badFormat = -206, notEnoughBufferSpace = -207, badFileFormat = -208, channelBusy = -209, buffersTooSmall = -210, channelNotBusy = -211, noMoreRealTime = -212, siVBRCompressionNotSuppo rted = -213, siNoSoundInHardware = -220, siBadSoundInDevice = -221, siNoBufferSpecified = -222, siInvalidCompression = -223, siHardDriveTooSlow = -224, siInvalidSampleRate = -225, siInvalidSampleSize = -226, siDeviceBusyErr = -227, siBadDeviceName = -228, siBadRefNum = -229, siInputDeviceErr = -230, siUnknownInfoType = -231, siUnknownQuality = -232 }; enum { noSynthFound = -240, synthOpenFailed = -241, synthNotReady = -242, bufTooSmall = -243, voiceNotFound = -244, incompatibleVoice = -245, badDictFormat = -246, badInputText = -247 }; enum { midiNoClientErr = -250, midiNoPortErr = -251, midiTooManyPortsErr = -252, midiTooManyConsErr = -253, midiVConnectErr = -254, midiVConnectMade = -255, midiVConnectRmvd = -256, midiNoConErr = -257, midiWriteErr = -258, midiNameLenErr = -259, midiDupIDErr = -260, midiInvalidCmdErr = -261 }; enum { nmTypErr = -299 }; enum { siInitSDTblErr = 1, siInitVBLQsErr = 2, siInitSPTblErr = 3, sdmJTInitErr = 10, sdmInitErr = 11, sdmSRTInitErr = 12, sdmPRAMInitErr = 13, sdmPriInitErr = 14 }; enum { smSDMInitErr = -290, smSRTInitErr = -291, smPRAMInitErr = -292, smPriInitErr = -293, smEmptySlot = -300, smCRCFail = -301, smFormatErr = -302, smRevisionErr = -303, smNoDir = -304, smDisabledSlot = -305, smNosInfoArray = -306 }; enum { smResrvErr = -307, smUnExBusErr = -308, smBLFieldBad = -309, smFHBlockRdErr = -310, smFHBlkDispErr = -311, smDisposePErr = -312, smNoBoardSRsrc = -313, smGetPRErr = -314, smNoBoardId = -315, smInitStatVErr = -316, smInitTblVErr = -317, smNoJmpTbl = -318, smReservedSlot = -318, smBadBoardId = -319, smBusErrTO = -320, svTempDisable = -32768L, svDisabled = -32640, smBadRefId = -330, smBadsList = -331, smReservedErr = -332, smCodeRevErr = -333 }; enum { smCPUErr = -334, smsPointerNil = -335, smNilsBlockErr = -336, smSlotOOBErr = -337, smSelOOBErr = -338, smNewPErr = -339, smBlkMoveErr = -340, smCkStatusErr = -341, smGetDrvrNamErr = -342, smDisDrvrNamErr = -343, smNoMoresRsrcs = -344, smsGetDrvrErr = -345, smBadsPtrErr = -346, smByteLanesErr = -347, smOffsetErr = -348, smNoGoodOpens = -349, smSRTOvrFlErr = -350, smRecNotFnd = -351 }; enum { notBTree = -410, btNoSpace = -413, btDupRecErr = -414, btRecNotFnd = -415, btKeyLenErr = -416, btKeyAttrErr = -417, unknownInsertModeErr = -20000, recordDataTooBigErr = -20001, invalidIndexErr = -20002 }; enum { fsmFFSNotFoundErr = -431, fsmBusyFFSErr = -432, fsmBadFFSNameErr = -433, fsmBadFSDLenErr = -434, fsmDuplicateFSIDErr = -435, fsmBadFSDVersionErr = -436, fsmNoAlternateStackErr = -437, fsmUnknownFSMMessageErr = -438 }; enum { editionMgrInitErr = -450, badSectionErr = -451, notRegisteredSectionErr = -452, badEditionFileErr = -453, badSubPartErr = -454, multiplePublisherWrn = -460, containerNotFoundWrn = -461, containerAlreadyOpenWrn = -462, notThePublisherWrn = -463 }; enum { teScrapSizeErr = -501, hwParamErr = -502, driverHardwareGoneErr = -503 }; enum { procNotFound = -600, memFragErr = -601, appModeErr = -602, protocolErr = -603, hardwareConfigErr = -604, appMemFullErr = -605, appIsDaemon = -606, bufferIsSmall = -607, noOutstandingHLE = -608, connectionInvalid = -609, noUserInteractionAllowed = -610 }; enum { wrongApplicationPlatform = -875, appVersionTooOld = -876, notAppropriateForClassic = -877 }; enum { threadTooManyReqsErr = -617, threadNotFoundErr = -618, threadProtocolErr = -619 }; enum { threadBadAppContextErr = -616 }; enum { notEnoughMemoryErr = -620, notHeldErr = -621, cannotMakeContiguousErr = -622, notLockedErr = -623, interruptsMaskedErr = -624, cannotDeferErr = -625, noMMUErr = -626 }; enum { vmMorePhysicalThanVirtua lErr = -628, vmKernelMMUInitErr = -629, vmOffErr = -630, vmMemLckdErr = -631, vmBadDriver = -632, vmNoVectorErr = -633 }; enum { vmInvalidBackingFileIDEr r = -640, vmMappingPrivilegesErr = -641, vmBusyBackingFileErr = -642, vmNoMoreBackingFilesErr = -643, vmInvalidFileViewIDErr = -644, vmFileViewAccessErr = -645, vmNoMoreFileViewsErr = -646, vmAddressNotInFileViewEr r = -647, vmInvalidOwningProcessEr r = -648 }; enum { rcDBNull = -800, rcDBValue = -801, rcDBError = -802, rcDBBadType = -803, rcDBBreak = -804, rcDBExec = -805, rcDBBadSessID = -806, rcDBBadSessNum = -807, rcDBBadDDEV = -808, rcDBAsyncNotSupp = -809, rcDBBadAsyncPB = -810, rcDBNoHandler = -811, rcDBWrongVersion = -812, rcDBPackNotInited = -813 }; enum { hmHelpDisabled = -850, hmBalloonAborted = -853, hmSameAsLastBalloon = -854, hmHelpManagerNotInited = -855, hmSkippedBalloon = -857, hmWrongVersion = -858, hmUnknownHelpType = -859, hmOperationUnsupported = -861, hmNoBalloonUp = -862, hmCloseViewActive = -863 }; enum { notInitErr = -900, nameTypeErr = -902, noPortErr = -903, noGlobalsErr = -904, localOnlyErr = -905, destPortErr = -906, sessTableErr = -907, noSessionErr = -908, badReqErr = -909, portNameExistsErr = -910, noUserNameErr = -911, userRejectErr = -912, noMachineNameErr = -913, noToolboxNameErr = -914, noResponseErr = -915, portClosedErr = -916, sessClosedErr = -917, badPortNameErr = -919, noDefaultUserErr = -922, notLoggedInErr = -923, noUserRefErr = -924, networkErr = -925, noInformErr = -926, authFailErr = -927, noUserRecErr = -928, badServiceMethodErr = -930, badLocNameErr = -931, guestNotAllowedErr = -932 }; enum { kFMIterationCompleted = -980L, kFMInvalidFontFamilyErr = -981L, kFMInvalidFontErr = -982L, kFMIterationScopeModifie dErr = -983L, kFMFontTableAccessErr = -984L, kFMFontContainerAccessEr r = -985L }; enum { noMaskFoundErr = -1000 }; enum { nbpBuffOvr = -1024, nbpNoConfirm = -1025, nbpConfDiff = -1026, nbpDuplicate = -1027, nbpNotFound = -1028, nbpNISErr = -1029 }; enum { aspBadVersNum = -1066, aspBufTooSmall = -1067, aspNoMoreSess = -1068, aspNoServers = -1069, aspParamErr = -1070, aspServerBusy = -1071, aspSessClosed = -1072, aspSizeErr = -1073, aspTooMany = -1074, aspNoAck = -1075 }; enum { reqFailed = -1096, tooManyReqs = -1097, tooManySkts = -1098, badATPSkt = -1099, badBuffNum = -1100, noRelErr = -1101, cbNotFound = -1102, noSendResp = -1103, noDataArea = -1104, reqAborted = -1105 }; enum { errRefNum = -1280, errAborted = -1279, errState = -1278, errOpening = -1277, errAttention = -1276, errFwdReset = -1275, errDSPQueueSize = -1274, errOpenDenied = -1273 }; enum { errAECoercionFail = -1700, errAEDescNotFound = -1701, errAECorruptData = -1702, errAEWrongDataType = -1703, errAENotAEDesc = -1704, errAEBadListItem = -1705, errAENewerVersion = -1706, errAENotAppleEvent = -1707, errAEEventNotHandled = -1708, errAEReplyNotValid = -1709, errAEUnknownSendMode = -1710, errAEWaitCanceled = -1711, errAETimeout = -1712, errAENoUserInteraction = -1713, errAENotASpecialFunction = -1714, errAEParamMissed = -1715, errAEUnknownAddressType = -1716, errAEHandlerNotFound = -1717, errAEReplyNotArrived = -1718, errAEIllegalIndex = -1719, errAEImpossibleRange = -1720, errAEWrongNumberArgs = -1721, errAEAccessorNotFound = -1723, errAENoSuchLogical = -1725, errAEBadTestKey = -1726, errAENotAnObjSpec = -1727, errAENoSuchObject = -1728, errAENegativeCount = -1729, errAEEmptyListContainer = -1730, errAEUnknownObjectType = -1731, errAERecordingIsAlreadyO n = -1732, errAEReceiveTerminate = -1733, errAEReceiveEscapeCurren t = -1734, errAEEventFiltered = -1735, errAEDuplicateHandler = -1736, errAEStreamBadNesting = -1737, errAEStreamAlreadyConver ted = -1738, errAEDescIsNull = -1739, errAEBuildSyntaxError = -1740, errAEBufferTooSmall = -1741 }; enum { errOSASystemError = -1750, errOSAInvalidID = -1751, errOSABadStorageType = -1752, errOSAScriptError = -1753, errOSABadSelector = -1754, errOSASourceNotAvailable = -1756, errOSANoSuchDialect = -1757, errOSADataFormatObsolete = -1758, errOSADataFormatTooNew = -1759, errOSACorruptData = errAECorruptData, errOSARecordingIsAlready On = errAERecordingIsAlreadyO n, errOSAComponentMismatch = -1761, errOSACantOpenComponent = -1762 }; enum { errOffsetInvalid = -1800, errOffsetIsOutsideOfView = -1801, errTopOfDocument = -1810, errTopOfBody = -1811, errEndOfDocument = -1812, errEndOfBody = -1813 }; enum { badDragRefErr = -1850, badDragItemErr = -1851, badDragFlavorErr = -1852, duplicateFlavorErr = -1853, cantGetFlavorErr = -1854, duplicateHandlerErr = -1855, handlerNotFoundErr = -1856, dragNotAcceptedErr = -1857, unsupportedForPlatformEr r = -1858, noSuitableDisplaysErr = -1859, badImageRgnErr = -1860, badImageErr = -1861, nonDragOriginatorErr = -1862 }; enum { couldNotResolveDataRef = -2000, badImageDescription = -2001, badPublicMovieAtom = -2002, cantFindHandler = -2003, cantOpenHandler = -2004, badComponentType = -2005, noMediaHandler = -2006, noDataHandler = -2007, invalidMedia = -2008, invalidTrack = -2009, invalidMovie = -2010, invalidSampleTable = -2011, invalidDataRef = -2012, invalidHandler = -2013, invalidDuration = -2014, invalidTime = -2015, cantPutPublicMovieAtom = -2016, badEditList = -2017, mediaTypesDontMatch = -2018, progressProcAborted = -2019, movieToolboxUninitialize d = -2020, noRecordOfApp = movieToolboxUninitialize d, wfFileNotFound = -2021, cantCreateSingleForkFile = -2022, invalidEditState = -2023, nonMatchingEditState = -2024, staleEditState = -2025, userDataItemNotFound = -2026, maxSizeToGrowTooSmall = -2027, badTrackIndex = -2028, trackIDNotFound = -2029, trackNotInMovie = -2030, timeNotInTrack = -2031, timeNotInMedia = -2032, badEditIndex = -2033, internalQuickTimeError = -2034, cantEnableTrack = -2035, invalidRect = -2036, invalidSampleNum = -2037, invalidChunkNum = -2038, invalidSampleDescIndex = -2039, invalidChunkCache = -2040, invalidSampleDescription = -2041, dataNotOpenForRead = -2042, dataNotOpenForWrite = -2043, dataAlreadyOpenForWrite = -2044, dataAlreadyClosed = -2045, endOfDataReached = -2046, dataNoDataRef = -2047, noMovieFound = -2048, invalidDataRefContainer = -2049, badDataRefIndex = -2050, noDefaultDataRef = -2051, couldNotUseAnExistingSam ple = -2052, featureUnsupported = -2053, noVideoTrackInMovieErr = -2054, noSoundTrackInMovieErr = -2055, soundSupportNotAvailable Err = -2056, unsupportedAuxiliaryImpo rtData = -2057, auxiliaryExportDataUnava ilable = -2058, samplesAlreadyInMediaErr = -2059, noSourceTreeFoundErr = -2060, sourceNotFoundErr = -2061, movieTextNotFoundErr = -2062, missingRequiredParameter Err = -2063, invalidSpriteWorldProper tyErr = -2064, invalidSpritePropertyErr = -2065, gWorldsNotSameDepthAndSi zeErr = -2066, invalidSpriteIndexErr = -2067, invalidImageIndexErr = -2068, invalidSpriteIDErr = -2069 }; enum { internalComponentErr = -2070, notImplementedMusicOSErr = -2071, cantSendToSynthesizerOSE rr = -2072, cantReceiveFromSynthesiz erOSErr = -2073, illegalVoiceAllocationOS Err = -2074, illegalPartOSErr = -2075, illegalChannelOSErr = -2076, illegalKnobOSErr = -2077, illegalKnobValueOSErr = -2078, illegalInstrumentOSErr = -2079, illegalControllerOSErr = -2080, midiManagerAbsentOSErr = -2081, synthesizerNotResponding OSErr = -2082, synthesizerOSErr = -2083, illegalNoteChannelOSErr = -2084, noteChannelNotAllocatedO SErr = -2085, tunePlayerFullOSErr = -2086, tuneParseOSErr = -2087, noExportProcAvailableErr = -2089, videoOutputInUseErr = -2090 }; enum { componentDllLoadErr = -2091, componentDllEntryNotFoun dErr = -2092, qtmlDllLoadErr = -2093, qtmlDllEntryNotFoundErr = -2094, qtmlUninitialized = -2095, unsupportedOSErr = -2096, unsupportedProcessorErr = -2097, componentNotThreadSafeEr r = -2098 }; enum { cannotFindAtomErr = -2101, notLeafAtomErr = -2102, atomsNotOfSameTypeErr = -2103, atomIndexInvalidErr = -2104, duplicateAtomTypeAndIDEr r = -2105, invalidAtomErr = -2106, invalidAtomContainerErr = -2107, invalidAtomTypeErr = -2108, cannotBeLeafAtomErr = -2109, pathTooLongErr = -2110, emptyPathErr = -2111, noPathMappingErr = -2112, pathNotVerifiedErr = -2113, unknownFormatErr = -2114, wackBadFileErr = -2115, wackForkNotFoundErr = -2116, wackBadMetaDataErr = -2117, qfcbNotFoundErr = -2118, qfcbNotCreatedErr = -2119, AAPNotCreatedErr = -2120, AAPNotFoundErr = -2121, ASDBadHeaderErr = -2122, ASDBadForkErr = -2123, ASDEntryNotFoundErr = -2124, fileOffsetTooBigErr = -2125, notAllowedToSaveMovieErr = -2126, qtNetworkAlreadyAllocate dErr = -2127, urlDataHHTTPProtocolErr = -2129, urlDataHHTTPNoNetDriverE rr = -2130, urlDataHHTTPURLErr = -2131, urlDataHHTTPRedirectErr = -2132, urlDataHFTPProtocolErr = -2133, urlDataHFTPShutdownErr = -2134, urlDataHFTPBadUserErr = -2135, urlDataHFTPBadPasswordEr r = -2136, urlDataHFTPServerErr = -2137, urlDataHFTPDataConnectio nErr = -2138, urlDataHFTPNoDirectoryEr r = -2139, urlDataHFTPQuotaErr = -2140, urlDataHFTPPermissionsEr r = -2141, urlDataHFTPFilenameErr = -2142, urlDataHFTPNoNetDriverEr r = -2143, urlDataHFTPBadNameListEr r = -2144, urlDataHFTPNeedPasswordE rr = -2145, urlDataHFTPNoPasswordErr = -2146, urlDataHFTPServerDisconn ectedErr = -2147, urlDataHFTPURLErr = -2148, notEnoughDataErr = -2149, qtActionNotHandledErr = -2157, qtXMLParseErr = -2158, qtXMLApplicationErr = -2159 }; enum { digiUnimpErr = -2201, qtParamErr = -2202, matrixErr = -2203, notExactMatrixErr = -2204, noMoreKeyColorsErr = -2205, notExactSizeErr = -2206, badDepthErr = -2207, noDMAErr = -2208, badCallOrderErr = -2209 }; enum { kernelIncompleteErr = -2401, kernelCanceledErr = -2402, kernelOptionsErr = -2403, kernelPrivilegeErr = -2404, kernelUnsupportedErr = -2405, kernelObjectExistsErr = -2406, kernelWritePermissionErr = -2407, kernelReadPermissionErr = -2408, kernelExecutePermissionE rr = -2409, kernelDeletePermissionEr r = -2410, kernelExecutionLevelErr = -2411, kernelAttributeErr = -2412, kernelAsyncSendLimitErr = -2413, kernelAsyncReceiveLimitE rr = -2414, kernelTimeoutErr = -2415, kernelInUseErr = -2416, kernelTerminatedErr = -2417, kernelExceptionErr = -2418, kernelIDErr = -2419, kernelAlreadyFreeErr = -2421, kernelReturnValueErr = -2422, kernelUnrecoverableErr = -2499 }; enum { tsmComponentNoErr = 0, tsmUnsupScriptLanguageEr r = -2500, tsmInputMethodNotFoundEr r = -2501, tsmNotAnAppErr = -2502, tsmAlreadyRegisteredErr = -2503, tsmNeverRegisteredErr = -2504, tsmInvalidDocIDErr = -2505, tsmTSMDocBusyErr = -2506, tsmDocNotActiveErr = -2507, tsmNoOpenTSErr = -2508, tsmCantOpenComponentErr = -2509, tsmTextServiceNotFoundEr r = -2510, tsmDocumentOpenErr = -2511, tsmUseInputWindowErr = -2512, tsmTSHasNoMenuErr = -2513, tsmTSNotOpenErr = -2514, tsmComponentAlreadyOpenE rr = -2515, tsmInputMethodIsOldErr = -2516, tsmScriptHasNoIMErr = -2517, tsmUnsupportedTypeErr = -2518, tsmUnknownErr = -2519, tsmInvalidContext = -2520, tsmNoHandler = -2521, tsmNoMoreTokens = -2522, tsmNoStem = -2523, tsmDefaultIsNotInputMeth odErr = -2524, tsmDocPropertyNotFoundEr r = -2528, tsmDocPropertyBufferTooS mallErr = -2529, tsmCantChangeForcedClass StateErr = -2530, tsmComponentPropertyUnsu pportedErr = -2531, tsmComponentPropertyNotF oundErr = -2532, tsmInputModeChangeFailed Err = -2533 }; enum { mmInternalError = -2526 }; enum { nrLockedErr = -2536, nrNotEnoughMemoryErr = -2537, nrInvalidNodeErr = -2538, nrNotFoundErr = -2539, nrNotCreatedErr = -2540, nrNameErr = -2541, nrNotSlotDeviceErr = -2542, nrDataTruncatedErr = -2543, nrPowerErr = -2544, nrPowerSwitchAbortErr = -2545, nrTypeMismatchErr = -2546, nrNotModifiedErr = -2547, nrOverrunErr = -2548, nrResultCodeBase = -2549, nrPathNotFound = -2550, nrPathBufferTooSmall = -2551, nrInvalidEntryIterationO p = -2552, nrPropertyAlreadyExists = -2553, nrIterationDone = -2554, nrExitedIteratorScope = -2555, nrTransactionAborted = -2556, nrCallNotSupported = -2557 }; enum { invalidIconRefErr = -2580, noSuchIconErr = -2581, noIconDataAvailableErr = -2582 }; enum { errOSACantCoerce = errAECoercionFail, errOSACantAccess = errAENoSuchObject, errOSACantAssign = -10006, errOSAGeneralError = -2700, errOSADivideByZero = -2701, errOSANumericOverflow = -2702, errOSACantLaunch = -2703, errOSAAppNotHighLevelEve ntAware = -2704, errOSACorruptTerminology = -2705, errOSAStackOverflow = -2706, errOSAInternalTableOverf low = -2707, errOSADataBlockTooLarge = -2708, errOSACantGetTerminology = -2709, errOSACantCreate = -2710 }; enum { errOSATypeError = errAEWrongDataType, OSAMessageNotUnderstood = errAEEventNotHandled, OSAUndefinedHandler = errAEHandlerNotFound, OSAIllegalAccess = errAEAccessorNotFound, OSAIllegalIndex = errAEIllegalIndex, OSAIllegalRange = errAEImpossibleRange, OSAIllegalAssign = -10003, OSASyntaxError = -2740, OSASyntaxTypeError = -2741, OSATokenTooLong = -2742, OSAMissingParameter = errAEDescNotFound, OSAParameterMismatch = errAEWrongNumberArgs, OSADuplicateParameter = -2750, OSADuplicateProperty = -2751, OSADuplicateHandler = -2752, OSAUndefinedVariable = -2753, OSAInconsistentDeclarati ons = -2754, OSAControlFlowError = -2755 }; enum { errASCantConsiderAndIgno re = -2720, errASCantCompareMoreThan 32k = -2721, errASTerminologyNestingT ooDeep = -2760, errASIllegalFormalParame ter = -2761, errASParameterNotForEven t = -2762, errASNoResultReturned = -2763, errASInconsistentNames = -2780 }; enum { cfragFirstErrCode = -2800, cfragContextIDErr = -2800, cfragConnectionIDErr = -2801, cfragNoSymbolErr = -2802, cfragNoSectionErr = -2803, cfragNoLibraryErr = -2804, cfragDupRegistrationErr = -2805, cfragFragmentFormatErr = -2806, cfragUnresolvedErr = -2807, cfragNoPositionErr = -2808, cfragNoPrivateMemErr = -2809, cfragNoClientMemErr = -2810, cfragNoIDsErr = -2811, cfragInitOrderErr = -2812, cfragImportTooOldErr = -2813, cfragImportTooNewErr = -2814, cfragInitLoopErr = -2815, cfragInitAtBootErr = -2816, cfragLibConnErr = -2817, cfragCFMStartupErr = -2818, cfragCFMInternalErr = -2819, cfragFragmentCorruptErr = -2820, cfragInitFunctionErr = -2821, cfragNoApplicationErr = -2822, cfragArchitectureErr = -2823, cfragFragmentUsageErr = -2824, cfragFileSizeErr = -2825, cfragNotClosureErr = -2826, cfragNoRegistrationErr = -2827, cfragContainerIDErr = -2828, cfragClosureIDErr = -2829, cfragAbortClosureErr = -2830, cfragOutputLengthErr = -2831, cfragMapFileErr = -2851, cfragExecFileRefErr = -2854, cfragStdFolderErr = -2855, cfragRsrcForkErr = -2856, cfragCFragRsrcErr = -2857, cfragLastErrCode = -2899 }; enum { cfragFirstReservedCode = -2897, cfragReservedCode_3 = -2897, cfragReservedCode_2 = -2898, cfragReservedCode_1 = -2899 }; #if OLDROUTINENAMES enum { fragContextNotFound = cfragContextIDErr, fragConnectionIDNotFound = cfragConnectionIDErr, fragSymbolNotFound = cfragNoSymbolErr, fragSectionNotFound = cfragNoSectionErr, fragLibNotFound = cfragNoLibraryErr, fragDupRegLibName = cfragDupRegistrationErr, fragFormatUnknown = cfragFragmentFormatErr, fragHadUnresolveds = cfragUnresolvedErr, fragNoMem = cfragNoPrivateMemErr, fragNoAddrSpace = cfragNoClientMemErr, fragNoContextIDs = cfragNoIDsErr, fragObjectInitSeqErr = cfragInitOrderErr, fragImportTooOld = cfragImportTooOldErr, fragImportTooNew = cfragImportTooNewErr, fragInitLoop = cfragInitLoopErr, fragInitRtnUsageErr = cfragInitAtBootErr, fragLibConnErr = cfragLibConnErr, fragMgrInitErr = cfragCFMStartupErr, fragConstErr = cfragCFMInternalErr, fragCorruptErr = cfragFragmentCorruptErr, fragUserInitProcErr = cfragInitFunctionErr, fragAppNotFound = cfragNoApplicationErr, fragArchError = cfragArchitectureErr, fragInvalidFragmentUsage = cfragFragmentUsageErr, fragLastErrCode = cfragLastErrCode }; #endif enum { invalidComponentID = -3000, validInstancesExist = -3001, componentNotCaptured = -3002, componentDontRegister = -3003, unresolvedComponentDLLEr r = -3004, retryComponentRegistrati onErr = -3005 }; enum { invalidTranslationPathEr r = -3025, couldNotParseSourceFileE rr = -3026, noTranslationPathErr = -3030, badTranslationSpecErr = -3031, noPrefAppErr = -3032 }; enum { buf2SmallErr = -3101, noMPPErr = -3102, ckSumErr = -3103, extractErr = -3104, readQErr = -3105, atpLenErr = -3106, atpBadRsp = -3107, recNotFnd = -3108, sktClosedErr = -3109 }; enum { kOTNoError = 0, kOTOutOfMemoryErr = -3211, kOTNotFoundErr = -3201, kOTDuplicateFoundErr = -3216, kOTBadAddressErr = -3150, kOTBadOptionErr = -3151, kOTAccessErr = -3152, kOTBadReferenceErr = -3153, kOTNoAddressErr = -3154, kOTOutStateErr = -3155, kOTBadSequenceErr = -3156, kOTSysErrorErr = -3157, kOTLookErr = -3158, kOTBadDataErr = -3159, kOTBufferOverflowErr = -3160, kOTFlowErr = -3161, kOTNoDataErr = -3162, kOTNoDisconnectErr = -3163, kOTNoUDErrErr = -3164, kOTBadFlagErr = -3165, kOTNoReleaseErr = -3166, kOTNotSupportedErr = -3167, kOTStateChangeErr = -3168, kOTNoStructureTypeErr = -3169, kOTBadNameErr = -3170, kOTBadQLenErr = -3171, kOTAddressBusyErr = -3172, kOTIndOutErr = -3173, kOTProviderMismatchErr = -3174, kOTResQLenErr = -3175, kOTResAddressErr = -3176, kOTQFullErr = -3177, kOTProtocolErr = -3178, kOTBadSyncErr = -3179, kOTCanceledErr = -3180, kEPERMErr = -3200, kENOENTErr = -3201, kENORSRCErr = -3202, kEINTRErr = -3203, kEIOErr = -3204, kENXIOErr = -3205, kEBADFErr = -3208, kEAGAINErr = -3210, kENOMEMErr = -3211, kEACCESErr = -3212, kEFAULTErr = -3213, kEBUSYErr = -3215, kEEXISTErr = -3216, kENODEVErr = -3218, kEINVALErr = -3221, kENOTTYErr = -3224, kEPIPEErr = -3231, kERANGEErr = -3233, kEWOULDBLOCKErr = -3234, kEDEADLKErr = -3234, kEALREADYErr = -3236, kENOTSOCKErr = -3237, kEDESTADDRREQErr = -3238, kEMSGSIZEErr = -3239, kEPROTOTYPEErr = -3240, kENOPROTOOPTErr = -3241, kEPROTONOSUPPORTErr = -3242, kESOCKTNOSUPPORTErr = -3243, kEOPNOTSUPPErr = -3244, kEADDRINUSEErr = -3247, kEADDRNOTAVAILErr = -3248, kENETDOWNErr = -3249, kENETUNREACHErr = -3250, kENETRESETErr = -3251, kECONNABORTEDErr = -3252, kECONNRESETErr = -3253, kENOBUFSErr = -3254, kEISCONNErr = -3255, kENOTCONNErr = -3256, kESHUTDOWNErr = -3257, kETOOMANYREFSErr = -3258, kETIMEDOUTErr = -3259, kECONNREFUSEDErr = -3260, kEHOSTDOWNErr = -3263, kEHOSTUNREACHErr = -3264, kEPROTOErr = -3269, kETIMEErr = -3270, kENOSRErr = -3271, kEBADMSGErr = -3272, kECANCELErr = -3273, kENOSTRErr = -3274, kENODATAErr = -3275, kEINPROGRESSErr = -3276, kESRCHErr = -3277, kENOMSGErr = -3278, kOTClientNotInittedErr = -3279, kOTPortHasDiedErr = -3280, kOTPortWasEjectedErr = -3281, kOTBadConfigurationErr = -3282, kOTConfigurationChangedE rr = -3283, kOTUserRequestedErr = -3284, kOTPortLostConnection = -3285 }; enum { kQDNoPalette = -3950, kQDNoColorHWCursorSuppor t = -3951, kQDCursorAlreadyRegister ed = -3952, kQDCursorNotRegistered = -3953, kQDCorruptPICTDataErr = -3954 }; enum { firstPickerError = -4000, invalidPickerType = firstPickerError, requiredFlagsDontMatch = -4001, pickerResourceError = -4002, cantLoadPicker = -4003, cantCreatePickerWindow = -4004, cantLoadPackage = -4005, pickerCantLive = -4006, colorSyncNotInstalled = -4007, badProfileError = -4008, noHelpForItem = -4009 }; enum { kNSL68kContextNotSupport ed = -4170, kNSLSchedulerError = -4171, kNSLBadURLSyntax = -4172, kNSLNoCarbonLib = -4173, kNSLUILibraryNotAvailabl e = -4174, kNSLNotImplementedYet = -4175, kNSLErrNullPtrError = -4176, kNSLSomePluginsFailedToL oad = -4177, kNSLNullNeighborhoodPtr = -4178, kNSLNoPluginsForSearch = -4179, kNSLSearchAlreadyInProgr ess = -4180, kNSLNoPluginsFound = -4181, kNSLPluginLoadFailed = -4182, kNSLBadProtocolTypeErr = -4183, kNSLNullListPtr = -4184, kNSLBadClientInfoPtr = -4185, kNSLCannotContinueLookup = -4186, kNSLBufferTooSmallForDat a = -4187, kNSLNoContextAvailable = -4188, kNSLRequestBufferAlready InList = -4189, kNSLInvalidPluginSpec = -4190, kNSLNoSupportForService = -4191, kNSLBadNetConnection = -4192, kNSLBadDataTypeErr = -4193, kNSLBadServiceTypeErr = -4194, kNSLBadReferenceErr = -4195, kNSLNoElementsInList = -4196, kNSLInsufficientOTVer = -4197, kNSLInsufficientSysVer = -4198, kNSLNotInitialized = -4199, kNSLInitializationFailed = -4200 }; enum { kDTPHoldJobErr = -4200, kDTPStopQueueErr = -4201, kDTPTryAgainErr = -4202, kDTPAbortJobErr = 128 }; enum { cmElementTagNotFound = -4200, cmIndexRangeErr = -4201, cmCantDeleteElement = -4202, cmFatalProfileErr = -4203, cmInvalidProfile = -4204, cmInvalidProfileLocation = -4205, cmCantCopyModifiedV1Prof ile = -4215, cmInvalidSearch = -4206, cmSearchError = -4207, cmErrIncompatibleProfile = -4208, cmInvalidColorSpace = -4209, cmInvalidSrcMap = -4210, cmInvalidDstMap = -4211, cmNoGDevicesError = -4212, cmInvalidProfileComment = -4213, cmRangeOverFlow = -4214, cmNamedColorNotFound = -4216, cmCantGamutCheckError = -4217 }; enum { badFolderDescErr = -4270, duplicateFolderDescErr = -4271, noMoreFolderDescErr = -4272, invalidFolderTypeErr = -4273, duplicateRoutingErr = -4274, routingNotFoundErr = -4275, badRoutingSizeErr = -4276 }; enum { coreFoundationUnknownErr = -4960 }; enum { errCoreEndianDataTooShor tForFormat = -4940, errCoreEndianDataTooLong ForFormat = -4941, errCoreEndianDataDoesNot MatchFormat = -4942 }; enum { internalScrapErr = -4988, duplicateScrapFlavorErr = -4989, badScrapRefErr = -4990, processStateIncorrectErr = -4991, scrapPromiseNotKeptErr = -4992, noScrapPromiseKeeperErr = -4993, nilScrapFlavorDataErr = -4994, scrapFlavorFlagsMismatch Err = -4995, scrapFlavorSizeMismatchE rr = -4996, illegalScrapFlavorFlagsE rr = -4997, illegalScrapFlavorTypeEr r = -4998, illegalScrapFlavorSizeEr r = -4999, scrapFlavorNotFoundErr = -102, needClearScrapErr = -100 }; enum { afpAccessDenied = -5000, afpAuthContinue = -5001, afpBadUAM = -5002, afpBadVersNum = -5003, afpBitmapErr = -5004, afpCantMove = -5005, afpDenyConflict = -5006, afpDirNotEmpty = -5007, afpDiskFull = -5008, afpEofError = -5009, afpFileBusy = -5010, afpFlatVol = -5011, afpItemNotFound = -5012, afpLockErr = -5013, afpMiscErr = -5014, afpNoMoreLocks = -5015, afpNoServer = -5016, afpObjectExists = -5017, afpObjectNotFound = -5018, afpParmErr = -5019, afpRangeNotLocked = -5020, afpRangeOverlap = -5021, afpSessClosed = -5022, afpUserNotAuth = -5023, afpCallNotSupported = -5024, afpObjectTypeErr = -5025, afpTooManyFilesOpen = -5026, afpServerGoingDown = -5027, afpCantRename = -5028, afpDirNotFound = -5029, afpIconTypeError = -5030, afpVolLocked = -5031, afpObjectLocked = -5032, afpContainsSharedErr = -5033, afpIDNotFound = -5034, afpIDExists = -5035, afpDiffVolErr = -5036, afpCatalogChanged = -5037, afpSameObjectErr = -5038, afpBadIDErr = -5039, afpPwdSameErr = -5040, afpPwdTooShortErr = -5041, afpPwdExpiredErr = -5042, afpInsideSharedErr = -5043, afpInsideTrashErr = -5044, afpPwdNeedsChangeErr = -5045, afpPwdPolicyErr = -5046, afpAlreadyLoggedInErr = -5047, afpCallNotAllowed = -5048 }; enum { afpBadDirIDType = -5060, afpCantMountMoreSrvre = -5061, afpAlreadyMounted = -5062, afpSameNodeErr = -5063 }; enum { numberFormattingNotANumb erErr = -5200, numberFormattingOverflow InDestinationErr = -5201, numberFormattingBadNumbe rFormattingObjectErr = -5202, numberFormattingSpurious CharErr = -5203, numberFormattingLiteralM issingErr = -5204, numberFormattingDelimite rMissingErr = -5205, numberFormattingEmptyFor matErr = -5206, numberFormattingBadForma tErr = -5207, numberFormattingBadOptio nsErr = -5208, numberFormattingBadToken Err = -5209, numberFormattingUnOrdere dCurrencyRangeErr = -5210, numberFormattingBadCurre ncyPositionErr = -5211, numberFormattingNotADigi tErr = -5212, numberFormattingUnOrdred CurrencyRangeErr = -5210, numberFortmattingNotADig itErr = -5212 }; enum { textParserBadParamErr = -5220, textParserObjectNotFound Err = -5221, textParserBadTokenValueE rr = -5222, textParserBadParserObjec tErr = -5223, textParserParamErr = -5224, textParserNoMoreTextErr = -5225, textParserBadTextLanguag eErr = -5226, textParserBadTextEncodin gErr = -5227, textParserNoSuchTokenFou ndErr = -5228, textParserNoMoreTokensEr r = -5229 }; enum { errUnknownAttributeTag = -5240, errMarginWilllNotFit = -5241, errNotInImagingMode = -5242, errAlreadyInImagingMode = -5243, errEngineNotFound = -5244, errIteratorReachedEnd = -5245, errInvalidRange = -5246, errOffsetNotOnElementBou nday = -5247, errNoHiliteText = -5248, errEmptyScrap = -5249, errReadOnlyText = -5250, errUnknownElement = -5251, errNonContiuousAttribute = -5252, errCannotUndo = -5253 }; enum { hrHTMLRenderingLibNotIns talledErr = -5360, hrMiscellaneousException Err = -5361, hrUnableToResizeHandleEr r = -5362, hrURLNotHandledErr = -5363 }; enum { errIANoErr = 0, errIAUnknownErr = -5380, errIAAllocationErr = -5381, errIAParamErr = -5382, errIANoMoreItems = -5383, errIABufferTooSmall = -5384, errIACanceled = -5385, errIAInvalidDocument = -5386, errIATextExtractionErr = -5387, errIAEndOfTextRun = -5388 }; enum { qtsBadSelectorErr = -5400, qtsBadStateErr = -5401, qtsBadDataErr = -5402, qtsUnsupportedDataTypeEr r = -5403, qtsUnsupportedRateErr = -5404, qtsUnsupportedFeatureErr = -5405, qtsTooMuchDataErr = -5406, qtsUnknownValueErr = -5407, qtsTimeoutErr = -5408, qtsConnectionFailedErr = -5420, qtsAddressBusyErr = -5421 }; enum { gestaltUnknownErr = -5550, gestaltUndefSelectorErr = -5551, gestaltDupSelectorErr = -5552, gestaltLocationErr = -5553 }; enum { menuPropertyInvalidErr = -5603, menuPropertyInvalid = menuPropertyInvalidErr, menuPropertyNotFoundErr = -5604, menuNotFoundErr = -5620, menuUsesSystemDefErr = -5621, menuItemNotFoundErr = -5622, menuInvalidErr = -5623 }; enum { errInvalidWindowPtr = -5600, errInvalidWindowRef = -5600, errUnsupportedWindowAttr ibutesForClass = -5601, errWindowDoesNotHaveProx y = -5602, errInvalidWindowProperty = -5603, errWindowPropertyNotFoun d = -5604, errUnrecognizedWindowCla ss = -5605, errCorruptWindowDescript ion = -5606, errUserWantsToDragWindow = -5607, errWindowsAlreadyInitial ized = -5608, errFloatingWindowsNotIni tialized = -5609, errWindowNotFound = -5610, errWindowDoesNotFitOnscr een = -5611, windowAttributeImmutable Err = -5612, windowAttributesConflict Err = -5613, windowManagerInternalErr = -5614, windowWrongStateErr = -5615, windowGroupInvalidErr = -5616, windowAppModalStateAlrea dyExistsErr = -5617, windowNoAppModalStateErr = -5618, errWindowDoesntSupportFo cus = -30583, errWindowRegionCodeInval id = -30593 }; enum { dialogNoTimeoutErr = -5640 }; enum { kNavWrongDialogStateErr = -5694, kNavWrongDialogClassErr = -5695, kNavInvalidSystemConfigE rr = -5696, kNavCustomControlMessage FailedErr = -5697, kNavInvalidCustomControl MessageErr = -5698, kNavMissingKindStringErr = -5699 }; enum { collectionItemLockedErr = -5750, collectionItemNotFoundEr r = -5751, collectionIndexRangeErr = -5752, collectionVersionErr = -5753 }; enum { kQTSSUnknownErr = -6150 }; enum { kDMGenErr = -6220, kDMMirroringOnAlready = -6221, kDMWrongNumberOfDisplays = -6222, kDMMirroringBlocked = -6223, kDMCantBlock = -6224, kDMMirroringNotOn = -6225, kSysSWTooOld = -6226, kDMSWNotInitializedErr = -6227, kDMDriverNotDisplayMgrAw areErr = -6228, kDMDisplayNotFoundErr = -6229, kDMNotFoundErr = -6229, kDMDisplayAlreadyInstall edErr = -6230, kDMMainDisplayCannotMove Err = -6231, kDMNoDeviceTableclothErr = -6231, kDMFoundErr = -6232 }; enum { laTooSmallBufferErr = -6984, laEnvironmentBusyErr = -6985, laEnvironmentNotFoundErr = -6986, laEnvironmentExistErr = -6987, laInvalidPathErr = -6988, laNoMoreMorphemeErr = -6989, laFailAnalysisErr = -6990, laTextOverFlowErr = -6991, laDictionaryNotOpenedErr = -6992, laDictionaryUnknownErr = -6993, laDictionaryTooManyErr = -6994, laPropertyValueErr = -6995, laPropertyUnknownErr = -6996, laPropertyIsReadOnlyErr = -6997, laPropertyNotFoundErr = -6998, laPropertyErr = -6999, laEngineNotFoundErr = -7000 }; enum { kUSBNoErr = 0, kUSBNoTran = 0, kUSBNoDelay = 0, kUSBPending = 1 }; enum { kUSBNotSent2Err = -6901, kUSBNotSent1Err = -6902, kUSBBufUnderRunErr = -6903, kUSBBufOvrRunErr = -6904, kUSBRes2Err = -6905, kUSBRes1Err = -6906, kUSBUnderRunErr = -6907, kUSBOverRunErr = -6908, kUSBWrongPIDErr = -6909, kUSBPIDCheckErr = -6910, kUSBNotRespondingErr = -6911, kUSBEndpointStallErr = -6912, kUSBDataToggleErr = -6913, kUSBBitstufErr = -6914, kUSBCRCErr = -6915, kUSBLinkErr = -6916 }; enum { kUSBQueueFull = -6948, kUSBNotHandled = -6987, kUSBUnknownNotification = -6949, kUSBBadDispatchTable = -6950 }; enum { kUSBInternalReserved10 = -6951, kUSBInternalReserved9 = -6952, kUSBInternalReserved8 = -6953, kUSBInternalReserved7 = -6954, kUSBInternalReserved6 = -6955, kUSBInternalReserved5 = -6956, kUSBInternalReserved4 = -6957, kUSBInternalReserved3 = -6958, kUSBInternalReserved2 = -6959, kUSBInternalReserved1 = -6960 }; enum { kUSBPortDisabled = -6969, kUSBQueueAborted = -6970, kUSBTimedOut = -6971, kUSBDeviceDisconnected = -6972, kUSBDeviceNotSuspended = -6973, kUSBDeviceSuspended = -6974, kUSBInvalidBuffer = -6975, kUSBDevicePowerProblem = -6976, kUSBDeviceBusy = -6977, kUSBUnknownInterfaceErr = -6978, kUSBPipeStalledError = -6979, kUSBPipeIdleError = -6980, kUSBNoBandwidthError = -6981, kUSBAbortedError = -6982, kUSBFlagsError = -6983, kUSBCompletionError = -6984, kUSBPBLengthError = -6985, kUSBPBVersionError = -6986, kUSBNotFound = -6987, kUSBOutOfMemoryErr = -6988, kUSBDeviceErr = -6989, kUSBNoDeviceErr = -6990, kUSBAlreadyOpenErr = -6991, kUSBTooManyTransactionsE rr = -6992, kUSBUnknownRequestErr = -6993, kUSBRqErr = -6994, kUSBIncorrectTypeErr = -6995, kUSBTooManyPipesErr = -6996, kUSBUnknownPipeErr = -6997, kUSBUnknownDeviceErr = -6998, kUSBInternalErr = -6999 }; enum { dcmParamErr = -7100, dcmNotDictionaryErr = -7101, dcmBadDictionaryErr = -7102, dcmPermissionErr = -7103, dcmDictionaryNotOpenErr = -7104, dcmDictionaryBusyErr = -7105, dcmBlockFullErr = -7107, dcmNoRecordErr = -7108, dcmDupRecordErr = -7109, dcmNecessaryFieldErr = -7110, dcmBadFieldInfoErr = -7111, dcmBadFieldTypeErr = -7112, dcmNoFieldErr = -7113, dcmBadKeyErr = -7115, dcmTooManyKeyErr = -7116, dcmBadDataSizeErr = -7117, dcmBadFindMethodErr = -7118, dcmBadPropertyErr = -7119, dcmProtectedErr = -7121, dcmNoAccessMethodErr = -7122, dcmBadFeatureErr = -7124, dcmIterationCompleteErr = -7126, dcmBufferOverflowErr = -7127 }; enum { kRAInvalidParameter = -7100, kRAInvalidPort = -7101, kRAStartupFailed = -7102, kRAPortSetupFailed = -7103, kRAOutOfMemory = -7104, kRANotSupported = -7105, kRAMissingResources = -7106, kRAIncompatiblePrefs = -7107, kRANotConnected = -7108, kRAConnectionCanceled = -7109, kRAUnknownUser = -7110, kRAInvalidPassword = -7111, kRAInternalError = -7112, kRAInstallationDamaged = -7113, kRAPortBusy = -7114, kRAUnknownPortState = -7115, kRAInvalidPortState = -7116, kRAInvalidSerialProtocol = -7117, kRAUserLoginDisabled = -7118, kRAUserPwdChangeRequired = -7119, kRAUserPwdEntryRequired = -7120, kRAUserInteractionRequir ed = -7121, kRAInitOpenTransportFail ed = -7122, kRARemoteAccessNotReady = -7123, kRATCPIPInactive = -7124, kRATCPIPNotConfigured = -7125, kRANotPrimaryInterface = -7126, kRAConfigurationDBInitEr r = -7127, kRAPPPProtocolRejected = -7128, kRAPPPAuthenticationFail ed = -7129, kRAPPPNegotiationFailed = -7130, kRAPPPUserDisconnected = -7131, kRAPPPPeerDisconnected = -7132, kRAPeerNotResponding = -7133, kRAATalkInactive = -7134, kRAExtAuthenticationFail ed = -7135, kRANCPRejectedbyPeer = -7136, kRADuplicateIPAddr = -7137, kRACallBackFailed = -7138, kRANotEnabled = -7139 }; enum { kATSUInvalidTextLayoutEr r = -8790, kATSUInvalidStyleErr = -8791, kATSUInvalidTextRangeErr = -8792, kATSUFontsMatched = -8793, kATSUFontsNotMatched = -8794, kATSUNoCorrespondingFont Err = -8795, kATSUInvalidFontErr = -8796, kATSUInvalidAttributeVal ueErr = -8797, kATSUInvalidAttributeSiz eErr = -8798, kATSUInvalidAttributeTag Err = -8799, kATSUInvalidCacheErr = -8800, kATSUNotSetErr = -8801, kATSUNoStyleRunsAssigned Err = -8802, kATSUQuickDrawTextErr = -8803, kATSULowLevelErr = -8804, kATSUNoFontCmapAvailable Err = -8805, kATSUNoFontScalerAvailab leErr = -8806, kATSUCoordinateOverflowE rr = -8807, kATSULineBreakInWord = -8808, kATSUBusyObjectErr = -8809 }; enum { kTextUnsupportedEncoding Err = -8738, kTextMalformedInputErr = -8739, kTextUndefinedElementErr = -8740, kTECMissingTableErr = -8745, kTECTableChecksumErr = -8746, kTECTableFormatErr = -8747, kTECCorruptConverterErr = -8748, kTECNoConversionPathErr = -8749, kTECBufferBelowMinimumSi zeErr = -8750, kTECArrayFullErr = -8751, kTECBadTextRunErr = -8752, kTECPartialCharErr = -8753, kTECUnmappableElementErr = -8754, kTECIncompleteElementErr = -8755, kTECDirectionErr = -8756, kTECGlobalsUnavailableEr r = -8770, kTECItemUnavailableErr = -8771, kTECUsedFallbacksStatus = -8783, kTECNeedFlushStatus = -8784, kTECOutputBufferFullStat us = -8785, unicodeChecksumErr = -8769, unicodeNoTableErr = -8768, unicodeVariantErr = -8767, unicodeFallbacksErr = -8766, unicodePartConvertErr = -8765, unicodeBufErr = -8764, unicodeCharErr = -8763, unicodeElementErr = -8762, unicodeNotFoundErr = -8761, unicodeTableFormatErr = -8760, unicodeDirectionErr = -8759, unicodeContextualErr = -8758, unicodeTextEncodingDataE rr = -8757 }; enum { kUTCUnderflowErr = -8850, kUTCOverflowErr = -8851, kIllegalClockValueErr = -8852 }; enum { kATSUInvalidFontFallback sErr = -8900, kATSUUnsupportedStreamFo rmatErr = -8901, kATSUBadStreamErr = -8902, kATSUOutputBufferTooSmal lErr = -8903, kATSUInvalidCallInsideCa llbackErr = -8904, kATSUNoFontNameErr = -8905, kATSULastErr = -8959 }; enum { codecErr = -8960, noCodecErr = -8961, codecUnimpErr = -8962, codecSizeErr = -8963, codecScreenBufErr = -8964, codecImageBufErr = -8965, codecSpoolErr = -8966, codecAbortErr = -8967, codecWouldOffscreenErr = -8968, codecBadDataErr = -8969, codecDataVersErr = -8970, codecExtensionNotFoundEr r = -8971, scTypeNotFoundErr = codecExtensionNotFoundEr r, codecConditionErr = -8972, codecOpenErr = -8973, codecCantWhenErr = -8974, codecCantQueueErr = -8975, codecNothingToBlitErr = -8976, codecNoMemoryPleaseWaitE rr = -8977, codecDisabledErr = -8978, codecNeedToFlushChainErr = -8979, lockPortBitsBadSurfaceEr r = -8980, lockPortBitsWindowMovedE rr = -8981, lockPortBitsWindowResize dErr = -8982, lockPortBitsWindowClippe dErr = -8983, lockPortBitsBadPortErr = -8984, lockPortBitsSurfaceLostE rr = -8985, codecParameterDialogConf irm = -8986, codecNeedAccessKeyErr = -8987, codecOffscreenFailedErr = -8988, codecDroppedFrameErr = -8989, directXObjectAlreadyExis ts = -8990, lockPortBitsWrongGDevice Err = -8991, codecOffscreenFailedPlea seRetryErr = -8992, badCodecCharacterization Err = -8993, noThumbnailFoundErr = -8994 }; enum { kBadAdapterErr = -9050, kBadAttributeErr = -9051, kBadBaseErr = -9052, kBadEDCErr = -9053, kBadIRQErr = -9054, kBadOffsetErr = -9055, kBadPageErr = -9056, kBadSizeErr = -9057, kBadSocketErr = -9058, kBadTypeErr = -9059, kBadVccErr = -9060, kBadVppErr = -9061, kBadWindowErr = -9062, kBadArgLengthErr = -9063, kBadArgsErr = -9064, kBadHandleErr = -9065, kBadCISErr = -9066, kBadSpeedErr = -9067, kReadFailureErr = -9068, kWriteFailureErr = -9069, kGeneralFailureErr = -9070, kNoCardErr = -9071, kUnsupportedFunctionErr = -9072, kUnsupportedModeErr = -9073, kBusyErr = -9074, kWriteProtectedErr = -9075, kConfigurationLockedErr = -9076, kInUseErr = -9077, kNoMoreItemsErr = -9078, kOutOfResourceErr = -9079, kNoCardSevicesSocketsErr = -9080, kInvalidRegEntryErr = -9081, kBadLinkErr = -9082, kBadDeviceErr = -9083, k16BitCardErr = -9084, kCardBusCardErr = -9085, kPassCallToChainErr = -9086, kCantConfigureCardErr = -9087, kPostCardEventErr = -9088, kInvalidDeviceNumber = -9089, kUnsupportedVsErr = -9090, kInvalidCSClientErr = -9091, kBadTupleDataErr = -9092, kBadCustomIFIDErr = -9093, kNoIOWindowRequestedErr = -9094, kNoMoreTimerClientsErr = -9095, kNoMoreInterruptSlotsErr = -9096, kNoClientTableErr = -9097, kUnsupportedCardErr = -9098, kNoCardEnablersFoundErr = -9099, kNoEnablerForCardErr = -9100, kNoCompatibleNameErr = -9101, kClientRequestDenied = -9102, kNotReadyErr = -9103, kTooManyIOWindowsErr = -9104, kAlreadySavedStateErr = -9105, kAttemptDupCardEntryErr = -9106, kCardPowerOffErr = -9107, kNotZVCapableErr = -9108, kNoCardBusCISErr = -9109 }; enum { noDeviceForChannel = -9400, grabTimeComplete = -9401, cantDoThatInCurrentMode = -9402, notEnoughMemoryToGrab = -9403, notEnoughDiskSpaceToGrab = -9404, couldntGetRequiredCompon ent = -9405, badSGChannel = -9406, seqGrabInfoNotAvailable = -9407, deviceCantMeetRequest = -9408, badControllerHeight = -9994, editingNotAllowed = -9995, controllerBoundsNotExact = -9996, cannotSetWidthOfAttached Controller = -9997, controllerHasFixedHeight = -9998, cannotMoveAttachedContro ller = -9999 }; enum { errAEBadKeyForm = -10002, errAECantHandleClass = -10010, errAECantSupplyType = -10009, errAECantUndo = -10015, errAEEventFailed = -10000, errAEIndexTooLarge = -10007, errAEInTransaction = -10011, errAELocalOnly = -10016, errAENoSuchTransaction = -10012, errAENotAnElement = -10008, errAENotASingleObject = -10014, errAENotModifiable = -10003, errAENoUserSelection = -10013, errAEPrivilegeError = -10004, errAEReadDenied = -10005, errAETypeError = -10001, errAEWriteDenied = -10006, errAENotAnEnumMember = -10023, errAECantPutThatThere = -10024, errAEPropertiesClash = -10025 }; enum { telGenericError = -1, telNoErr = 0, telNoTools = 8, telBadTermErr = -10001, telBadDNErr = -10002, telBadCAErr = -10003, telBadHandErr = -10004, telBadProcErr = -10005, telCAUnavail = -10006, telNoMemErr = -10007, telNoOpenErr = -10008, telBadHTypeErr = -10010, telHTypeNotSupp = -10011, telBadLevelErr = -10012, telBadVTypeErr = -10013, telVTypeNotSupp = -10014, telBadAPattErr = -10015, telAPattNotSupp = -10016, telBadIndex = -10017, telIndexNotSupp = -10018, telBadStateErr = -10019, telStateNotSupp = -10020, telBadIntExt = -10021, telIntExtNotSupp = -10022, telBadDNDType = -10023, telDNDTypeNotSupp = -10024, telFeatNotSub = -10030, telFeatNotAvail = -10031, telFeatActive = -10032, telFeatNotSupp = -10033, telConfLimitErr = -10040, telConfNoLimit = -10041, telConfErr = -10042, telConfRej = -10043, telTransferErr = -10044, telTransferRej = -10045, telCBErr = -10046, telConfLimitExceeded = -10047, telBadDNType = -10050, telBadPageID = -10051, telBadIntercomID = -10052, telBadFeatureID = -10053, telBadFwdType = -10054, telBadPickupGroupID = -10055, telBadParkID = -10056, telBadSelect = -10057, telBadBearerType = -10058, telBadRate = -10059, telDNTypeNotSupp = -10060, telFwdTypeNotSupp = -10061, telBadDisplayMode = -10062, telDisplayModeNotSupp = -10063, telNoCallbackRef = -10064, telAlreadyOpen = -10070, telStillNeeded = -10071, telTermNotOpen = -10072, telCANotAcceptable = -10080, telCANotRejectable = -10081, telCANotDeflectable = -10082, telPBErr = -10090, telBadFunction = -10091, telNoSuchTool = -10102, telUnknownErr = -10103, telNoCommFolder = -10106, telInitFailed = -10107, telBadCodeResource = -10108, telDeviceNotFound = -10109, telBadProcID = -10110, telValidateFailed = -10111, telAutoAnsNotOn = -10112, telDetAlreadyOn = -10113, telBadSWErr = -10114, telBadSampleRate = -10115, telNotEnoughdspBW = -10116 }; enum { errTaskNotFound = -10780 }; enum { pmBusyErr = -13000, pmReplyTOErr = -13001, pmSendStartErr = -13002, pmSendEndErr = -13003, pmRecvStartErr = -13004, pmRecvEndErr = -13005 }; enum { kPowerHandlerExistsForDe viceErr = -13006, kPowerHandlerNotFoundFor DeviceErr = -13007, kPowerHandlerNotFoundFor ProcErr = -13008, kPowerMgtMessageNotHandl ed = -13009, kPowerMgtRequestDenied = -13010, kCantReportProcessorTemp eratureErr = -13013, kProcessorTempRoutineReq uiresMPLib2 = -13014, kNoSuchPowerSource = -13020, kBridgeSoftwareRunningCa ntSleep = -13038 }; enum { debuggingExecutionContex tErr = -13880, debuggingDuplicateSignat ureErr = -13881, debuggingDuplicateOption Err = -13882, debuggingInvalidSignatur eErr = -13883, debuggingInvalidOptionEr r = -13884, debuggingInvalidNameErr = -13885, debuggingNoCallbackErr = -13886, debuggingNoMatchErr = -13887 }; enum { kHIDVersionIncompatibleE rr = -13909, kHIDDeviceNotReady = -13910 }; enum { kHIDSuccess = 0, kHIDInvalidRangePageErr = -13923, kHIDReportIDZeroErr = -13924, kHIDReportCountZeroErr = -13925, kHIDReportSizeZeroErr = -13926, kHIDUnmatchedDesignatorR angeErr = -13927, kHIDUnmatchedStringRange Err = -13928, kHIDInvertedUsageRangeEr r = -13929, kHIDUnmatchedUsageRangeE rr = -13930, kHIDInvertedPhysicalRang eErr = -13931, kHIDInvertedLogicalRange Err = -13932, kHIDBadLogicalMaximumErr = -13933, kHIDBadLogicalMinimumErr = -13934, kHIDUsagePageZeroErr = -13935, kHIDEndOfDescriptorErr = -13936, kHIDNotEnoughMemoryErr = -13937, kHIDBadParameterErr = -13938, kHIDNullPointerErr = -13939, kHIDInvalidReportLengthE