home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / opendc12.zip / od124os2.exe / od12otk1.exe / include / ErrorDef.idl < prev    next >
Text File  |  1997-04-02  |  28KB  |  590 lines

  1. /* @(#) 1.25 com/src/include/idl/ErrorDef.idl, odcore, od96os2, odos29712d 3/12/97 08:28:26 [3/21/97 17:18:30] */
  2. //#====START_GENERATED_PROLOG======================================
  3. //#
  4. //#
  5. //#   COMPONENT_NAME: odcore
  6. //#
  7. //#   CLASSES: none
  8. //#
  9. //#   ORIGINS: 82,27
  10. //#
  11. //#
  12. //#   (C) COPYRIGHT International Business Machines Corp. 1995,1996
  13. //#   All Rights Reserved
  14. //#   Licensed Materials - Property of IBM
  15. //#   US Government Users Restricted Rights - Use, duplication or
  16. //#   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  17. //#       
  18. //#   IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  19. //#   ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  20. //#   PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  21. //#   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
  22. //#   USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  23. //#   OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
  24. //#   OR PERFORMANCE OF THIS SOFTWARE.
  25. //#
  26. //#====END_GENERATED_PROLOG========================================
  27. //#
  28.  
  29.  
  30. //#     Copyright:      (r) 1993 - 1995 by Apple Computer, Inc., all rights reserved.
  31.  
  32.  
  33. #ifndef _ERRORDEF_
  34. #define _ERRORDEF_
  35.  
  36. #ifndef _ODTYPESB_
  37. #include "ODTypesB.idl"
  38. #endif
  39.  
  40. #if defined(__SOMIDL__) && defined(EMIT_GLOBAL_CONSTANTS)
  41. #pragma somemittypes on
  42. #endif
  43.  
  44. //#$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
  45. //# BEGIN-UNDER CONSTRUCTION
  46. //#$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
  47.  
  48. //              Reserved for linking    -29860 to -29910
  49.  
  50.  
  51.  
  52.  
  53. //#$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
  54. //# END-UNDER CONSTRUCTION
  55. //#$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
  56.  
  57. //#=============================================================================
  58. //# General Errors including ODObject
  59. //#=============================================================================
  60.  
  61. const ODError kODMinError                                               =       -29893; // Range of OD err codes
  62. #ifdef _PLATFORM_MACINTOSH_
  63. const ODError kODMinUsedError                                           =       -29756; //MAC only
  64. #endif //_PLATFORM_MACINTOSH_
  65.  
  66. #if (defined _PLATFORM_WIN32_ || defined _PLATFORM_OS2_ || defined _PLATFORM_AIX_)
  67. //********************************************************************************
  68. const ODError kODMinUsedError                                           =       -30818;  // for WIN32, OS2, and AIX
  69. //
  70. // Attention IBM Developers!
  71. //
  72. // All newly defined error codes must be in the range -30800 to -30849.
  73. //
  74. // Remember to keep kODMinUsedError up to date.
  75. //
  76. // Lets keep assigned error code values semantically the same for each platform.
  77. // In other words, if WIN32 defines an error code that doesn't apply to OS/2, then
  78. // OS/2 should skip that error code number.  Therefore, kODMinUsedError is the same
  79. // for WIN32, OS2, and AIX.
  80. //
  81.  
  82. #ifdef _PLATFORM_OS2_
  83. const ODError kODErrFacetPSnotAssocWithDC              = -30800; // OS/2 only
  84. #endif
  85.  
  86. #if (defined _PLATFORM_WIN32_ || defined _PLATFORM_OS2_ || defined _PLATFORM_AIX_)
  87. const ODError kODErrFacetChangeToOrFromOnscreenDynamic = -30801;
  88. const ODError kODErrInvalidParameter                   = -30802;
  89. const ODError kODErrOnlyOwnerCanChangeCanvas           = -30803;
  90. #endif //_PLATFORM_WIN32_ || _PLATFORM_OS2_ || _PLATFORM_AIX_
  91.  
  92. #ifdef _PLATFORM_WIN32_
  93. const ODError kODErrCannotExportToIDataObject           = -30804; // WIN32 only
  94. #endif
  95.  
  96. //********************************************************************************
  97. #endif //_PLATFORM_WIN32_ || _PLATFORM_OS2_ || _PLATFORM_AIX_
  98.  
  99. const ODError kODMaxError                                                       =       -29600;
  100.  
  101. //# Currently unused slots: None
  102.  
  103. const ODError kODNoError                                                        =       0;
  104.  
  105.  
  106. const ODError kODErrUndefined                                   =       -29600;
  107.  
  108. //# NEW
  109. const ODError kODErrAlreadyNotified                                     =       -29601;
  110.  
  111. const ODError kODErrIllegalNullInput                            =       -29602;
  112.  
  113. const ODError kODErrIllegalNullDispatchModuleInput      =       -29603;
  114. const ODError kODErrIllegalNullFacetInput                       =       -29604;
  115. const ODError kODErrIllegalNullFrameInput                       =       -29605;
  116. const ODError kODErrIllegalNullPartInput                =       -29606;
  117. const ODError kODErrIllegalNullTransformInput           =       -29607;
  118. const ODError kODErrIllegalNullStorageSystemInput       =       -29608;
  119. const ODError kODErrIllegalNullTokenInput                       =       -29609;
  120. const ODError kODErrIllegalNullShapeInput                       =       -29610;
  121. const ODError kODErrIllegalNullStorageUnitInput         =       -29611;
  122. const ODError kODErrIllegalNullPropertyInput            =       -29612;
  123. const ODError kODErrIllegalNullSUCursorInput            =       -29613;
  124. const ODError kODErrIllegalNullContainerInput       =   -29614;
  125. const ODError kODErrIllegalNullDocumentInput            =       -29615;
  126. const ODError kODErrIllegalNullDraftInput                       =       -29616;
  127. const ODError kODErrIllegalNullValueTypeInput       =   -29617;
  128. const ODError kODErrIllegalNullIDInput                          =       -29618;
  129.  
  130. //# NEW
  131. const ODError kODErrValueOutOfRange                                     =       -29619;
  132.  
  133. //# NEW
  134. const ODError kODErrInsufficientInfoInParams            =       -29620;
  135.  
  136. const ODError kODErrObjectNotInitialized                        =   -29621;
  137.  
  138. const ODError kODErrOutOfMemory                                 =       -29622;
  139.  
  140. const ODError kODErrNotImplemented                              =       -29623;
  141.  
  142. //# NEW
  143. const ODError kODErrInvalidPersistentFormat                     =       -29624;
  144.  
  145. const ODError kODErrSubClassResponsibility                      =       -29625;
  146.  
  147. //#------------------------------------------------------------------------------
  148. //# ODObject (& subclasses)
  149. //#------------------------------------------------------------------------------
  150.  
  151. const ODError kODErrUnsupportedExtension                =       -29626;
  152. const ODError kODErrInvalidExtension                    =       -29627;
  153. const ODError kODErrUnknownExtension                    =       -29628;
  154. const ODError kODErrInvalidObjectType                           =       -29629;
  155. const ODError kODErrInvalidPersistentObjectID           =       -29630;
  156. const ODError kODErrInvalidPersistentObject                     =       -29631;
  157.  
  158. //#------------------------------------------------------------------------------
  159. //# RefCountObject (& subclasses)
  160. //#------------------------------------------------------------------------------
  161.  
  162. const ODError kODErrZeroRefCount                                =       -29632;
  163.  
  164. //# NEW
  165. const ODError kODErrRefCountGreaterThanZero             =       -29633;
  166.  
  167. const ODError kODErrRefCountNotEqualOne                 =       -29634;
  168.  
  169. //#------------------------------------------------------------------------------
  170. //# Iterators
  171. //#------------------------------------------------------------------------------
  172.  
  173. const ODError kODErrIteratorOutOfSync                   =       -29635;
  174. const ODError kODErrIteratorNotInitialized              =       -29636;
  175. const ODError kODErrInvalidIterator                             =       -29755;
  176.  
  177. //#==============================================================================
  178. //# Parts Return These Errors
  179. //#==============================================================================
  180.  
  181. const ODError kODErrCannotEmbed                                 =       -29637;
  182. const ODError kODErrDoesNotUndo                                 =       -29638;
  183. const ODError kODErrNoPromises                                  =       -29639;
  184. const ODError kODErrDoesNotDrop                                 =       -29640;
  185. const ODError kODErrDoesNotLink                                 =       -29641;
  186. const ODError kODErrPartNotWrapper                      =       -29642;
  187.  
  188. //#==============================================================================
  189. //# Core
  190. //#==============================================================================
  191.  
  192. //#------------------------------------------------------------------------------
  193. //# ODNameSpaceManager, ODNameSpace
  194. //#------------------------------------------------------------------------------
  195.  
  196. const ODError kODErrKeyAlreadyExists                    =       -29643;
  197.  
  198. //# NEW
  199. const ODError kODErrInvalidNSName                                       =       -29644;
  200.  
  201. //# NEW
  202. const ODError kODErrInvalidNSType                                       =       -29645;
  203.  
  204. //#------------------------------------------------------------------------------
  205. //# PartWrapper
  206. //#------------------------------------------------------------------------------
  207.  
  208. const ODError kODErrPartInUse                                           =       -29646;
  209.  
  210. //#------------------------------------------------------------------------------
  211. //# PartWrapper
  212. //#------------------------------------------------------------------------------
  213.  
  214. //# NEW
  215. const ODError kODErrInvalidITextFormat                          =       -29647;
  216.  
  217. //#==============================================================================
  218. //# Imaging
  219. //#==============================================================================
  220.  
  221. const ODError kODErrInvalidGraphicsSystem               =       -29648;
  222.  
  223. //#------------------------------------------------------------------------------
  224. //# Shape
  225. //#------------------------------------------------------------------------------
  226.  
  227. const ODError kODErrNoShapeGeometry                             =       -29649; //# Shape has no polygon representation
  228.  
  229. //#------------------------------------------------------------------------------
  230. //# Transform
  231. //#------------------------------------------------------------------------------
  232.  
  233. const ODError kODErrTransformErr                                =       -29650; //# Illegal op on xform
  234.  
  235. //# NEW
  236. const ODError kODErrInvalidPlatformShape                        =       -29651;
  237.  
  238. //#==============================================================================
  239. //# Layout
  240. //#==============================================================================
  241.  
  242. //#------------------------------------------------------------------------------
  243. //# Facet
  244. //#------------------------------------------------------------------------------
  245.  
  246. const ODError kODErrCanvasNotFound                              =       -29652;
  247.  
  248. const ODError kODErrUnsupportedFramePositionCode        =       -29653;
  249.  
  250. const ODError kODErrInvalidFacet                                =       -29654;
  251.  
  252. const ODError kODErrFacetNotFound                               =       -29655;
  253. const ODError kODErrCanvasHasNoOwner                    =       -29656;
  254.  
  255. //#------------------------------------------------------------------------------
  256. //# Frame
  257. //#------------------------------------------------------------------------------
  258.  
  259. const ODError kODErrNotRootFrame                                        =       -29657;
  260. const ODError kODErrIllegalRecursiveEmbedding           =       -29658;
  261.  
  262. const ODError kODErrInvalidFrame                                =       -29659;
  263.  
  264. const ODError kODErrFrameHasFacets                      =       -29660;
  265.  
  266. const ODError kODErrInvalidLinkStatus                   =       -29754;
  267.  
  268. //#==============================================================================
  269. //# Memory
  270. //#==============================================================================
  271.  
  272. const ODError kODErrInvalidBlock                                =       -29661;    //# bad heap or damaged object
  273.  
  274. //#==============================================================================
  275. //# Messaging
  276. //#==============================================================================
  277.  
  278. //#------------------------------------------------------------------------------
  279. //# Semantic Interface
  280. //#------------------------------------------------------------------------------
  281.  
  282. //# NEW
  283. const ODError kODErrNotAnODToken                                =       -29662;
  284.  
  285. //# NEW
  286. const ODError kODErrCantCountFromLists                          =       -29663;
  287.  
  288. //#==============================================================================
  289. //# Storage
  290. //#==============================================================================
  291.  
  292. const ODError kODErrUnsupportedPosCode                  =       -29664;
  293. const ODError kODErrInvalidPermissions                  =       -29665;
  294.  
  295. const ODError kODErrCannotCreateContainer                       =       -29666;
  296. const ODError kODErrCannotOpenContainer                         =       -29667;
  297.  
  298. //# NEW
  299. const ODError kODErrFatalContainerError                         =       -29756;
  300.  
  301. //# NEW
  302. const ODError kODErrContainerDoesNotExist                       =       -29668;
  303.  
  304. //# NEW
  305. const ODError kODErrDocumentDoesNotExist                        =       -29669;
  306.  
  307. //# NEW
  308. const ODError kODErrDraftDoesNotExist                           =       -29670;
  309. const ODError kODErrDraftHasBeenDeleted                         =       -29671;
  310.  
  311. const ODError kODErrInvalidStorageUnit                          =       -29672;
  312.  
  313. //# NEW
  314. const ODError kODErrIllegalOperationOnSU                        =       -29673;
  315.  
  316. //# NEW
  317. const ODError kODErrSUValueDoesNotExist                         =       -29674;
  318.  
  319. //# NEW
  320. const ODError kODErrIllegalNonTopmostDraft                      =       -29675;
  321.  
  322. //# NEW
  323. const ODError kODErrNoSysTranslationFacility            =       -29680;
  324.  
  325. //#------------------------------------------------------------------------------
  326. //# Storage Unit
  327. //#------------------------------------------------------------------------------
  328.  
  329. const ODError kODErrNoValueAtThatIndex                  =       -29676;
  330. const ODError kODErrCannotAddProperty                           =       -29677;
  331.  
  332. const ODError kODErrUnfocusedStorageUnit                =       -29678;
  333. const ODError kODErrInvalidStorageUnitRef               =       -29679;
  334. //#const ODError kODErrStorageUnitLocked                        =       -29680;
  335. const ODError kODErrInvalidStorageUnitKey               =       -29681;
  336. const ODError kODErrStorageUnitNotLocked                =       -29682;
  337. const ODError kODErrInvalidDraftKey                                     =       -29683;
  338. const ODError kODErrCloningInProgress                           =   -29684;
  339. const ODError kODErrValueIndexOutOfRange                        =   -29685;
  340.  
  341. //# NEW
  342. const ODError kODErrInvalidValueType                            =       -29686;
  343.  
  344. //# NEW
  345. const ODError kODErrIllegalPropertyName                         =       -29687;
  346. const ODError kODErrPropertyDoesNotExist                        =       -29688;
  347.  
  348. //#------------------------------------------------------------------------------
  349. //# Draft
  350. //#------------------------------------------------------------------------------
  351.  
  352. const ODError kODErrNoDraftProperties                           =       -29689;
  353. const ODError kODErrCannotCreateFrame                           =       -29690;
  354. const ODError kODErrCannotAcquireFrame                  =       -29691;
  355. const ODError kODErrCannotCreatePart                    =       -29692; //# I hate this error.
  356. const ODError kODErrCannotAcquirePart                   =       -29693;
  357. const ODError kODErrCannotCreateLink                    =       -29694;
  358. const ODError kODErrCannotAcquireLink                   =       -29695;
  359.  
  360. const ODError kODErrInvalidID                                   =       -29696;
  361.  
  362. const ODError kODErrInconsistentCloneKind               =       -29697;
  363. const ODError kODErrInvalidCloneKind                    =       -29698;
  364. const ODError kODErrInvalidDestinationDraft                     =       -29699;
  365. const ODError kODErrMoveIntoSelf                                        =       -29700;
  366. const ODError kODErrNullDestinationFrame                        =       -29701;
  367.  
  368. //#------------------------------------------------------------------------------
  369. //# Document
  370. //#------------------------------------------------------------------------------
  371.  
  372. const ODError kODErrInvalidBelowDraft                           =       -29702;
  373. const ODError kODErrCannotCollapseDrafts                =       -29704;
  374. const ODError kODErrNonEmptyDraft                               =       -29705;
  375. const ODError kODErrNoPreviousDraft                             =       -29706;
  376. const ODError kODErrOutstandingDraft                    =       -29707;
  377. const ODError kODErrInvalidDraftID                              =       -29708;
  378. const ODError kODErrCannotChangePermissions             =       -29709;
  379.  
  380. //#------------------------------------------------------------------------------
  381. //# Storage System
  382. //#------------------------------------------------------------------------------
  383.  
  384. const ODError kODErrContainerExists                             =       -29710;
  385.  
  386. //#------------------------------------------------------------------------------
  387. //# LinkSpec
  388. //#------------------------------------------------------------------------------
  389.  
  390. const ODError kODErrCannotGetExternalLink               =       -29712;
  391. const ODError kODErrNoLinkSpecValue                             =       -29713;
  392. const ODError kODErrUnknownLinkSpecVersion              =       -29714;
  393. const ODError kODErrCorruptLinkSpecValue                =       -29715;
  394.  
  395. //#------------------------------------------------------------------------------
  396. //# Link
  397. //#------------------------------------------------------------------------------
  398.  
  399. const ODError kODErrNotExportedLink                             =       -29716;
  400. const ODError kODErrBrokenLink                                  =       -29717;
  401. const ODError kODErrCannotRevealLink                            =       -29718;
  402. const ODError kODErrCorruptLink                                         =       -29719;
  403. const ODError kODErrLinkAlreadyExported                         =       -29720;
  404. const ODError kODErrNoLinkContent                                       =       -29721;
  405. const ODError kODErrCannotRegisterDependent                     =       -29722;
  406.  
  407. //#------------------------------------------------------------------------------
  408. //# LinkSource
  409. //#------------------------------------------------------------------------------
  410.  
  411. const ODError kODErrNotImportedLink                             =       -29723;
  412. const ODError kODErrInvalidLinkKey                              =       -29724;
  413. const ODError kODErrBrokenLinkSource                    =       -29725;
  414. const ODError kODErrCorruptLinkSource                           =       -29726;
  415. const ODError kODErrCannotFindLinkSourceEdition         =       -29727; // Cannot locate source of cross document link because edition file does not exist
  416. const ODError kODErrCannotFindLinkSource                        =       -29728; // Cannot locate source of cross document link
  417. const ODError kODErrAlreadyImportedLink                         =       -29729; // Cannot create link due to Internal error
  418. const ODError kODErrUnknownUpdateID                                     =       -29730;
  419. const ODError kODErrCannotEstablishLink                         =       -29731;
  420.  
  421. //#------------------------------------------------------------------------------
  422. //# LinkManager
  423. //#------------------------------------------------------------------------------
  424.  
  425. const ODError kODErrNoEditionManager                            =       -29732;
  426. const ODError kODErrDocNotSaved                                         =       -29733;
  427.  
  428. //#------------------------------------------------------------------------------
  429. //# Data Interchange Dialogs
  430. //#------------------------------------------------------------------------------
  431.  
  432. const ODError kODErrNullFacetInput                                      =       -29734;
  433. const ODError kODErrNullLinkInfoInput                           =       -29735;
  434. const ODError kODErrNullLinkInfoResultInput                     =       -29736;
  435. const ODError kODErrNullPasteAsResultInput                      =       -29737;
  436.  
  437. //#------------------------------------------------------------------------------
  438. //# DragAndDrop
  439. //#------------------------------------------------------------------------------
  440.  
  441. const ODError kODErrNoDragManager                       =       -29738;
  442. const ODError kODErrNoDragSystemStorage                 =       -29739;
  443. const ODError kODErrDragItemNotFound                    =       -29740;
  444. const ODError kODErrCannotAllocateDragItem              =       -29741;
  445. const ODError kODErrUnknownDragImageType                =       -29742;
  446. const ODError kODErrDragTrackingException               =       -29743;
  447. const ODError kODErrDropFacetNotKnown                   =       -30805;
  448.  
  449. //#------------------------------------------------------------------------------
  450. //# Clipboard
  451. //#------------------------------------------------------------------------------
  452.  
  453. const ODError kODErrBackgroundClipboardClear            =       -29744;
  454. const ODError kODErrIllegalClipboardCloneKind           =       -29745;
  455.  
  456. //#==============================================================================
  457. //# UI
  458. //#==============================================================================
  459.  
  460. //#------------------------------------------------------------------------------
  461. //# Arbitrator
  462. //#------------------------------------------------------------------------------
  463.  
  464. const ODError kODErrFocusAlreadyRegistered              =       -29746;
  465. const ODError kODErrFocusNotRegistered                  =       -29747;
  466.  
  467. //#------------------------------------------------------------------------------
  468. //# Dispatcher
  469. //#------------------------------------------------------------------------------
  470.  
  471. const ODError kODErrDispatcherNotInitialized = -30806;
  472. const ODError kODErrExistingDispatchModule   = -30807;
  473. const ODError kODErrInvalidDispatchModule    = -30808;
  474.  
  475. //#------------------------------------------------------------------------------
  476. //# MenuBar
  477. //#------------------------------------------------------------------------------
  478.  
  479. #ifdef _PLATFORM_MACINTOSH_
  480. const ODError kODErrInvalidCommandID                            =       -29748;
  481. #endif
  482. const ODError kODErrNotEnoughSubmenuIDs                         =       -30809;
  483. const ODError kODErrDuplicateID                                 =       -30810;
  484. const ODError kODErrUnknownID                                   =       -30811;
  485.  
  486. //#------------------------------------------------------------------------------
  487. //# Undo
  488. //#------------------------------------------------------------------------------
  489.  
  490. const ODError kODErrCannotMarkAction                    =       -29749;
  491. const ODError kODErrEmptyStack                                  =       -29750;
  492. const ODError kODErrNoBeginAction                               =       -29751;
  493. const ODError kODErrCannotAddAction                             =       -29752;
  494.  
  495. //#------------------------------------------------------------------------------
  496. //# WindowState
  497. //#------------------------------------------------------------------------------
  498.  
  499. const ODError kODErrCannotCreateWindow                  =       -29753;
  500.  
  501. //------------------------------------------------------------------------------
  502. // DocumentManager
  503. //------------------------------------------------------------------------------
  504.  
  505. const ODError kODErrOpeningMemContainer                 =       -30812;
  506. const ODError kODErrClosingNonODWindow                  =       -30813;
  507. const ODError kODErrNoDraftInWindow                     =       -30814;
  508.  
  509. //#------------------------------------------------------------------------------
  510. //# Registration
  511. //#------------------------------------------------------------------------------
  512. const ODError kODErrRegistrationError                   =       -30815;
  513. const ODError kODErrRegStartProcessFail                 =       -30816;
  514. const ODError kODErrEnvVariableNotSet                   =       -30817;
  515. const ODError kODErrWrongPlatformForODZ                 =       -30818;
  516.  
  517.  
  518. //#-----------------------------------------------------------------------------
  519. //# Platform-specific errors
  520. //#-----------------------------------------------------------------------------
  521.  
  522. #ifdef _PLATFORM_MACINTOSH_
  523.  
  524. #endif //# _PLATFORM_MACINTOSH_
  525.  
  526. #ifdef _PLATFORM_OS2_
  527.  
  528. //#------------------------------------------------------------------------------
  529. //# Linking 
  530. //#------------------------------------------------------------------------------
  531.  
  532.  
  533. //#============================================================================
  534. //# Error codes from -29860 to -29910 (KODError + 50) are reserved for linking
  535. //#============================================================================
  536.  
  537. const ODError kODError                          = -29860;
  538. const ODError kODErrorMaxLinkError              = kODError-50; //[up to -29910]
  539. const ODError kODErrLinkSourceIsEmpty           = kODError-1;  //-29861
  540. const ODError kODErrLinkSourceAlreadyInited     = kODError-2;  //-29862
  541. const ODError kODErrLinkSourceConnected         = kODError-3;  //-29863
  542. const ODError kODErrInvalidTargetID             = kODError-4;  //-29864
  543. const ODError kODErrRequestMutexTimeOut         = kODError-5;  //-29865
  544. const ODError kODErrRequestMutexInterrupt       = kODError-6;  //-29866
  545. const ODError kODErrRequestMutexInvalidHandle   = kODError-7;  //-29867
  546. const ODError kODErrRequestMutexTooManyRequests = kODError-8;  //-29868
  547. const ODError kODErrRequestMutexOwnerDied       = kODError-9;  //-29869
  548. const ODError kODErrReleaseMutexInvalidHandle   = kODError-10; //-29870
  549. const ODError kODErrReleaseMutexNotOwner        = kODError-11; //-29871
  550. const ODError kODErrDocNotRegistered            = kODError-12; //-29872
  551. const ODError kODErrDocNotOpened                = kODError-13; //-29873
  552. const ODError kODErrLinkNotRegistered           = kODError-14; //-29874
  553. const ODError kODErrLinkNotOpened               = kODError-15; //-29875
  554. const ODError kODErrInvalidDocPathName          = kODError-16; //-29876
  555. const ODError kODErrDocAlreadyOpened            = kODError-17; //-29877
  556. const ODError kODErrInvalidDocID                = kODError-18; //-29878
  557. const ODError kODErrInvalidLinkID               = kODError-19; //-29879
  558. const ODError kODErrInvalidAvlSvr               = kODError-20; //-29880
  559. const ODError kODErrInvalidLinkSource           = kODError-21; //-29881
  560. const ODError kODErrInvalidAuxState             = kODError-22; //-29882
  561. const ODError kODErrLinkIDNotInDoc              = kODError-23; //-29883
  562. const ODError kODErrInvalidShell                = kODError-24; //-29884
  563. const ODError kODErrLinkAlreadyOpened           = kODError-25; //-29885
  564. const ODError kODErrWaitingUnlock               = kODError-26; //-29886
  565. const ODError kODErrDocOpenedFailed             = kODError-27; //-29887
  566. const ODError kODErrLinkOpenedFailed            = kODError-28; //-29888
  567. const ODError kODErrInvalidLink                 = kODError-29; //-29889
  568. const ODError kODErrNoLinkSource                = kODError-30; //-29890
  569. const ODError kODErrSourceDocRemote             = kODError-31; //-29891
  570. const ODError kODErrSourceDocNotOpen            = kODError-32; //-29892
  571. const ODError kODErrInvalidDraft                = kODError-33; //-29893
  572.                                                                      
  573.  
  574.  
  575. #endif // _PLATFORM_OS2_
  576.  
  577.  
  578. #if defined(__SOMIDL__) && defined(EMIT_GLOBAL_CONSTANTS)
  579. #pragma somemittypes off
  580. #endif
  581.  
  582.  
  583. module OpenDoc_Errors
  584. {
  585.         const string OpenDoc_Errors_Version = "1.0.";
  586. };
  587.  
  588. #endif //# _ERRORDEF_
  589.  
  590.