Use API such as:
- CreateToolhelp32Snapshot
- Module32First
- Module32Next
or from PSAPI:
- EnumProcessModules
- GetModuleFileNameEx
to obtain information regarding the modules loaded in foreign process. If you are injected just use GetModuleHandle.
i don`t undestand ^^ can you help on teamwiever