home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 499.lha / InputDeviceToolKit / input.lzh / src / DeviceToolKits / Input / docs / DTInputWriteEvent.doc < prev    next >
Encoding:
Text File  |  1991-01-05  |  1.4 KB  |  67 lines

  1.  
  2.                              Input Device ToolKit
  3.  
  4.  
  5.      DTInputWriteEvent (1.1)                        DTInputWriteEvent (1.1)
  6.  
  7.  
  8.      NAME
  9.  
  10.                DTInputWriteEvent        Write an Event to the Input Device
  11.  
  12.      SYNOPSIS
  13.  
  14.                #include  "DeviceToolKits/Input.h"
  15.                #include  "DeviceToolKits/proto/Input.h"
  16.  
  17.                status = DTInputWriteEvent(DTInput,buffer,length);
  18.  
  19.                DTInput_t DTInput;                 Control structure
  20.                BYTE      *buffer;                 Write buffer
  21.                ULONG     length;                  Buffer length
  22.  
  23.                LONG      status;                  Returned status
  24.  
  25.      FUNCTION
  26.  
  27.                This function sends an event buffer to the Input device. 
  28.                Typically buffer will point to an InputEvent structure.
  29.  
  30.      RETURNS
  31.  
  32.                If 'status' is zero, the buffer has been written to the
  33.                device.  If 'status' is greater than zero, the ToolKit has
  34.                detected an error and that error is returned.  If 'status'
  35.                is less than zero, an error was detected by the I/O system
  36.                and that error is returned in the in_error field of the
  37.                control structure.
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.                                                                           1
  62.           Printed September 10, 1990                                 Page  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.