UdecxUsbDeviceSetFunctionSuspendAndWakeComplete function (udecxusbdevice.h)

Completes an asynchronous request for changing the power state of a particular function of a virtual USB 3.0 device.

Syntax

void UdecxUsbDeviceSetFunctionSuspendAndWakeComplete(
  [in] UDECXUSBDEVICE UdecxUsbDevice,
  [in] NTSTATUS       CompletionStatus
);

Parameters

[in] UdecxUsbDevice

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

[in] CompletionStatus

An appropriate NTSTATUS error code that indicates the success or failure of the asynchronous operation.

Return value

None

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