Function Prototypes:ttDevIoctlFunc
Table of Contents >> Programmer's Reference >> tfAddInterface
| int ttDevIoctlFunc | ( |
| ttUserInterface interfaceHandle, | |
| int flag, | |
| void TM_FAR * optionPtr, | |
| int optionLen | |
| ); |
Function Description
This device driver function is called by tfIoctlInterface() when the user wishes to interact with the device driver from the application.
Parameters
- interfaceHandle
- A pointer to the interface.
- flag
- One or more device specific flags OR'd together. These flags include custom user-defined flags as well as the flags defined for use with tfIoctlInterface().
- optionPtr
- Pointer to a tfIoctlInterface() specific parameter.
- optionLen
- Length of the option.
Returns
- int
- One of the two following values:
- TM_DEV_OKAY: Success
- TM_DEV_ERROR: Error.
- One of the two following values:
Table of Contents >> Programmer's Reference >> tfAddInterface