释放由 UdecxUsbDeviceInitAllocate 调用分配的资源。
语法
VOID UdecxUsbDeviceInitFree(
[in, out] PUDECXUSBDEVICE_INIT UdecxUsbDeviceInit
);
参数
[in, out] UdecxUsbDeviceInit
指向包含虚拟 USB 设备的初始化参数的 WDF 分配结构的指针。 客户端驱动程序在上一次调用中检索到此指针,UdecxUsbDeviceInitAllocate。
返回值
没有
要求
| 要求 | 价值 |
|---|---|
| 最低支持的客户端 | Windows 10 |
| 支持的最低服务器 | Windows Server 2016 |
| 目标平台 | 窗户 |
| 最低 KMDF 版本 | 1.15 |
| 标头 | udecxusbdevice.h (包括 Udecx.h) |
| 库 | Udecxstub.lib |
| IRQL | PASSIVE_LEVEL |