We have a customer that uses a recording app that is implemented as a
service. The problem is that they get BSOD on shutdown. From the logs I
can see that the streams are still running when our
IAdapterPowerManagement::PowerChangeState() gets called.
The documentation states that PortCls will pause any running streams before calling PowerChangeState() so is it expected that this would not be the case for a service?
I've asked the customer to modify their service code to handle SERVICE_CONTROL_SHUTDOWN and stop recorders but I suspect I may need to handle this case anyway.
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
URL to WDMAUDIODEV page: