Skip to content

Latest commit

 

History

History
5 lines (4 loc) · 349 Bytes

readme.md

File metadata and controls

5 lines (4 loc) · 349 Bytes

Listing currently open folders using low-level approach.

  • Open a handle to explorer.exe with PROCESS_DUP_HANDLE and PROCESS_QUERY_INFORMATION rights.
  • Get list of names with open windows related to explorer.exe
  • Iterate through handles, duplicate each one that belongs to explorer, check if it is a File Object and also in the window list.