Lines Matching defs:pSystemModules
248 PRTL_PROCESS_MODULES pSystemModules;
268 pSystemModules = (PRTL_PROCESS_MODULES)pBuffer;
269 for (unsigned i = 0; i < pSystemModules->NumberOfModules; i++)
272 if (pSystemModules->Modules[i].Flags == 0)
279 strcpy(ModuleInfo.szModule, &pSystemModules->Modules[i].FullPathName[pSystemModules->Modules[i].OffsetToFileName]);
283 char *lpPath = strchr(&pSystemModules->Modules[i].FullPathName[1], '\\');
286 printf("Unexpected kernel module name %s\n", pSystemModules->Modules[i].FullPathName);
293 printf("Unexpected kernel module name %s\n", pSystemModules->Modules[i].FullPathName);
299 ModuleInfo.modBaseAddr = (BYTE *)pSystemModules->Modules[i].ImageBase;
300 ModuleInfo.modBaseSize = pSystemModules->Modules[i].ImageSize;