title: Identify process using a file
body: <p>I have been trying to figure out how to programmatically identify the process that has a lock on a particular file.  I've searched through the Win32 API and WMI, but so far I can't find anything.  I know it's possible - Sysinternals is able to list every resource accessed/locked by every process on the system.</p>
  
  <p>Can anyone drop me a hint?</p>