UdecxUsbDeviceLinkPowerEntryComplete - NtDoc

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

VOID UdecxUsbDeviceLinkPowerEntryComplete(
  [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-udecxusbdevicelinkpowerentrycomplete)

UdecxUsbDeviceLinkPowerEntryComplete function

Description

Completes an asynchronous request for bringing the device out of 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 bring the device from low power state and enter working state, it invokes the client driver's implementation of the EVT_UDECX_USB_DEVICE_D0_ENTRY callback function.

After the client driver has performed the necessary steps for bringing the virtual USB device to working 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_ENTRY

Write a UDE client driver