NTSYSAPI
NTSTATUS
NTAPI
NtRequestDeviceWakeup(
IN HANDLE Device
);
Routine Description:
This routine requests a WAIT_WAKE Irp on the specified handle.
If the handle is to a device object, the WAIT_WAKE irp is sent
to the top of that device's stack.
If a WAIT_WAKE is already outstanding on the device, this routine
increments the WAIT_WAKE reference count and return success.
Arguments:
Device - Supplies the device which should wake the system
Return Value:
NTSTATUS