UdecxUsbDeviceLinkPowerExitComplete - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// udecxusbdevice.h

VOID UdecxUsbDeviceLinkPowerExitComplete(
  [in] UDECXUSBDEVICE UdecxUsbDevice,
  [in] NTSTATUS       CompletionStatus
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-udecxusbdevice-udecxusbdevicelinkpowerexitcomplete)

UdecxUsbDeviceLinkPowerExitComplete function

Description

Completes an asynchronous request for sending the device to a low power state.

Parameters

UdecxUsbDevice [in]

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

CompletionStatus [in]

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

Remarks

When the USB device emulation class extension (UdeCx) gets a request to send the device to a low power state, it invokes the client driver's implementation of the EVT_UDECX_USB_DEVICE_D0_EXIT callback function.

After the client driver has performed the necessary steps for sending the virtual USB device to low power state, the driver calls this method to notify the class extension that it has completed the power request.

See also

Architecture: USB Device Emulation (UDE)

EVT_UDECX_USB_DEVICE_D0_EXIT

Write a UDE client driver