U2C_RESULT U2C_IsHandleValid (
HANDLE hDevice
);
The U2C_IsHandleValid function checks whether the device referenced by hDevice handle is currently attached to the USB and can be used by SW.
- Parameters:
-
| hDevice | Handle to the U2C-12 device that will be checked. |
- Return values:
-
| U2C_SUCCESS | The device referenced by hDevice handle is present. |
| U2C_HARDWARE_NOT_FOUND | U2C-12 device referenced by hDevice handle was not found |
|