Extended file information

This is a discussion on Extended file information within the Windows Programming forums, part of the Platform Specific Boards category; Is there a way to determine what files are being accessed by running processes on a system (when enumerating them ...

Extended file information

Is there a way to determine what files are being accessed by running processes on a system (when enumerating them via EnumProcesses)? I want to see how many, and which ones are being accessed by the running programs.

All I need is a function or website to start. I have been unable to find anything that could help me so far. Is this even possible, I imagine that it is since opening files creates a handle in windows so there must be a way to access that list? Or at least access the different file handle lists of each program?