UdecxUsbEndpointInitSetEndpointAddress 関数 (udecxusbendpoint.h)

作成する単純なエンドポイントの初期化パラメーターでエンドポイントのアドレスを設定します。

構文

void UdecxUsbEndpointInitSetEndpointAddress(
  [in, out] PUDECXUSBENDPOINT_INIT Init,
  [in]      UCHAR                  EndpointAddress
);

パラメーター

[in, out] Init

UdecxUsbSimpleEndpointInitAllocate の前の呼び出しでクライアント ドライバーが取得したUDECXUSBENDPOINT_INIT構造体へのポインター。

[in] EndpointAddress

USB で定義されたエンドポイント アドレスを指定します。 4 つの下位ビットは、エンドポイント番号を指定します。 上位ビットは、このエンドポイントでのデータ フローの方向を指定します。入力の場合は 1、出力の場合は 0 です。

戻り値

なし

必要条件

要件
サポートされている最小のクライアント Windows 10
サポートされている最小のサーバー Windows Server 2016
対象プラットフォーム Windows
最小 KMDF バージョン 1.15
Header udecxusbendpoint.h (Udecx.h を含む)
Library Udecxstub.lib
IRQL PASSIVE_LEVEL

こちらもご覧ください

アーキテクチャ:USB デバイス エミュレーション (UDE)

UdecxUsbEndpointCreate

UDE クライアント ドライバーを記述する