Skip to content

Disconnect : To disconnect the controller from the bus

UINT Disconnect (DWORD dwClientId )
```### Description
This function will disconnect the tool from correponding protocol bus. The return value of this function will be 0 or 1. This function can return 0 in case tool is already disconnected. dwClientId is reserved for future use.### Inputs
Client ID. Currently unused.### Returns
A value zero indicate failure condition while a value 1 indicate a success condition.
---
**Authoritative source**: BUSMASTER DITA help source `Disconnect.dita`, compiled into `BUSMASTER.CHM` with the application.