Eric Pouech eric.pouech@wanadoo.fr writes:
+BOOL WINAPI EnumerateLoadedModulesW64(HANDLE hProcess,
PENUMLOADED_MODULES_CALLBACKW64 E=
numLoadedModulesCallback,
PVOID UserContext)
+{
- struct enum_load_mod64_W64 x;
- x.cb =3D EnumLoadedModulesCallback;
- x.user =3D UserContext;
- return EnumerateLoadedModules64(hProcess, enum_load_mod64_W64, &x);
You should make the A function call the W one, not the other way around.