home *** CD-ROM | disk | FTP | other *** search
-
- Input Device ToolKit
-
-
- DTInputCreate (1.1) DTInputCreate (1.1)
-
-
- NAME
-
- DTInputCreate Create and Initialize an Input
- Control Structure
-
- SYNOPSIS
-
- #include "DeviceToolKits/Input.h"
- #include "DeviceToolKits/proto/Input.h"
-
- DTInput = DTInputCreate(status);
-
- LONG *status; Returned status
-
- DTInput_t DTInput; Returned control
- structure
-
- FUNCTION
-
- This function creates and initializes an Input device
- control structure. The following are allocated for the
- control structure: (Be sure to call DTInputFree to release
- these resources)
-
- Memory for the control structure.
- A private write reply port (no name, priority 0).
- A write request block (IOStdReq).
- A private timer reply port (no name, priority 0).
- A timer request block (timerequest).
-
- Upon successful allocation of all of the above, an
- OpenDevice call is made to "input.device".
-
- RETURNS
-
- An Input control structure is returned for use in all other
- DTInput calls. If NULL is returned, the variable 'status'
- will contain the error code.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1
- Printed September 10, 1990 Page
-
-
-
-
-
-
-