win_process_modules(-FileNames)This predicate is a wrapper around EnumProcessModules(). FileNames 
is unified with a list of absolute paths for all modules of the 
Windows process. Modules are the main executable file and all DLLs 
loaded into the process, except data DLLs. The 
returned file names are in canonical Prolog representation. This 
predicate may be used to debug loading a DLL from an unexpected location 
and as a helper for packaging all dependencies when creating a 
distribution. According to the Windows documentation this API may return 
incorrect results if DLLs are loaded or unloaded while
EnumProcessModules() is in progress. See also qsave_program/2.