karthiksharmasg@xxxxxxx wrote: > > I have created an device in the MSVAD, and the device > driver is working very good with my application, but only one problem > is i am not able to delete the device what i have created (it > requires restart after uninstalling the driver), i.e, for me Unload is > not beeing called, > I know that Unload to be called, > 1. Their should be no IRp pending > 2. Driver entry should not return error code(false) > > In my case both are working properly but i dont know why Unload is not > beeing called. > can any one put some light on this issue. Are you on Vista? On Vista, it seems that the audio engine process sometimes instantiates an audio driver and forgets to release it. I've especially found this if I ever bring up Control Panel. I suspect it comes from displaying the little vu meters. (By the way, you don't have to set your own Unload handler. PcInitializeAdapterDriver calls KsInitializeDriver, which automatically installs a simple unload handler.) -- Tim Roberts, timr@xxxxxxxxx Providenza & Boekelheide, Inc. ****************** 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/