LibUsbDotNet 2.2.8
OpenEndpointWriter Method (writeEndpointID, endpointType)
Library Reference ► LibUsbDotNet ► IUsbInterface ► OpenEndpointWriter(WriteEndpointID, EndpointType)
|
Opens an endpoint for writing
Declaration Syntax
C# | Visual Basic | Visual C++ |
UsbEndpointWriter OpenEndpointWriter( WriteEndpointID writeEndpointID, EndpointType endpointType )
Function OpenEndpointWriter ( _ writeEndpointID As WriteEndpointID, _ endpointType As EndpointType _ ) As UsbEndpointWriter
UsbEndpointWriter^ OpenEndpointWriter( WriteEndpointID writeEndpointID, EndpointType endpointType )
Parameters
- writeEndpointID (WriteEndpointID)
- Endpoint number for read operations.
- endpointType (EndpointType)
- The type of endpoint to open.
Return Value
A UsbEndpointWriter class ready for writing. If the specified endpoint is already been opened, the original UsbEndpointWriter class is returned.