Re: AVStream: DispatchShutdown handler

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi!
Thanks, Max.
>To your question. Can't you use KSDEVICE_DISPATCH::Stop? Note that I've
>never done it myself, but a wild guess is that it should be called on
>shutdown.
No. AFAK PCI device drivers never receive IRP_MN_STOP_DEVICE during
shutdown (this differs from USB and CardBus devices). So I can only operate
with IRP_MN_SET_POWER (of course if I'm a power policy owner).

WBR
Igor


.