Difference between revisions of "UsbIsDeviceActive"

From eMDeeWiki
Jump to navigationJump to search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<tt>int UsbIsDeviceActive()</tt>
+
<tt>int UsbIsDeviceActive(UAC_HANDLE devHandle)</tt>
  
  
 
'''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'''
  
Opens
+
Use this function to test if the USB device is open and communicating.
  
  

Latest revision as of 11: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.



USBI2C API Reference
Index of Functions
Home