// usbioctl.h
// CTL_CODE(0x0049, 0x002, METHOD_NEITHER, FILE_ANY_ACCESS)
#define IOCTL_INTERNAL_USB_REQUEST_REMOTE_WAKE_NOTIFICATION 0x0049000B
View the official Windows Driver Kit DDI referenceNo description available.
The IOCTL_INTERNAL_USB_REQUEST_REMOTE_WAKE_NOTIFICATION I/O request is sent by the driver of a Universal Serial Bus (USB) multi-function device (composite driver) to request remote wake-up notifications from a specific function in the device.
IOCTL_INTERNAL_USB_REQUEST_REMOTE_WAKE_NOTIFICATION is a kernel-mode I/O control request. This request targets the USB hub physical device object (PDO).
IRP_MJ_INTERNAL_DEVICE_CONTROL
Parameters.Others.Argument1 points to a caller-allocated and initialized REQUEST_REMOTE_WAKE_NOTIFICATION structure that contains information about the function whose resume signal the driver is interested in. That information includes the function handle and the interface with which the function is associated.
The size of a REQUEST_REMOTE_WAKE_NOTIFICATION structure.
None.
None.
The hub or port driver sets Irp->IoStatus.Status to STATUS_SUCCESS or the appropriate error status.
How to Implement Function Suspend in a Composite Driver