Share via


UsbBulkInEndpointDescriptor Class

Definition

The endpoint descriptor for a USB bulk IN endpoint. The descriptor specifies the endpoint type, direction, number and also the maximum number of bytes that can be read from the endpoint, in a single transfer.

public ref class UsbBulkInEndpointDescriptor sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class UsbBulkInEndpointDescriptor final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class UsbBulkInEndpointDescriptor
Public NotInheritable Class UsbBulkInEndpointDescriptor
Inheritance
Object Platform::Object IInspectable UsbBulkInEndpointDescriptor
Attributes

Windows requirements

Requirements Description
Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

JavaScript (Usage)

var descriptorBulkInEp = device.defaultInterface.descriptors.getAt(1);
var usbEndpointDescriptor = Windows.Devices.Usb.UsbEndpointDescriptor.parse(descriptorBulkInEp);
var usbBulkInEndpointDescriptor = usbEndpointDescriptor.asBulkInEndpointDescriptor();

Properties

Name Description
EndpointNumber

Gets the USB endpoint number of the bulk IN endpoint.

MaxPacketSize

Gets the maximum number of bytes that can be sent to or received from this endpoint, in a single packet.

Pipe

Gets the object that represents the pipe that the host opens to communicate with the bulk IN endpoint.

Applies to