UsbBulkInEndpointDescriptor クラス

定義

USB bulk IN エンドポイントのエンドポイント記述子。 記述子は、エンドポイントの種類、方向、数、およびエンドポイントから読み取ることができる最大バイト数を 1 回の転送で指定します。

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
継承
Object Platform::Object IInspectable UsbBulkInEndpointDescriptor
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

注釈

JavaScript (使用法)

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

プロパティ

EndpointNumber

bulk IN エンドポイントの USB エンドポイント番号を取得します。

MaxPacketSize

1 つのパケットで、このエンドポイントとの間で送受信できる最大バイト数を取得します。

Pipe

ホストが一括 IN エンドポイントと通信するために開くパイプを表す オブジェクトを取得します。

適用対象