Use simple Winapi functions in tandem with some library of regular expressions. You need to list the windows on your system (get their descriptors HWND), then take their captions and save them in std::strings. The next step is to check whether your title matches some regular expression (for example, it can be boost::regexor boost::xpressive) - so you will need to maintain a regular expression database for all possible multimedia file headers.
, , . , , , Winapi (, mpc.exe winamp.exe). ( ) . , process name - caption regex .
( ), - .. ..