0

is there a way to detect if video playback is running or not with Win32 API?

For audio, I can detect playback processes by:

  1. enumerate playback devices with MMDeviceEnumerator and,
  2. for each device, enumerate sessions with IaudiosessionManager.

I'd like to do the similar thing for video playback. Ideally, a method that works for any application, but if it is impossible, a method that works for specific framework (DirectShow, Media Foundation, etc.) is ok.

Thanks.

Susumu Arai
  • 279
  • 1
  • 2
  • 7

0 Answers0