Program returns (for now only prints) handle information for every opened file by desired process at the moment. Could be used for destruction testing. This one is for Windows 8.1 . If you want to use it on previous versions change corresponding line to hFirstEntry[i].ObjectType == 28