[wdmaudiodev] Re: Detecting and blocking microphone usage

  • From: Paul Jackson <mailnew4ster@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Wed, 20 Jun 2018 15:41:24 +0300

Thank you for the reply Matthew.

Correct me if I'm wrong, but the Privacy > Microphone configuration works
only for store apps for per-app access.
IAudioSessionNotification looks interesting. Will I be able to mute the
microphone session based on the requesting application?

On Wed, Jun 20, 2018 at 2:29 PM Matthew van Eerde <
dmarc-noreply@xxxxxxxxxxxxx> wrote:

Windows supports the first two natively via Start > Settings > Privacy >
Microphone; I believe there are ways to set these via group policy as well



You can write a user-mode solution for the third using the session manager
APIs – IaudioSessionManager, IAudioSessionManager2,
IAudioSessionNotification




https://blogs.msdn.microsoft.com/matthew_van_eerde/2013/09/26/getting-peak-meters-and-volume-settings-for-all-apps-and-audio-devices-on-the-system/


------------------------------
*From:* wdmaudiodev-bounce@xxxxxxxxxxxxx <wdmaudiodev-bounce@xxxxxxxxxxxxx>
on behalf of Paul Jackson <mailnew4ster@xxxxxxxxx>
*Sent:* Wednesday, June 20, 2018 1:30:04 AM
*To:* wdmaudiodev@xxxxxxxxxxxxx
*Subject:* [wdmaudiodev] Detecting and blocking microphone usage

Hi guys,

I'm trying to find a way to implement a security kernel driver (or, if not
possible, a user-mode solution) for microphone usage.

I'd like to be able to do the following:
1. Block selective applications from accessing the microphone.
2. If not possible, block all applications from using the microphone.
3. If not possible, notify the user when the microphone is being used.

Can you please shed some light on what possibilities I have?

Other related posts: