home *** CD-ROM | disk | FTP | other *** search
-
- Input Device ToolKit
-
-
- DTInputAddHandler (1.1) DTInputAddHandler (1.1)
-
-
- NAME
-
- DTInputAddHandler Add an Event Handler for the Input
- Device
-
- SYNOPSIS
-
- #include "DeviceToolKits/Input.h"
- #include "DeviceToolKits/proto/Input.h"
-
- status = DTInputAddHandler(DTInput,handler);
-
- DTInput_t DTInput; Control structure
- struct Interrupt *handler; Interrupt handler
-
- LONG status; Returned status
-
- FUNCTION
-
- This function adds an Event Handler for the Input device.
- This handler will be called whenever the input device has an
- input event, or set of events, ready for processing. Always
- make sure to remove the event handler with DTInputRemHandler
- before program exit.
-
- RETURNS
-
- If 'status' is zero, the handler has been added. 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
-
-
-
-
-
-
-