Language
|
Description
|
C/C++
|
BOOL UsbCancelTransfer(IN USB_PIPE_HANDLE hPipe);
|
Delphi
|
function UsbCancelTransfer(hPipe : USB_PIPE_HANDLE) : BOOL; stdcall;
|
VB
|
Function UsbCancelTransfer (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 cancels all pending transfer operations that were issued by UsbTransferAsync for the specified pipe handle.
|
|