Hi All,
I am currently implementing power management based on the DDK BulkUsb
example.
I have a solution in place, that when it receives a System IRP_MN_SET_POWER
Irp it requests another Power Irp from the Power manager using
PoRequestPowerIrp(). This is identical to the DDK example.
Now, I receive the System IRP_MN_SET_POWER fine, and trace it in the
debugger to the PoRequestPowerIrp function call. It is at this point that I
want the Power Manager to send me a device IRP_MN_SET_POWER IRP that will go
through the device specific path of my power code.
The strange this is that after this call is made, I never return. I don’t
get any kind of return code. I do however receive the requested device IRP,
but the System IRP_MN_SET_POWER is never heard from again. According the DDK
docs, I should return from this call. Also, I was under the impression that
the Power manager would wait until the previous Power IRP was completed.
Any help would be greatly appreciated, cause I’m kind of stuck. This
behavior I believe is causing a later crash. When I successfully receive the
device Power IRP IRP_MN_SET_POWER, and proceed to try and pass it down to my
device, I get a crash in the NT Kernel.
Thanks
-Chris
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com