Opens an endpoint for writing
Declaration Syntax
C# | Visual Basic | Visual C++ |
public override UsbEndpointWriter OpenEndpointWriter( WriteEndpointID writeEndpointID, EndpointType endpointType )
Public Overrides Function OpenEndpointWriter ( _ writeEndpointID As WriteEndpointID, _ endpointType As EndpointType _ ) As UsbEndpointWriter
public: virtual UsbEndpointWriter^ OpenEndpointWriter( WriteEndpointID writeEndpointID, EndpointType endpointType ) override
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.