Tt_status ttdt_close( const char * procid, const char * new_procid, int sendStopped );
The ttdt_close() function destroys a ToolTalk communication endpoint. This function calls the ToolTalk function tt_close().
If the value of procid is != 0, this function calls
tt_default_procid_set( procid )
If the value of new_procid is != 0, this function calls
tt_default_procid_set( new_procid )
If the sendStopped parameter is set, this function sends a Stopped notice.
The ttdt_close() function can return any error returned by the ToolTalk functions tt_default_procid_set() and tt_close(). If the Sending notice fails, no errors are propagated.