Search code examples
c++comwinapiwmpvisualizer

Enumerating and using wmp visualizers


I want to use the systems available windows media player visualizers in my app. Apperently visualizers expose an IWMPEffects interface to the world. My question is how do I enumerate and create instances to the available visualizers on my system? Probably it's just a process of getting the cslid of the visualizers and then create the instance with CoCreateInstance. However I have no idea how to get these clsid's!

Thanks!


Solution

  • The CLSIDs of the objects that implement IWMPEffects are stored as subkeys of HKLM\SOFTWARE\Microsoft\MediaPlayer\Objects\Effects.