Language
|
Description
|
C/C++
|
BOOL UsbPipeReset(IN USB_PIPE_HANDLE hPipe);
|
Delphi
|
function UsbPipeReset(hPipe : USB_PIPE_HANDLE) : BOOL; stdcall;
|
VB
|
Function UsbPipeReset (ByVal hPipe As Long) As Boolean
|
Parameters
| Pipe handle. This handle can be obtained with UsbPipeOpen.
|
Return Value
| If function fails it return FALSE. To detect error call GetLastError function.
|
Description
| Function clears both the halt condition on the host side of the pipe and the stall condition on the endpoint.
|
|