EVT_UFX_DEVICE_CONTROLLER_RESET callback function (ufxclient.h)

The client driver's implementation to reset the function controller to its initial state.

Syntax

EVT_UFX_DEVICE_CONTROLLER_RESET EvtUfxDeviceControllerReset;

void EvtUfxDeviceControllerReset(
  [in]           UFXDEVICE unnamedParam1,
  [in, optional] PUFX_HARDWARE_FAILURE_CONTEXT unnamedParam2
)
{...}

Parameters

[in] unnamedParam1

The handle to a USB device object that the client driver received in a previous call to the UfxDeviceCreate.

[in, optional] unnamedParam2

A pointer to a variable-length UFX_HARDWARE_FAILURE_CONTEXT structure allocated by the client driver.

Return value

None

Remarks

The client driver for the function host controller registers its EVT_UFX_DEVICE_CONTROLLER_RESET implementation with the USB function class extension (UFX) by calling the UfxDeviceCreate method.

The client driver indicates completion of this event by calling the UfxDeviceEventComplete method.

Requirements

Requirement Value
Target Platform Windows
Minimum KMDF version 1.0
Minimum UMDF version 2.0
Header ufxclient.h
IRQL PASSIVE_LEVEL

See also

UfxDeviceCreate

UfxDeviceEventComplete