title: Get a process executable name from process ID
body: <p>I am currently trying to get the names of a list of programs whose pid I have.</p>
  
  <p>The program is run as administrator, but <code>GetModuleFileNameEx</code> fails with error code 5.</p>
  
  <p>I open the program with <code>OpenProcess(PROCESS_TERMINATE,PROCESS_QUERY_INFORMATION)</code> and I have the <code>SE_DEBUG_PRIVILEGE</code> enabled.</p>