title: Why can't I find cfgmgr32.lib in the Windows SDK?
body: <p>I'm trying to use the Configuration Manager API, e.g., <a href="http://msdn.microsoft.com/en-us/library/ff538405%28v=vs.85%29.aspx" rel="nofollow">CM_Get_Device_ID</a>.  The documentation says to link to <code>cfgmgr32.lib</code>.</p>
  
  <p>However, when I do this, I get an error message from the linker:</p>
  
  <blockquote>
    <p>Error 1   error LNK1104: cannot open file 'cfgmgr32.lib'</p>
  </blockquote>
  
  <p>I can't find <code>cfgmgr32.lib</code> anywhere in the Windows SDK.</p>
  
  <p>If I leave out <code>cfgmgr32.lib</code> I get unresolved external symbol errors.</p>
  
  <p>How can I use the Configuration Manager API?</p>