title: Is there any API to get path "C:\Documents and Settings" in windows?
body: <p>Is there any API to get path : "C:\Documents and Settings" in windows in c++?<p>
  not: C:\Documents and Settings\brianfu\My Documents.</p>
  
  <p>Many Thanks!</p>
  
  <p>Thanks for luke's solution:</p>
  
  <pre><code>GetProfilesDirectory
  </code></pre>
  
  <p>it works!</p>