Language
|
Description
|
C/C++
|
BOOL UsbPipeDirectionIn(IN USB_PIPE_HANDLE hPipe,
|
Delphi
|
function UsbPipeDirectionIn(hPipe : USB_PIPE_HANDLE;
var DirectionIn : BOOL) : BOOL; stdcall;
|
VB
|
Function UsbPipeDirectionIn (ByVal hPipe As Long, _
ByRef pDirectionIn As Integer) As Boolean
|
Parameters
| Specifies pipe handle. This handle can be obtained with UsbPipeOpen.
|
| Pointer to boolean variable storing TRUE if pipe handles data from device to host (direction IN) or FALSE if pipe sends data from host to device (OUT).
|
Return Value
| If function fails or pipe type is control the return value is FALSE. To detect error call GetLastError function.
| Description
| Call this function to get pipe direction.
|
|