Skip to content
Permalink
Browse files

plugins: allow getModuleAddr() to enumerate 32-bit modules in WoW64 m…

…ode.
  • Loading branch information...
mkrautz committed Jul 18, 2016
1 parent af38fdb commit f63d834cd2b27f95543e956c3e0c82756bc74af2
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/mumble_plugin_win32_ptr_type.h
@@ -51,7 +51,7 @@ static inline PTR_TYPE_CONCRETE getModuleAddr(DWORD pid, const wchar_t *modname)
MODULEENTRY32 me;
PTR_TYPE_CONCRETE addr = NULL;
me.dwSize = sizeof(me);
HANDLE hSnap = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, pid);
HANDLE hSnap = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE|TH32CS_SNAPMODULE32, pid);
if (hSnap != INVALID_HANDLE_VALUE) {
BOOL ok = Module32First(hSnap, &me);

0 comments on commit f63d834

Please sign in to comment.
You can’t perform that action at this time.