mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
[NTOSKRNL]
- Use PoCallDriver when sending a power IRP svn path=/trunk/; revision=52378
This commit is contained in:
parent
8d5a792eb8
commit
aa6ff8e522
1 changed files with 1 additions and 1 deletions
|
@ -574,7 +574,7 @@ PoRequestPowerIrp(IN PDEVICE_OBJECT DeviceObject,
|
|||
*pIrp = Irp;
|
||||
|
||||
IoSetCompletionRoutine(Irp, PopRequestPowerIrpCompletion, RequestPowerItem, TRUE, TRUE, TRUE);
|
||||
IoCallDriver(TopDeviceObject, Irp);
|
||||
PoCallDriver(TopDeviceObject, Irp);
|
||||
|
||||
/* Always return STATUS_PENDING. The completion routine
|
||||
* will call CompletionFunction and complete the Irp.
|
||||
|
|
Loading…
Reference in a new issue