win32process.EnumProcessModulesEx

(long,....) = EnumProcessModulesEx(hProcess, FilterFlag )

Lists 32 or 64-bit modules load by a process

Parameters

hProcess : PyHANDLE

Process handle as returned by OpenProcess

FilterFlag=LIST_MODULES_DEFAULT : int

Controls whether 32 or 64-bit modules are returned

Comments

Requires Vista or later