Calling PoStartNextPowerIrp from a Bus Driver

Beginning with Windows Vista, calling PoStartNextPowerIrp is not required and call to this routine performs no power management operation. However, in Windows Server 2003, Windows XP, and Windows 2000, a bus driver must call PoStartNextPowerIrp once for every IRP_MN_QUERY_POWER or IRP_MN_SET_POWER request that the driver receives.

A bus driver always calls this routine in its DispatchPower routine, before it calls the IoCompleteRequest routine.



Send comments about this topic to Microsoft