Finding out whether a DLL in System32 is provided by Windows

79 views Asked by At

I have a program that iterates through the DLL dependencies of another program or DLL, and I'd like to ignore DLLs provided by Windows in this list.

Obviously, "exists in system32" is too weak a criterion, because several DLLs get installed there. Is there a way to find out (from a program) whether a DLL in the system32 directory came with the Windows installation and was not installed by a third-party installer?

(I suspect the System Restore API can be used for this, so tagging appropriately, but the answer might lie elsewhere)

0

There are 0 answers