SetDeviceStatus
Set the device status
Description
SetDeviceStatus( deviceno, status item, new value )
This function returns no value.
Parameters
deviceno | Device number to set |
status item | The status item to set (see GetDeviceStatus) |
new value | The value to set |
See GetDeviceStatus for possible values for the Status item parameter.
Return value
0
Example usage
SetDeviceStatus(1, DVCSTAT_COMMERR, 0); // reset comm counter to 0 for device #1.