hi every body
i am beginner in kmdf driver.
i want to disable sound input signal (from webcam microphone, from Line input or Microphone input of a sound card, from usb microphone and etc) through kmdf filter driver. but I have no idea how to do it ?
sorry for my poor English.
Thanks
Vahid
xxxxx@gmail.com wrote:
i am beginner in kmdf driver.
i want to disable sound input signal (from webcam microphone, from Line input or Microphone input of a sound card, from usb microphone and etc) through kmdf filter driver. but I have no idea how to do it ?
Why on earth would you think of a kernel driver for this? Don’t EVER do
anything in kernel mode that can be done just as well in user mode. In
this case, you can use the well-documented WASAPI audio APIs to manage
the volume and mute settings for whatever audio devices you need.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
Hi , Thanks for the reply Mr Roberts.
This is a task for the university classroom and must be done on the kernel mode.
If you have any solution to do that, I will be grateful.
Vahid
xxxxx@gmail.com wrote:
This is a task for the university classroom and must be done on the kernel mode.
If you have any solution to do that, I will be grateful.
Frankly, I find that rather hard to believe. A university course in
Windows kernel drivers? And Kernel Streaming drivers are among the
trickier drivers to filter, because the ioctls are all METHOD_NEITHER
and do not follow any particularly sensible rules.
You can certainly install a device upper filter on your microphone
device and fail all of the open calls. Any of the filter driver samples
will get you a start on that. If you need to filter based on content,
then you have a huge job ahead of you.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
Finally I succeeded.
Thanks for the reply Roberts