Language
|
Description
|
C/C++
|
USB_PIPE_HANDLE UsbPipeOpen(IN USB_DEVICE_HANDLE hUsb,
|
Delphi
|
function UsbPipeOpen(hUsb : USB_DEVICE_HANDLE;
PipeNum : UCHAR) : USB_PIPE_HANDLE; stdcall;
|
VB
|
Function UsbPipeOpen (ByVal hUsb As Long, _
ByVal PipeNumber As Byte) As Long
|
Parameters
| Specifies device handle. This handle can be obtained with OpenRapidUsb.
|
| Number of pipe to make active.
|
Return Value
| Function returns valid pipe handle if succeed. If function fails return value is INVALID_HANDLE_VALUE.
|
Description
| Function returns handle to USB pipe of specified number. Pipe is taken from active interface. All input/output operations can be performed only after successful call to this function (return value is not INVALID_HANDLE_VALUE). When all operations with pipe are finished call UsbPipeClose.
|
|