Function Prototypes:ttDevOpenCloseFunc

Jump to: navigation, search

Table of Contents >> Programmer's Reference >> tfAddInterface


int ttDevOpenCloseFunc (ttUserInterface interfaceHandle);


Function Description

This device driver function is defined by the user and called by Treck to open or close a device.


Parameters

  • interfaceHandle
    A pointer to the interface to open or close.


Returns

  • int
    One of the two following values:
    TM_DEV_OKAY: Success
    TM_DEV_ERROR: Error.


Table of Contents >> Programmer's Reference >> tfAddInterface