EVT_UCX_USBDEVICE_SUSPEND callback function

UCX invokes this callback function to send a device suspend state.

Syntax

EVT_UCX_USBDEVICE_SUSPEND EvtUcxUsbdeviceSuspend;

void EvtUcxUsbdeviceSuspend(
  UCXCONTROLLER UcxController,
  UCXUSBDEVICE UcxUsbDevice
)
{...}

Parameters

UcxController

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

UcxUsbDevice

A handle to a UCX object that represents the USB device that the client driver received in a previous call to the UcxUsbDeviceCreate method.

Return Value

This callback function does not return a value.

Remarks

The UCX client driver registers its implementation with the USB host controller extension (UCX) by calling the UcxUsbDeviceCreate method.

Requirements

   
Windows version Windows 10, version 1709 Windows Server 2016
Target Platform Windows
Minimum KMDF version 1.0
Minimum UMDF version 2.0
Header ucxusbdevice.h (include Ucxclass.h)
IRQL PASSIVE_LEVEL