How to enum modules in a 64bit process from a 32bit WOW process
问题 I have a requirement to retrieve all modules of a 64bit process in a 32bit WOW process in Windows, EnumProcessModules would fail as described: If this function is called from a 32-bit application running on WOW64, it can only enumerate the modules of a 32-bit process. If the process is a 64-bit process, this function fails and the last error code is ERROR_PARTIAL_COPY (299). So as to EnumProcessModulesEx and CreateToolhelp32Snapshot. Do you have any idea on how to achieve it? Thanks. 回答1: