Dear, ALL!
I have a question concerning power management issues on Windows
platforms. As far as I understand there are two types of power IRPs,
one for setting system power state and another one for setting device
power state. Further investigation reveals that only device driver
itself can be the source of device-oriented power IRPs. It still need
to call PoRequestPowerIrp() function, but no one in system care about
this IRP, except the originator device driver. More of that, I redo my
driver for our USB device to do all power-management handling within
system power IRPs and everything was working fine, at least on XP
platform with different service pack options. So, there is the catch
here?
With best regards,
Vladimir S. Mirgorodsky