Language
|
Description
|
C/C++
|
BOOL UsbResetDevice(IN USB_DEVICE_HANDLE hUsb);
|
Delphi
|
function UsbResetDevice(hUsb : USB_DEVICE_HANDLE) : BOOL; stdcall;
|
VB
|
Function UsbResetDevice (ByVal hUsb As Long) As Boolean
|
Parameters
| Specifies device handle. This handle can be obtained with OpenRapidUsb.
|
Return Value
| If function fails it return FALSE. To detect error call GetLastError function.
|
Description
| This function resets USB device. Before calling this function stop all transfers and close all opened pipes with UsbPipeClose function. All opened pipe handles became invalid.
|
|