NetFileEnum2 or Net32FileEnum2

The NetFileEnum2 API supplies information about some or all open files on the server, allowing the user to supply a key to get the required information through iterated calls to the API.

The NetFileEnum2 API replaces the NetFileEnum API, which is now obsolete.