UcxDefaultEndpointInitSetEventCallbacks function (ucxendpoint.h)
Initializes a UCXENDPOINT_INIT structure with client driver's event callback functions related to the default endpoint.
Syntax
void UcxDefaultEndpointInitSetEventCallbacks(
PUCXENDPOINT_INIT EndpointInit,
PUCX_DEFAULT_ENDPOINT_EVENT_CALLBACKS EventCallbacks
);
Parameters
EndpointInit
A pointer to a UCXENDPOINT_INIT structure that UCX passes when it invokes the client driver's EVT_UCX_USBDEVICE_DEFAULT_ENDPOINT_ADD event callback function.
EventCallbacks
A pointer to a UCX_ENDPOINT_EVENT_CALLBACKS structure that contains function pointer to event callback functions related to the endpoint. The client driver initializes the structure by calling UCX_ENDPOINT_EVENT_CALLBACKS_INIT.
Return value
None
Remarks
The client driver calls this method to set function pointers to its event callback functions just before calling UcxEndpointCreate to create the default endpoint.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 |
Target Platform | Windows |
Minimum KMDF version | 1.0 |
Minimum UMDF version | 2.0 |
Header | ucxendpoint.h (include Ucxclass.h, Ucxendpoint.h) |