UsbDescriptor クラス

定義

記述子の種類、そのサイズ (バイト単位) に関する情報を提供し、記述子データを取得します。

public ref class UsbDescriptor sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class UsbDescriptor final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class UsbDescriptor
Public NotInheritable Class UsbDescriptor
継承
Object Platform::Object IInspectable UsbDescriptor
属性

Windows の要件

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

注釈

USB デバイスは、USB 記述子と呼ばれるデータ構造内のそれ自体に関する情報を提供します。 ユニバーサル シリアル バス (USB) 仕様のセクション 9.5 を参照してください。

プロパティ

DescriptorType

記述子の型を取得します。

Length

記述子の長さを取得します。

メソッド

ReadDescriptorBuffer(IBuffer)

呼び出し元が指定したバッファー内の記述子データを読み取ります。

適用対象

こちらもご覧ください