How could I monitor an audio file being opened/run by another program in C++ on windows?
I've searched and the only thing I came up with is to check if the audio file is currently open, however this wouldn't be too accurate or efficient because the audio file is short and is opened multiple times. I want to catch every time it's opened.
I've read similar questions on here. But the 2 questions that were similar to my question were for Linux.