UdecxUsbDeviceSignalFunctionWake function (udecxusbdevice.h)

Initiates wake up of the specified function from a low power state. This applies to virtual USB 3.0 devices.

Syntax

void UdecxUsbDeviceSignalFunctionWake(
  [in] UDECXUSBDEVICE UdecxUsbDevice,
  [in] ULONG          Interface
);

Parameters

[in] UdecxUsbDevice

A handle to UDE device object. The client driver retrieved this pointer in the previous call to UdecxUsbDeviceCreate.

[in] Interface

This value is the bInterfaceNumber of the interface that is waking up.

Return value

None

Remarks

The client driver for the device must have enabled wake capability in the most recent EVT_UDECX_USB_DEVICE_SET_FUNCTION_SUSPEND_AND_WAKE call.

If the device is in a low power state, or going to such a state, this call also wakes up the entire device.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Windows
Minimum KMDF version 1.15
Header udecxusbdevice.h (include Udecx.h)
Library Udecxstub.lib
IRQL PASSIVE_LEVEL

See also

Architecture: USB Device Emulation (UDE)

EVT_UDECX_USB_DEVICE_SET_FUNCTION_SUSPEND_AND_WAKE

Write a UDE client driver