title: How do I make Visual Studio 2010 include Windows DDK 7.1.0 files properly?
body: <p>I'm trying to build a VS 2008 project written by someone else who is currently AWOL in VS2010. I need help with the WinDDK includes, particularly with hidsdi.h.</p>
  
  <p>I've installed the WinDDK and VS2010 on a clean install of Win7. In Properties -> VC++ Directories -> Include Directories, I have added C:\WinDDK\7600.16385.1\inc\api, as well as \ddk and \crt. In Properties -> VC++ Directories -> Library Directories, I have added C:\WinDDK\7600.16385.1\lib\win7\i386.</p>
  
  <p>However, when I attempt to build the project, I get repeated instances of 
  "error C3861: 'HidD_SetOutputReport': identifier not found" and "error C3861: 'HidD_GetInputReport': identifier not found</p>
  
  <p>I opened up <code>hidsdh.h</code> from the following code block:</p>
  
  <pre><code>extern "C" 
  {
  #include "setupapi.h" 
  #include "hidsdi.h" 
  }
  </code></pre>
  
  <p>And the functions listed in the error reports are present within the header file in question. Clearly, I'm doing something wrong with the include paths. Some assistance would be greatly appreciated.</p>