home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / fish / libraries / input_446 / src / devicetoolkits / input / docs / dtinputwriteevent.doc < prev    next >
Text File  |  1991-01-05  |  1KB  |  67 lines

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