title: Hard disk volume path to full file path
body: <p>I have an MSVC++ application that spits out the hard disk volume paths of file handles that other applications have open in the following string format:</p>
  
  <pre><code>\Device\HarddiskVolume4\Users\User\Documents\Visual Studio 2013\Projects\FileLocker\FileLocker\bin\Debug\Test.txt
  </code></pre>
  
  <p>I would like to convert these paths to full paths to these files in Windows. For example, I would like to convert the above hard disk volume path to a full Windows file path with its corresponding drive letter:</p>
  
  <pre><code>C:\Users\User\Documents\Visual Studio 2013\Projects\FileLocker\FileLocker\bin\Debug\Test.txt
  </code></pre>
  
  <p>I have looked online but I haven't found any clear resource for doing this programmatically. How can it be done?</p>