|int tfCloseInterface||(ttUserInterface interfaceHandle);|
This function is used to close the interface that is passed in. It simply calls the link layer close routine, the driver close routine, removes the interface from the local routing table and returns the error code that the link layer, or driver returns.
- The device driver entry that contains the close routine.
- Parameter is invalid.
- The device is already closed.
- If the connection is in the process of closing the connection (as in PPP). The user doesn't need to do anything, and will be notified by the PPP link layer when the interface is actually closed.