[wdmaudiodev] Re: Rebuild audio endpoint set after a topology change

  • From: Eugene Muzychenko <emuzychenko@xxxxxxxxx>
  • To: Mitchell Rundle <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Wed, 21 Mar 2007 01:40:04 +0600

Hello Mitchell,

> The audioendpointbuilder service will re-examine the topology if it
> gets a pnp device notification.  You can trigger this by
> unregistering then reregistering the device interface.  See
> IUnregisterSubdevice in portcls.h.

In other words, such notification is triggered by the
IUnregisterSubdevice interface only? My driver calls
PcRegisterSubdevice to register a topology miniport and releases the
ITopologyMiniport interface before unload. Endpoint list persists when
the driver is restarted with a different topology configuration.

I could use IUnregisterSubdevice to run-time topology change, without
driver restart. But it I want to restart the driver with a different
topology configuration, how can I trigger the notification? Or using
IUnregisterSubdevice before releasing ITopologyMiniport on a driver
unload sequence could help?



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


Other related posts: