This category includes the following APIs:
File APIs provide a system for monitoring which file, device, and pipe resources are opened on a server and for closing one of these resources if necessary. They are used with the SHARES.H and NETCONS.H header files.
NetFileGetInfo2 returns information about one particular opening of a resource. Two levels of detail are available: (1) the identification number assigned to the resource when it was opened (level 2), and (2) additional data on permissions, file locks, and who opened the resource (level 3).
NetFileClose2 forces a resource closed when a system error prevents normal closure by the DosClose function.