EVT_UCX_ENDPOINT_RESET - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ucxendpoint.h

EVT_UCX_ENDPOINT_RESET EvtUcxEndpointReset;

VOID EvtUcxEndpointReset(
  [in] UCXCONTROLLER UcxController,
  [in] UCXENDPOINT UcxEndpoint,
  [in] WDFREQUEST Request
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-ucxendpoint-evt_ucx_endpoint_reset)

EVT_UCX_ENDPOINT_RESET callback function

Description

The client driver's implementation that UCX calls to reset the controller's programming for an endpoint.

Parameters

UcxController [in]

A handle to the UCX controller that the client driver received in a previous call to the UcxControllerCreate method.

UcxEndpoint [in]

A handle to a UCXENDPOINT object that represents the endpoint.

Request [in]

A handle to a framework request object that the client driver completes when the reset operation is finished.

Remarks

The UCX client driver registers this callback function with the USB host controller extension (UCX) by calling the UcxEndpointCreate method.

The client driver returns completion status in the WDFREQUEST, which it might complete asynchronously.

Examples

VOID
Endpoint_EvtUcxEndpointReset(
    UCXCONTROLLER   UcxController,
    UCXENDPOINT     UcxEndpoint,
    WDFREQUEST      Request
)

{
    UNREFERENCED_PARAMETER(UcxController);
    UNREFERENCED_PARAMETER(UcxEndpoint);

    DbgTrace(TL_INFO, Endpoint, "Endpoint_EvtUcxEndpointReset");

    WdfRequestComplete(Request, STATUS_SUCCESS);
}