Language
|
Description
|
C/C++
|
BOOL UsbGetPipeCount(IN USB_DEVICE_HANDLE hUsb,
|
Delphi
|
function UsbGetPipeCount(hUsb : USB_DEVICE_HANDLE;
var PipeCount : UCHAR) : BOOL; stdcall;
|
VB
|
Function UsbGetPipeCount (ByVal hUsb As Long, _
ByRef pipeCount As Byte) As Boolean
|
Parameters
| device handle. This handle can be obtained with OpenRapidUsb.
|
| If function succeeds this parameter points to number of pipes in active interface
|
Return Value
| If function fails it return FALSE and value of PipeCount is undefined. To detect error call GetLastError function.
|
Description
| Call this function to retrieve number of pipes. If device is in unconfigured state pPipeCount is zero
|
|