Handling Unsupported or Unrecognized Power IRPs
If a driver does not support a particular power IRP, it must nevertheless pass the IRP down the device stack to the next-lower driver. A driver further down the stack might be prepared to handle the IRP and must have the opportunity to do so.
To pass an unsupported or unrecognized power IRP, a driver should call the following routines in the sequence that is described in Passing Power IRPs:
In Windows 7 and Windows Vista, call IoSkipCurrentIrpStackLocation and IoCallDriver.
In Windows Server 2003, Windows XP, and Windows 2000, call PoStartNextPowerIrp, IoSkipCurrentIrpStackLocation, and PoCallDriver.
The driver should not change anything in the IRP before passing the IRP down a device stack.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for