title: WASAPI + windows store app initialization
body: <p>I am trying to write a program which captures your speech applies my effect on the captured audio and play it back immediately. I am writing this app to the windows store in c++. After suffering with MediaCapture I decided to use WASAPI to do that. I am using an example from the msdn to set up <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/dd316756%28v=vs.85%29.aspx" rel="nofollow">WASAPI</a>. As I expected I ran into a problem very soon. So the problem is with the following two lines:</p>
  
  <pre><code>const CLSID CLSID_MMDeviceEnumerator = __uuidof(MMDeviceEnumerator);
  const IID IID_IMMDeviceEnumerator = __uuidof(IMMDeviceEnumerator);
  </code></pre>
  
  <p>The visual studio says that:</p>
  
  <pre><code>Error: operand of __uuidof must have a class or enum type for which __declspec(uuid('..')) has been specified.
  </code></pre>
  
  <p>I haven't got any idea what it means. I would appreciate some help here.</p>