LibUsbDotNet 2.2.8
OpenEndpointReader Method (readEndpointID, readBufferSize, endpointType)
Library ReferenceLibUsbDotNetUsbDeviceOpenEndpointReader(ReadEndpointID, Int32, EndpointType)
LibUsbDotNet on SourceForge
Opens an endpoint for reading
Declaration Syntax
C#Visual BasicVisual C++
public virtual UsbEndpointReader OpenEndpointReader(
	ReadEndpointID readEndpointID,
	int readBufferSize,
	EndpointType endpointType
)
Public Overridable Function OpenEndpointReader ( _
	readEndpointID As ReadEndpointID, _
	readBufferSize As Integer, _
	endpointType As EndpointType _
) As UsbEndpointReader
public:
virtual UsbEndpointReader^ OpenEndpointReader(
	ReadEndpointID readEndpointID, 
	int readBufferSize, 
	EndpointType endpointType
)
Parameters
readEndpointID (ReadEndpointID)
Endpoint number for read operations.
readBufferSize (Int32)
Size of the read buffer allocated for the DataReceived event.
endpointType (EndpointType)
The type of endpoint to open.
Return Value
A UsbEndpointReader class ready for reading. If the specified endpoint is already been opened, the original UsbEndpointReader class is returned.

Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: 2.2.8.104 (2.2.8.104)