C # disable / disable special window / s?

I would like to know if only a specific window can be disabled. For example, I opened Firefox and two more windows. I want to disable everything related to Firefox, but not all the sound of my computer.

Is it possible? If so, how can this be done?

+3
source share
2 answers

In Vista / Windows 7: I expect there will be some kind of API that can change the volume based on each process that the audio master uses. There should be relatively direct use.

XP
, - , . XP. , :

  • API API Usermode. audioapis . , , . - -. , DirectSound DirectShow . dll , . dll .net runtime. IAT ( ) EAT ( ).
  • . , . , .

, .

0

, , , - . , , . , , -, , 100%. : , , , wmp/quick time/vlc/flash/etc. firefox, firefox / api. firefox, .

btw, os? : http://www.indev.no/?p=projects#flashmute (flashmute) , , - .

+1

Source: https://habr.com/ru/post/1775988/


All Articles