在要创建的简单终结点的初始化参数中设置终结点的地址。
语法
VOID UdecxUsbEndpointInitSetEndpointAddress(
[in, out] PUDECXUSBENDPOINT_INIT Init,
[in] UCHAR EndpointAddress
);
参数
[in, out] Init
指向客户端驱动程序在上一次调用中检索到 UdecxUsbSimpleEndpointInitAllocate的 UDECXUSBENDPOINT_INIT 结构的指针。
[in] EndpointAddress
指定 USB 定义的终结点地址。 四个低序位指定终结点编号。 高序位指定此终结点上的数据流方向:1 表示传入,0 表示 out。
返回值
没有
要求
| 要求 | 价值 |
|---|---|
| 最低支持的客户端 | Windows 10 |
| 支持的最低服务器 | Windows Server 2016 |
| 目标平台 | 窗户 |
| 最低 KMDF 版本 | 1.15 |
| 标头 | udecxusbendpoint.h (包括 Udecx.h) |
| 库 | Udecxstub.lib |
| IRQL | PASSIVE_LEVEL |