title: Can I play an audio (or audio/video) file from a DLL written in C++?
body: <p>We want to play audio (and video) files from a DLL.  RenderSharedEvent/TimerDriven works, but for a number of reasons we prefer to do playback at a higher level- Media Foundation, or even the deprecated MediaPlay or waveOut functions would work.  However, so far I'm not seeing the callbacks, and they seem to be a critical part of the process.</p>
  
  <p>Is that because they don't work from a DLL, or is there something I'm missing?  I remember it used to be impossible to use waveOut from a DLL, but I assumed the new frameworks would support a DLL.</p>