共用方式為


UdecxUsbDeviceInitFree 函式 (udecxusbdevice.h)

釋放 UdecxUsbDeviceInitAllocate 呼叫所配置的資源。

語法

void UdecxUsbDeviceInitFree(
  [in, out] PUDECXUSBDEVICE_INIT UdecxUsbDeviceInit
);

參數

[in, out] UdecxUsbDeviceInit

WDF 配置結構的指標,其中包含虛擬 USB 裝置的初始化參數。 用戶端驅動程式在先前呼叫 UdecxUsbDeviceInitAllocate 中擷取此指標。

傳回值

沒有

要求

要求 價值
最低支援的用戶端 Windows 10
支援的最低伺服器 Windows Server 2016
目標平臺 窗戶
最低 KMDF 版本 1.15
標頭 udecxusbdevice.h (include Udecx.h)
連結庫 Udecxstub.lib
IRQL PASSIVE_LEVEL

另請參閱

架構:USB 裝置模擬 (UDE)

寫入 UDE 用戶端驅動程式