title: Camera media source with media foundation - MS Sample code doesn't compile with Visual Studio 2013
body: <p>I tried compiling <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/dd317912(v=vs.85).aspx" rel="nofollow">this sample code</a> with Visual Studio 2013 for Win64 (on Windows 8.1).
  I included mfapi.h and mfidl.h. However it gets compilation errors with identifiers not found for example:</p>
  
  <p>MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE
  MFEnumDeviceSources</p>
  
  <p>I googled, and saw mention of these features being windows 7+ specific and of a VS "platform toolset" property which is required to enable them - but this property doesn't seem to exist in VS 2013.</p>
  
  <p>Any suggestions?</p>