home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / n / newsflash / !FileBase / !NewsFlash / Docs / Developers / Messages < prev    next >
Encoding:
Text File  |  1996-08-06  |  20.6 KB  |  950 lines

  1. Last update: 5/1/96
  2.  
  3. NewsFlash Wimp Messages (for doors generally)
  4.  
  5. NewsFlash Message Code 1 : &BFFC0
  6.  
  7. Message format:
  8.  
  9. 0    : Block length
  10. 4    : NewsFlash's (module) task handle
  11. 8    : my_ref
  12. 12   : your_ref
  13. 16   : &BFFC0
  14. 20   : NewsFlash Message Code
  15. 24   : Task handle of original sender (0 if NewsFlash module)
  16. 28   : Line number from 0 (-1 if N/A)
  17. 32   : Message data
  18.  
  19. NewsFlash Message Code 2 : &BFFC1
  20.  
  21. Message format:
  22.  
  23. 0    : Block length
  24. 4    : Task handle of original sender
  25. 8    : my_ref
  26. 12   : your_ref
  27. 16   : &BFFC1
  28. 20   : NewsFlash Message Code
  29. 24   : Reserved (should be 0)
  30. 28   : Line number from 0 (-1 if N/A)
  31. 32   : Message data
  32.  
  33. NewsFlash Utility Manager Code : &BFFC2
  34.  
  35. 0    : Block length
  36. 4    : Task handle of original sender
  37. 8    : my_ref
  38. 12   : your_ref
  39. 16   : &BFFC2
  40. 20   : Util manager code
  41. 24   : Reserved (should be 0)
  42. 28   : Line number from 0 (-1 if N/A)
  43. 32   : Message data
  44.  
  45. NewsFlash Door Manager Code : &BFFC3
  46.  
  47. 0    : Block length
  48. 4    : Task handle of original sender
  49. 8    : my_ref
  50. 12   : your_ref
  51. 16   : &BFFC3
  52. 20   : Door manager code
  53. 24   : Reserved (should be 0)
  54. 28   : Line number from 0 (-1 if N/A)
  55. 32   : Message data
  56.  
  57. NewsFlash message codes:
  58.  
  59. ============================================================================
  60.  
  61. Message types:
  62.  
  63. Door only  - This message is sent only to the door (if any) that has claimed
  64. the line in question.
  65.  
  66. All tasks  - This message is sent to all wimp tasks.
  67.  
  68. From Tasks - This message is sent from a task to NewsFlash
  69.  
  70. Messages:
  71.  
  72. -----------------------------------------------
  73.  
  74. NewsFlash_Quit                  Code : 0
  75.  
  76. Type : Door only
  77.  
  78. You must release the line (and quit?).
  79.  
  80. -----------------------------------------------
  81.  
  82. NewsFlash_IncomingMessage       Code : 1
  83.  
  84. Type : Door only
  85.  
  86. A message has been sent by another program or the sysop. You should display
  87. it somehow.
  88.  
  89. Block + 32 = 0 if sent by sysop.
  90.            = 1 if sent by NewsFlash main app
  91.            = 2 if sent by another program
  92. Block + 36 = Null terminated message string.
  93.  
  94. -----------------------------------------------
  95.  
  96. NewsFlash_StartDoor             Code : 2
  97.  
  98. Type : All tasks
  99.  
  100. A command in the script file has signalled that a door has been requested to
  101. 'start'.
  102.  
  103. Block + 32 = 0 if text ID
  104.            = 1 if numeric ID
  105. Block + 36 = Door ID
  106.  
  107. -----------------------------------------------
  108.  
  109. NewsFlash_CarrierLost           Code : 3
  110.  
  111. Type : Door only
  112.  
  113. The user has hungup or the main BB has quit. You should quit and not release
  114. the line if you have claimed it.
  115.  
  116. -----------------------------------------------
  117.  
  118. NewsFlash_User                  Code : 4
  119.  
  120. Type : All tasks
  121.  
  122. Allows user messages
  123.  
  124. Block + 32 = User code
  125. Block + 36 = Data
  126.  
  127. Current user codes:
  128.  
  129. 0 - Battleships door message
  130.  
  131. -----------------------------------------------
  132.  
  133. NewsFlash_Incoming              Code : 5
  134.  
  135. Type : All tasks
  136.  
  137. NewsFlash has answered an incomming call 
  138.  
  139. Block + 32 = Baud rate
  140.  
  141. -----------------------------------------------
  142.  
  143. NewsFlash_Logon                 Code : 6
  144.  
  145. Type : All tasks
  146.  
  147. A user has logged on.
  148.  
  149. Block + 32 = Baud rate
  150. Block + 36 = User number
  151. Block + 40 = Null terminated user name
  152.  
  153. -----------------------------------------------
  154.  
  155. NewsFlash_Logoff                Code : 7
  156.  
  157. Type : All tasks
  158.  
  159. Block + 32 = Baud rate
  160. Block + 36 = User number
  161. Block + 40 = Call duration (seconds)
  162. Block + 44 = Non-zero to indicate user dropped carrier (0 otherwise)
  163. Block + 48 = Number of calls by this user
  164. Block + 52 = 5 byte time of call start
  165. Block + 57 = Null terminated user name
  166.  
  167. A user has hung up or logged off
  168.  
  169. -----------------------------------------------
  170.  
  171. NewsFlash_Starting              Code : 8
  172.  
  173. Type : All tasks
  174.  
  175. NewsFlash has just been loaded.
  176.  
  177. -----------------------------------------------
  178.  
  179. NewsFlash_Dying                 Code : 9
  180.  
  181. Type : All tasks
  182.  
  183. NewsFlash is being quit.
  184.  
  185. -----------------------------------------------
  186.  
  187. NewsFlash_SysopChatRequest      Code : 10
  188.  
  189. Type : All tasks
  190.  
  191. A user has requested a chat with the sysop.
  192.  
  193. Block + 32 = User number
  194. Block + 36 = Topic
  195.  
  196. -----------------------------------------------
  197.  
  198. NewsFlash_StartSysopChat        Code : 11
  199.  
  200. Type : All tasks
  201.  
  202. This call is sent after the chat request has been acknowledged. It should be
  203. acknoledged within 10 wimp polls or NF will timeout and continue with the
  204. script.
  205.  
  206. -----------------------------------------------
  207.  
  208. NewsFlash_ForceLogon            Code : 12
  209.  
  210. Type : From Tasks
  211.  
  212. This call is sent to NewsFlash to force a logon without having to wait for a
  213. connect code.
  214.  
  215. Block + 32 = Connect speed
  216.  
  217. -----------------------------------------------
  218.  
  219. NewsFlash_ForceLogoff           Code : 13
  220.  
  221. Type : From Tasks
  222.  
  223. This call forces NewsFlash to disconnect a user. 
  224.  
  225. -----------------------------------------------
  226.  
  227. NewsFlash_Sleep                 Code : 14
  228.  
  229. Type : From Tasks
  230.  
  231. This call tells NewsFlash to 'go to sleep'. NewsFlash will send the
  232. NewsFlash_Sleeping message once it is asleep.
  233.  
  234. -----------------------------------------------
  235.  
  236. NewsFlash_Wakeup                Code : 15
  237.  
  238. Type : From Tasks
  239.  
  240. This call tells NewsFlash to wakeup.
  241.  
  242. -----------------------------------------------
  243.  
  244. NewsFlash_Sleeping              Code : 16
  245.  
  246. Type : All tasks
  247.  
  248. This call indicates that NewsFlash is now asleep.
  249.  
  250. -----------------------------------------------
  251.  
  252. NewsFlash_Woken                 Code : 17
  253.  
  254. Type : All tasks
  255.  
  256. This call indicates that NewsFlash has just woken up.
  257.  
  258. -----------------------------------------------
  259.  
  260. NewsFlash_StartTask             Code : 18
  261.  
  262. Type : From Tasks
  263.  
  264. This call is used to start various tasks within the NewsFlash application,
  265. which will fully multitask until they are finished.
  266.  
  267. Block + 32 = Task type
  268. Block + 36 and above depend on task type
  269.  
  270. Task types:
  271.  
  272. Send string directly to serial port
  273.  
  274. Block + 32 = 0
  275. Block + 36 = Size of data to send
  276. Block + 40 = Data to send
  277.  
  278. Send message to user and waits for keyboard ack
  279.  
  280. Block + 32 = 1
  281. Block + 36 = Size of message to send
  282. Block + 40 = Data to send
  283.  
  284. Weed message base
  285.  
  286. Block + 32 = 2
  287. Block + 36 = Weed time unit:
  288.  
  289. 0 = Second
  290. 1 = Minute
  291. 2 = Hour
  292. 3 = Day
  293. 4 = Week
  294. 5 = Month
  295. 6 = Year
  296.  
  297. Block + 40 = Number of time units
  298.  
  299. Scan out outbound mail
  300.  
  301. Block + 32 = 3
  302.  
  303. Toss mail
  304.  
  305. Block + 32 = 4
  306.  
  307. -----------------------------------------------
  308.  
  309. NewsFlash_FileTransferStarted   Code : 19
  310.  
  311. Type : All tasks
  312.  
  313. This indicates a file transfer has just started
  314.  
  315. -----------------------------------------------
  316.  
  317. NewsFlash_FileTransferFinish    Code : 20
  318.  
  319. Type : All tasks
  320.  
  321. This indicates a file transfer has just finished
  322.  
  323. -----------------------------------------------
  324.  
  325. NewsFlash_FileTransferFileSent  Code : 21
  326.  
  327. Type : All tasks
  328.  
  329. This indicates a file has just been sent.
  330.  
  331. -----------------------------------------------
  332.  
  333. NewsFlash_Log                   Code : 22
  334.  
  335. Type : From tasks
  336.  
  337. Block + 32 = String to log
  338.  
  339. -----------------------------------------------
  340.  
  341. NewsFlash_Logged                Code : 23
  342.  
  343. Type : All tasks
  344.  
  345. Block + 32 = String that has just been log
  346.  
  347. -----------------------------------------------
  348.  
  349. NewsFlash_HHE                   Code : 24
  350.  
  351. Type : All tasks
  352.  
  353. Reserved for NFHHE only
  354.  
  355. -----------------------------------------------
  356.  
  357. NewsFlash_StartUtility          Code : 25
  358.  
  359. Type : All tasks
  360.  
  361. This message is sent by a task to start a utility. Utility Manager will
  362. respond with UtilityMananger_UtilityStarting or UtilityManager_StartFailed
  363.  
  364. Block + 32 = Utility ID
  365. Block + 36 = Reference word (0 for none)
  366. Block + 40 = Paramaters
  367.  
  368. -----------------------------------------------
  369.  
  370. NewsFlash_StartDoor             Code : 26
  371.  
  372. Type : All tasks
  373.  
  374. This message is sent by a task to start a door. Door manager will respond
  375. with DoorManager_DoorStarting or DoorManager_RunFailed.
  376.  
  377. Block + 32 = Door name
  378.  
  379. -----------------------------------------------
  380.  
  381. NewsFlash_SetVariable           Code : 27
  382.  
  383. Type : All tasks
  384.  
  385. Block + 32 = Variable type (0 = string, 1 = int)
  386. Block + 36 = Offset to string in message block (from Block + 0) or 32-bit int
  387. Block + 40 = Variable name
  388.  
  389. -----------------------------------------------
  390.  
  391. NewsFlash_ReadVariable          Code : 28
  392.  
  393. Type : All tasks
  394.  
  395. Block + 32 = Variable name
  396.  
  397. -----------------------------------------------
  398.  
  399. NewsFlash_VariableValue         Code : 29
  400.  
  401. Type : All tasks
  402.  
  403. Block + 32 = Variable type (0 = string, 1 = int)
  404. Block + 36 = Offset to string in message block (from Block + 0) or 32-bit int
  405. Block + 40 = Variable name
  406.  
  407. -----------------------------------------------
  408.  
  409. ============================================================================
  410.  
  411. Utility Manager message codes:
  412.  
  413. ============================================================================
  414.  
  415. Message types:
  416.  
  417. All tasks    - This message is sent to all wimp tasks.
  418.             
  419. From tasks   - This message is sent from a task to the Utility Manager
  420.  
  421. To task      - This message is sent only to a paticular task as a response
  422.  
  423. To utility   - This message is sent to a specific utility only
  424.  
  425. From utility - This message is sent by a utility to Utility Manager
  426.  
  427. Messages:
  428.  
  429. -----------------------------------------------
  430.  
  431. UtilityManager_Starting               Code : 0
  432.  
  433. Type : All tasks
  434.  
  435. -----------------------------------------------
  436.  
  437. UtilityManager_Dying                  Code : 1 
  438.  
  439. Type : All tasks
  440.  
  441. -----------------------------------------------
  442.  
  443. UtilityManager_RequestVersion         Code : 2
  444.  
  445. Type : From tasks
  446.  
  447. Make a request to the utilty manager to broadcast it's version
  448.  
  449. -----------------------------------------------
  450.  
  451. UtilityManager_Version                Code : 3
  452.  
  453. Type : All tasks
  454.  
  455. Block + 32 = Version word (&RRRRHHLL)
  456. Block + 36 = Version string
  457.  
  458. -----------------------------------------------
  459.  
  460. UtilityManager_VerifyUtilityList      Code : 4
  461.  
  462. Type : From tasks
  463.  
  464. Make a request to the utilty manager to verify a list of utilities by
  465. returning UtilityManager_ActiveUtilities and UtilityManager_InactiveUtilities
  466.  
  467. Block + 32 = Utility ID 1
  468. Block + 36 = Utility ID 2
  469. ...
  470.  
  471. Block + ?? = -1 terminator
  472.  
  473. -----------------------------------------------
  474.  
  475. UtilityManager_VerifyUtilityListID    Code : 5
  476.  
  477. Type : From tasks
  478.  
  479. Make a request to the utilty manager to verify a list of utilities by
  480. returning UtilityManager_ActiveUtilitiesID and
  481. UtilityManager_InactiveUtilitiesID
  482.  
  483. Block + 32 = Utility ID 1
  484. Block + 36 = Custom ID 1
  485. Block + 40 = Utility ID 2 ...
  486. Block + 44 = Custom ID 2
  487. ....
  488. Block + ?? = -1
  489.  
  490. -----------------------------------------------
  491.  
  492. UtilityManager_RequestUtilityList     Code : 6
  493.  
  494. Type : From tasks
  495.  
  496. Make a request to the utilty manager to broadcast a complete list of utilities by
  497. returning UtilityManager_UtilityList
  498.  
  499. -----------------------------------------------
  500.  
  501. UtilityManager_ActiveUtilities        Code : 7
  502.  
  503. Type : To task
  504.  
  505. Returns a list of active utilites
  506.  
  507. Block + 32 = Active Utility ID 1
  508. Block + 36 = Active Utility ID 2
  509. ....
  510. Block + ?? = 0
  511.  
  512. -----------------------------------------------
  513.  
  514. UtilityManager_InactiveUtilites       Code : 8
  515.  
  516. Type : To task
  517.  
  518. Returns a list of inactive utilites
  519.  
  520. Block + 32 = Inactive Utility ID 1
  521. Block + 36 = Inactive Utility ID 2
  522. ....
  523. Block + ?? = -1
  524.  
  525. -----------------------------------------------
  526.  
  527. UtilityManager_ActiveUtilitiesID      Code : 9
  528.  
  529. Type : To task
  530.  
  531. Returns a list of active utilites
  532.  
  533. Block + 32 = Active Utility Custom ID 1
  534. Block + 36 = Active Utility Custom ID 2
  535. ....
  536. Block + ?? = -1
  537.  
  538. -----------------------------------------------
  539.  
  540. UtilityManager_InactiveUtilitesID     Code : 10
  541.  
  542. Type : To task
  543.  
  544. Returns a list of inactive utilites
  545.  
  546. Block + 32 = Inactive Utility Custom ID 1
  547. Block + 36 = Inactive Utility Custom ID 2
  548. ....
  549. Block + ?? = -1
  550.  
  551. -----------------------------------------------
  552.  
  553. UtilityManager_UtilityList            Code : 11
  554.  
  555. Type : All tasks
  556.  
  557. Returns a list of active utilites
  558.  
  559. Block + 32 = Active Utility ID 1
  560. Block + 36 = Active Utility ID 2
  561. ....
  562. Block + ?? = -1
  563.  
  564. -----------------------------------------------
  565.  
  566. UtilityManager_ActivateUtility        Code : 12
  567.  
  568. Type : From tasks
  569.  
  570. Request that a utilty be activated (made present). Note: The task must not
  571. assume that the utility will be activated and must wait for a
  572. UtilityManager_UtilityActivated
  573.  
  574. Block + 32 = Utility ID
  575.  
  576. -----------------------------------------------
  577.  
  578. UtilityManager_DeactivateUtility      Code : 13
  579.  
  580. Type : From tasks
  581.  
  582. Block + 32 = Utility ID
  583.  
  584. Request that a utilty be deactivated. Note: The task must not assume that the
  585. utility will be deactivated and must wait for a
  586. UtilityManager_UtilityDeactivated
  587.  
  588. -----------------------------------------------
  589.  
  590. UtilityManager_UtilityActivated       Code : 14
  591.  
  592. Type : All tasks
  593.  
  594. Block + 32 = Utility ID
  595.  
  596. -----------------------------------------------
  597.  
  598. UtilityManager_UtilityDeactivated     Code : 15
  599.  
  600. Type : All tasks
  601.  
  602. Block + 32 = Utility ID
  603.  
  604. -----------------------------------------------
  605.  
  606. UtilityManager_StartUtility           Code : 16
  607.  
  608. Type: From tasks
  609.  
  610. This message is sent by a task to start a utility. Utility Manager will
  611. respond with UtilityMananger_UtilityStarting or UtilityManager_StartFailed
  612.  
  613. Block + 24 = 0 or task handle of sender (instead of +4)
  614. Block + 32 = Utility ID
  615. Block + 36 = Reference word (0 for none)
  616. Block + 40 = Run hidden
  617. Block + 44 = Paramaters
  618.  
  619. -----------------------------------------------
  620.  
  621. UtilityManager_UtilityFinished        Code : 17
  622.  
  623. Type: To task
  624.  
  625. Block + 32 = Utility ID
  626. Block + 36 = Reference word as passed in UtilityManager_StartUtility
  627. Block + 40 = Task was completed succesfully
  628.  
  629. -----------------------------------------------
  630.  
  631. UtilityManager_UtilityVerify          Code : 18
  632.  
  633. Type: All tasks
  634.  
  635. Block + 32 = Utility ID
  636. Block + 36 = Task handle of utility
  637. Block + 40 = Paramaters
  638.  
  639. This is sent by Utility Manager so that utilities can stop other utilites
  640. starting if they want to, by using UtilityManager_Abort
  641.  
  642. -----------------------------------------------
  643.  
  644. UtilityManager_Paramaters             Code : 19
  645.  
  646. Type: To utility
  647.  
  648. Block + 24 = Task handle of initiator
  649. Block + 32 = Utility ID
  650. Block + 36 = User reference word
  651. Block + 40 = Hide main window
  652. Block + 44 = Paramaters
  653.  
  654. This is sent by the Utility Manager to give the utility it's paramaters. The
  655. utility should wait for a short while (perhaps 10 wimp polls) to allow other
  656. utilities to tell it to abort. If no abort message is received the utility
  657. can go on.
  658.  
  659. Then it should send Utility_UtilityStarting or Utility_StartFailed to
  660. Utility Manager.
  661.  
  662. -----------------------------------------------
  663.  
  664. UtilityManager_Abort                  Code : 20
  665.  
  666. Type: To utility
  667.  
  668. Block + 32 = Utility ID
  669.  
  670. This may be sent by another utility to tell the utility to quit before doing
  671. anything. This will be sent shortly after UtilityManager_Paramaters.
  672.  
  673. -----------------------------------------------
  674.  
  675. UtilityManager_RequestStatus          Code : 21
  676.  
  677. Type: To utility
  678.  
  679. The utility should respond by sending UtilityManager_StatusUpdate. If the
  680. utility does not respond within a certain time the utility will be assumed to
  681. be not responding and asked to quit.
  682.  
  683. -----------------------------------------------
  684.  
  685. UtilityManager_StatusUpdate           Code : 22
  686.  
  687. Type: From utility
  688.  
  689. Block + 32 = Utility is frozen or paused
  690. Block + 36 = Progress as a percentage (-1 for unknown)
  691. Block + 40 = Status description
  692.  
  693. -----------------------------------------------
  694.  
  695. UtilityManager_RequestQuit            Code : 23
  696.  
  697. Type: To utility
  698.  
  699. Requests that a utility quits
  700.  
  701. -----------------------------------------------
  702.  
  703. UtilityManager_ForceQuit              Code : 24
  704.  
  705. Type: To utility
  706.  
  707. Requests that a utility quits as soon as possible. If a utility does
  708. something illegal it will usually be sent this message. However, it should
  709. send a UtilityManager_Quitting before it quits.
  710.  
  711. -----------------------------------------------
  712.  
  713. UtilityManager_Freeze                 Code : 25
  714.  
  715. Type: To utility
  716.  
  717. Requests that a utility freezes (becomes inactive)
  718.  
  719. -----------------------------------------------
  720.  
  721. UtilityManager_UnFreeze               Code : 26
  722.  
  723. Type: To utility
  724.  
  725. Requests that a utility unfreezes (becomes active)
  726.  
  727. -----------------------------------------------
  728.  
  729. UtilityManager_Quitting               Code : 27 
  730.  
  731. Type: From utility
  732.  
  733. This message is broadcast by a utility when it quits
  734.  
  735. Block + 32 = Intended task was completed
  736.  
  737. -----------------------------------------------
  738.  
  739. UtilityManager_UtilityStarting        Code : 28
  740.  
  741. Type: From util / To task
  742.  
  743. This message is sent to a task to acknowledge that a utility is starting.
  744.  
  745. Block + 32 = Utility ID
  746. Block + 36 = Your reference ID
  747.  
  748. -----------------------------------------------
  749.  
  750. UtilityManager_StartFailed            Code : 29
  751.  
  752. Type: From util / To task
  753.  
  754. This message is sent to a task if a utility could not be started
  755.  
  756. Block + 32 = Utility ID
  757. Block + 36 = Your reference ID
  758. Block + 40 = Error message
  759.  
  760. -----------------------------------------------
  761.  
  762. UtilityManager_Rescanned              Code : 30
  763.  
  764. Type: All tasks
  765.  
  766. This message is broadcast by utility manager when the ulitity list has been
  767. regenerated.
  768.  
  769. -----------------------------------------------
  770.  
  771. UtilityManager_Frozen                 Code : 31
  772.  
  773. Type: All tasks
  774.  
  775. This message is broadcast by utility manager, or sent by a utility, when a
  776. utility is paused or frozen.
  777.  
  778. -----------------------------------------------
  779.  
  780. UtilityManager_UnFrozen               Code : 32
  781.  
  782. Type: All tasks
  783.  
  784. This message is broadcast by utility manager, or sent by a utility, when a
  785. utility is unpaused or unfrozen.
  786.  
  787. -----------------------------------------------
  788.  
  789. UtilityManager_OpenWindow             Code : 33
  790.  
  791. Type: To utility
  792.  
  793. This message is sent to a utility to request that it opens it's main window
  794. and/or brings it to the front.
  795.  
  796. -----------------------------------------------
  797.  
  798. UtilityManager_CloseWindow            Code : 34
  799.  
  800. Type: To utility
  801.  
  802. This message is sent to a utility to request that it closes it's main window.
  803.  
  804. -----------------------------------------------
  805.  
  806. UtilityManager_ProgressDetails        Code : 35
  807.  
  808. Type: From utility
  809.  
  810. Block + 32 = Utility ID
  811. Block + 36 = Your reference ID
  812. Block + 40 onwards defined by utility
  813.  
  814. This message may be sent by a utility directly to it's initiator to give
  815. detailed progress information.
  816.  
  817. -----------------------------------------------
  818.  
  819. UtilityManager_UtilityCommunication   Code : 36
  820.  
  821. Type: From/To utility
  822.  
  823. Block + 32 = Utility ID
  824. Block + 36 = Your reference ID
  825. Block + 40 onwards defined by utility
  826.  
  827. This message is used for direct communication between a utility and it's
  828. initiator.
  829.  
  830. -----------------------------------------------
  831.  
  832. ============================================================================
  833.  
  834. Door Manager message codes:
  835.  
  836. ============================================================================
  837.  
  838. Message types:
  839.  
  840. All tasks    - This message is sent to all wimp tasks.
  841.             
  842. From tasks   - This message is sent from a task to the Door Manager
  843.  
  844. To task      - This message is sent only to a paticular task as a response
  845.  
  846. Messages:
  847.  
  848. -----------------------------------------------
  849.  
  850. DoorManager_Starting                  Code : 0
  851.  
  852. Type : All tasks
  853.  
  854. Make a request to the door manager to broadcast it's version
  855.  
  856. -----------------------------------------------
  857.  
  858. DoorManager_Dying                     Code : 1
  859.  
  860. Type : All tasks
  861.  
  862. Make a request to the door manager to broadcast it's version
  863.  
  864. -----------------------------------------------
  865.  
  866. DoorManager_RequestVersion            Code : 2
  867.  
  868. Type : From tasks
  869.  
  870. Make a request to the door manager to broadcast it's version
  871.  
  872. -----------------------------------------------
  873.  
  874. DoorManager_Version                   Code : 3
  875.  
  876. Type : All tasks
  877.  
  878. Block + 32 = Version word (&RRRRHHLL)
  879. Block + 36 = Version string
  880.  
  881. -----------------------------------------------
  882.  
  883. DoorManager_RunDoor                    Code : 4
  884.  
  885. Type: From tasks
  886.  
  887. This makes a request for a door to start. The door manager will respond with
  888. DoorManager_DoorStarting or DoorManager_UnknownDoor.
  889.  
  890. Block + 24 = 0 or task handle of sender (instead of +4)
  891. Block + 32 = Door name to start
  892. Block + .. = Optional paramaters
  893.  
  894. -----------------------------------------------
  895.  
  896. DoorManager_DoorStarting              Code : 5
  897.  
  898. Type: To task
  899.  
  900. This is sent to acknowledge DoorManager_RunDoor.
  901.  
  902. Block + 32 = Door name
  903.  
  904. -----------------------------------------------
  905.                                              
  906. DoorManager_RunFailed                 Code : 6
  907.  
  908. Type: To task
  909.  
  910. This is sent in response to DoorManager_RunDoor if the door could not be
  911. started.
  912.  
  913. Block + 32 = Error message
  914.  
  915. -----------------------------------------------
  916.  
  917. DoorManager_RequestDoorInfo           Code : 7
  918.  
  919. Type: From tasks
  920.  
  921. This is sent by a task to request the door manager to broadcast information
  922. on a door
  923.  
  924. Block + 32 = Door name
  925.  
  926. -----------------------------------------------
  927.  
  928. DoorManager_DoorInfo                  Code : 8
  929.  
  930. Type: To tasks
  931.  
  932. Block + 32 = Door name
  933.              Door version string
  934.              Door author
  935.              Physical door path
  936.              Physical door !Help file path
  937.  
  938. -----------------------------------------------
  939.  
  940. Contacting me
  941. -------------
  942.  
  943. If anyone wishes to contact me please send e-mail to:
  944.  
  945. Chris Davis..
  946.  
  947. Fidonet         2:253/417.6 or 2:257/501.7 
  948. Internet        chris@armadilo.demon.co.uk
  949. Highlander BBS  01452 384557/384702
  950.