Bewerken

Delen via


EVT_UCX_USBDEVICE_SUSPEND callback function (ucxusbdevice.h)

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

Syntax

EVT_UCX_USBDEVICE_SUSPEND EvtUcxUsbdeviceSuspend;

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

Parameters

[in] UcxController

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

[in] 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

None

Remarks

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

Requirements

Requirement Value
Minimum supported client Windows 10, version 1709
Minimum supported server 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