Hello Lee Laborczfalvi , your vista approach sounds interesting.I once did something similar: instead of unregistering each subdevice I wrote a user mode program which did reload the complete driver. So I dont have to modifiy my driver very much, expecially I dont have to change the unregisterring which is done by the os. I dont need an extra IOCTL.
The disadvantage of my approach is that it takes very long since all devices have been updated (about some minutes). I could watch the devices disapear one after each other and appear again in the control panel. After all devices have disapeared there is a pause, I have to wait for a minute or so before
they apear again (I used a quad core computer for testing).But basically my approach worked. I could change the default samplerate that way.
Your approach may be a little bit faster since you dont need to reload the complete driver. Please let me know if you make progress.
/Uwe Lee Laborczfalvi schrieb:
I am working on modifying the MSVAD sample driver (simple) running on Windows Vista in order to allow the Wave and Topology subdevices to be registered in response to an IOCTL sent from a user mode process. This is to provide dynamic subdevice creation functionality. I am also adding functionality to unregister the devices when a second IOCTL is received.
****************** 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/