Difference between revisions of "UsbIsDeviceActive"
From eMDeeWiki
Jump to navigationJump to searchLine 4: | Line 4: | ||
'''Return Value''' | '''Return Value''' | ||
− | Returns | + | Returns non-zero if the USB device is open, non-zero if the driver has been closed or USB communication has been lost. |
Line 15: | Line 15: | ||
'''Remarks''' | '''Remarks''' | ||
− | + | Use this function to test if the USB device is open and communicating. | |
Latest revision as of 10:58, 19 June 2014
int UsbIsDeviceActive(UAC_HANDLE devHandle)
Return Value
Returns non-zero if the USB device is open, non-zero if the driver has been closed or USB communication has been lost.
Parameters
devHandle
- The device handle of an open device. Use the value returned by UsbI2cOpen.
Remarks
Use this function to test if the USB device is open and communicating.