home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 6957 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.6 KB  |  38 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Message-ID: <xYYsEMD444aRz1@_dago.blackbox.shnet.org>
  3. From: DAGOBERT@BLACKBOX.shnet.org (Oliver )
  4. Path: blackbox.shnet.org!DAGOBERT
  5. Subject: Questions about input device
  6. Date: Tue, 02 Apr 1996 19:16:04 +0200
  7. X-Mailer: MicroDot 1.10 [REGISTERED 000444]
  8. X-Gateway: ZCONNECT US genepi.shnet.org [UNIX/Connect v0.71]
  9. MIME-Version: 1.0
  10. Content-Type: text/plain; charset=ISO-8859-1
  11. Content-Transfer-Encoding: 8bit
  12.  
  13.  Hello !
  14.  
  15.  I got 3 questions connected to the input device:
  16.  
  17.  If one is setting up an input handler by means of the input device,
  18.  and if one is then feeding input events into the input stream using the
  19.  IND_WRITEEVENT command, how is it possible to find out when the
  20.  memory connected to one of the fed in events can savely be reused or
  21.  freed ? If one sends messages, it's clear because one only has to
  22.  wait until the message is replied, but how does this work with
  23.  input events ? Or is the input device actually copying the events
  24.  so that, after I sent an events with DoIO(), I can reuse the
  25.  memory immediately ?
  26.  
  27.  And: Is it save to remove an input handler that has
  28.  been installed with IND_ADDHANDLER at any time, or is it necessary
  29.  to do some cleaning up (like using CMD_CLEAR) first ?
  30.  
  31.  And the last thing is: Can several input events actually be connected
  32.  by the ie_NextEvent field of the input event structure ? That is, is
  33.  it necessary to check, if one receives an input event, if there are
  34.  more events connected to it, so not to miss an event ? Or does this
  35.  field has some other meaning ?
  36.  
  37.  Thanks a lot for help  -  Oliver. 
  38.