[wdmaudiodev] Keep a stream running while reconfigure PORTCLS

  • From: "K. Weller" <wdmaudio@xxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Mon, 28 Sep 2020 15:18:03 +0200

Hi all,


my driver will unregister ( UnregisterPhysicalConnection &&
IUnregisterSubdevice ) and re-install the subedevice and register
(PcRegisterPhysicalConnection) the connection during runtime. So the
miniport driver will be reconfigured.
It can happen that there is a playback stream at the same time, which
should resume again after the port is re-configured and re-registered.
Is there a way how I can “fake” that the driver is still there and pause
the stream somehow for example, during my re-configuration?
I’m thinking about hooking into the IRP_MJ_DEVICE_CONTROL for example
IOCTL_KS_PROPERTY or IOCTL_KS_WRITE_STREAM etc.
But I’m not sure if this is the why how to do it.

Best regards,
K. Weller

******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

Other related posts:

  • » [wdmaudiodev] Keep a stream running while reconfigure PORTCLS - K. Weller