How can I allocate a system set-power IRP

DDK says that we can use PoRequestPowerIrp to allocate an private IRP instead of IoAllocateIrp. But PoRequestPowerIrp can only allocate a Device set-power IRP. How can I allocate a new system set-power IRP?

>power IRP. How can I allocate a new system set-power IRP?

You cannot. There is only 1 such IRP allocated by Power Manager itself.


Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com