完成一个异步请求,用于更改虚拟 USB 3.0 设备的特定函数的电源状态。
语法
void UdecxUsbDeviceSetFunctionSuspendAndWakeComplete(
[in] UDECXUSBDEVICE UdecxUsbDevice,
[in] NTSTATUS CompletionStatus
);
参数
[in] UdecxUsbDevice
UDE 设备对象的句柄。 客户端驱动程序在上一次调用 UdecxUsbDeviceCreate中检索了此指针。
[in] CompletionStatus
相应的 NTSTATUS 错误代码,指示异步作的成功或失败。
返回值
没有
要求
要求 | 价值 |
---|---|
最低支持的客户端 | Windows 10 |
支持的最低服务器 | Windows Server 2016 |
目标平台 | 窗户 |
最低 KMDF 版本 | 1.15 |
标头 | udecxusbdevice.h (包括 Udecx.h) |
库 | Udecxstub.lib |
IRQL | PASSIVE_LEVEL |