Home    Prev Next    
Contents
Programming For USB Device
Overview
Programmers Guide
Scenario
Data transfer
Synchronous Transfer
Asynchronous Transfer
Reading Descriptors
USB Support Routines And Structures
Common Procedures
UsbEnumerateDevices
OpenRapidUsb
IsRapidUsbOpened
CloseRapidUsb
Descriptors
UsbGetDescriptor
UsbGetDeviceDescriptor
UsbGetStringDescriptor
UsbGetConfigDescriptor
UsbFreeConfigDescriptor
UsbGetInterfaceDescriptor
UsbFreeInterfaceDescriptor
UsbGetEndpointDescriptor
Configure Device
UsbGetDeviceInfo
UsbUnconfigureDevice
UsbSelectConfig
UsbGetConfig
UsbSelectInterface
UsbGetInterface
UsbResetDevice
UsbGetBandwidthInfo
UsbCyclePort
Features and Status
UsbSetFeature
UsbClearFeature
UsbGetStatus
Vendor/Class Requests
UsbVendorRequestIn
UsbVendorRequestOut
UsbClassRequestIn
UsbClassRequestOut
Pipes
IsRapidUsbPipeOpened
UsbPipeOpen
UsbPipeClose
UsbGetPipeCount
UsbPipeGetInfo
UsbPipeDirectionIn
UsbPipeGetType
UsbTransfer
UsbTransferAsync
TRANSFER_COMPLETION_ROUTINE
UsbCancelTransfer
UsbPipeReset
UsbPipeAbort
Other
UsbGetPortStatus
UsbGetCurrentFrameNumber
USB Structures and Types
RDUSB_DEVICE_INFORMATION
RDUSB_PIPE_INFORMATION
RDUSB_PIPE_TYPE
RDUSB_BANDWIDTH_INFORMATION
IsRapidUsbPipeOpened
Go to RapidDriver Main Page


Language

Description

C/C++
BOOL IsRapidUsbPipeOpened(IN USB_PIPE_HANDLE hPipe);

Delphi
function IsRapidUsbPipeOpened(hPipe : USB_PIPE_HANDLE) : BOOL; stdcall;

VB
Function IsRapidUsbPipeOpened (ByVal hPipe As Long) As Boolean



Parameters
 
hPipe  
Specifies pipe handle. This handle can be obtained with OpenRapidUsb.  

Return Value
 
Function returns TRUE if pipe is opened.  

Description
 
Call this function to check if hPipe is handle of opened USB device pipe. You cannot perform any transfer or other pipe operation if this function returns FALSE. To make pipe active call UsbPipeOpen function.