title: Multimedia control with a multimedia keyboard in C#
body: <p>I have keyboards, as well as the keyboard built into my laptop, which have multimedia keys. One of the multimedia keys is of course pause/play and it's a function of the keyboard driver that can be assigned to other keys. When it's pushed, it will pause/play iTunes, Windows Media Player, etc. depending on what my "last active" media application is.</p>
  
  <p>My question is, in C# how can I duplicate this functionality to be able to pause/play the system sound. I've looked through the API and the only thing that looked close were the winmm.dll waveOutPause and midiOutPause functions</p>