AudioMon extension doesn't work on Vista/Windows 7
Stuff Happens - know about it.
Brought to you by:
cheekiemunkie,
stan050
Here's the current progress:
1. Have finally managed to create IMMDevice, IMMDeviceEnumeration and IMMDeviceCollection interfaces using mktyplib (more VB6-friendly than MIDL is)
2. Can create a MMDeviceEnumeration
3. Can create a MMDeviceCollection from it
4. Can enumerate the collection, retrieving IMMDevice objects for each item in the collection
Still to do:
1. Create the ISimpleAudioVolume interface
2. Create the IMMClientNotification interface
3. Create the missing/padded methods required
I now have a _fully working_ application which monitors both system-wide mute and volume changes. That's the good news. The bad news is that, for some reason, trying to to anything inside the OnNotify() callback event other than - bizarrely - output text to a text box inside a Windows form results in an immediate crash. So far I've tried output to a file, PostMessage() to a window in a different process and PostMessage() to a window in the same process - all without success unfortunately.