UdecxUsbEndpointInitSetCallbacks 函式 (udecxusbendpoint.h)
在要建立之簡單端點的初始化參數中,設定 UDE 用戶端驅動程式實作回呼函式的指標。
語法
void UdecxUsbEndpointInitSetCallbacks(
PUDECXUSBENDPOINT_INIT UdecxUsbEndpointInit,
[in] PUDECX_USB_ENDPOINT_CALLBACKS EndpointCallbacks
);
參數
UdecxUsbEndpointInit
用戶端驅動程式在先前呼叫中擷取 UdecxUsbSimpleEndpointInitAllocate中擷取之 UDECXUSBENDPOINT_INIT 結構的指標。
[in] EndpointCallbacks
UDECX_USB_ENDPOINT_CALLBACKS 指標,其中包含UDE用戶端驅動程式所實作之事件回呼函式的函式指標。
傳回值
沒有
要求
要求 | 價值 |
---|---|
最低支援的用戶端 | Windows 10 |
支援的最低伺服器 | Windows Server 2016 |
目標平臺 | 窗戶 |
最低 KMDF 版本 | 1.15 |
標頭 | udecxusbendpoint.h (include Udecx.h) |
連結庫 | Udecxstub.lib |
IRQL | PASSIVE_LEVEL |