title: Win32 function to tell if a file is descendant of directory
body: <p>In C++, Windows, I have 2 file paths:</p>
  
  <ul>
  <li><strong>Path1</strong>: Directory </li>
  <li><strong>Path2</strong>: File or Directory</li>
  </ul>
  
  <p>How can I tell if Path2 is a descendant of Path1?  Is there a Shell function for that?  I have searched the Shell API and could not find any.</p>
  
  <p>Note: I don't want to compare the string myself, unless there is a safe way to make the path comparable (handle short names, relative items, etc...).</p>