Serial Framework C++ Edition

◆ Disable()

int Disable ( const tstring Instance) const

Disables USB device.

Parameters
InstanceThe USB device's instance string.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

The function requires administrative rights.