Windows驱动
+ -

USB电源IRP自行处理PoStartNextPowerIrp

2023-01-13 24 0
 //
 // Even if a driver fails the IRP, it must nevertheless call
 // PoStartNextPowerIrp to inform the Power Manager that it
 // is ready to handle another power IRP.
 //

 PoStartNextPowerIrp(Irp);

 Irp->IoStatus.Status = ntStatus = STATUS_DELETE_PENDING;
 Irp->IoStatus.Information = 0;
 IoCompleteRequest(Irp, IO_NO_INCREMENT);
 return ntStatus;

0 篇笔记 写笔记

USB电源IRP自行处理PoStartNextPowerIrp
// // Even if a driver fails the IRP, it must nevertheless call // PoStartNextPowerIrp to inform the Power Manager that it // is ready to handle a......
作者信息
我爱内核
Windows驱动开发,网站开发
好好学习,天天向上。
取消
感谢您的支持,我会继续努力的!
扫码支持
扫码打赏,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

您的支持,是我们前进的动力!