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 >
Wrap
Text File
|
1991-01-05
|
1KB
|
67 lines
Input Device ToolKit
DTInputWriteEvent (1.1) DTInputWriteEvent (1.1)
NAME
DTInputWriteEvent Write an Event to the Input Device
SYNOPSIS
#include "DeviceToolKits/Input.h"
#include "DeviceToolKits/proto/Input.h"
status = DTInputWriteEvent(DTInput,buffer,length);
DTInput_t DTInput; Control structure
BYTE *buffer; Write buffer
ULONG length; Buffer length
LONG status; Returned status
FUNCTION
This function sends an event buffer to the Input device.
Typically buffer will point to an InputEvent structure.
RETURNS
If 'status' is zero, the buffer has been written to the
device. If 'status' is greater than zero, the ToolKit has
detected an error and that error is returned. If 'status'
is less than zero, an error was detected by the I/O system
and that error is returned in the in_error field of the
control structure.
1 Printed September 10, 1990 Page