The ResetBus method resets virtual serial bus, deleting all virtual serial ports currently present in system.

BOOL ResetBus (

     void

);

 

Return Values : If the function succeeds, the return value is TRUE. If the port was not created the return value is FALSE.

Note: All virtual serial ports should be closed in order to execute ResetBus method successfully.