UdecxUsbDeviceInitSetStateChangeCallbacks 函式 (udecxusbdevice.h)
使用回呼函式的指標,初始化 WDF 配置的結構。
語法
void UdecxUsbDeviceInitSetStateChangeCallbacks(
[in, out] PUDECXUSBDEVICE_INIT UdecxUsbDeviceInit,
[in] PUDECX_USB_DEVICE_STATE_CHANGE_CALLBACKS Callbacks
);
參數
[in, out] UdecxUsbDeviceInit
WDF 配置結構的指標,其中包含虛擬 USB 裝置的初始化參數。 用戶端驅動程式在先前呼叫 UdecxUsbDeviceInitAllocate 中擷取此指標。
[in] Callbacks
UDECX_USB_DEVICE_STATE_CHANGE_CALLBACKS 結構的指標,其中包含用戶端驅動程式所實作之回呼函式的指標。
傳回值
沒有
要求
要求 | 價值 |
---|---|
最低支援的用戶端 | Windows 10 |
支援的最低伺服器 | Windows Server 2016 |
目標平臺 | 窗戶 |
最低 KMDF 版本 | 1.15 |
標頭 | udecxusbdevice.h (include Udecx.h) |
連結庫 | Udecxstub.lib |
IRQL | PASSIVE_LEVEL |