typedef struct _SYSTEM_MODULE_INFORMATION {
ULONG ModulesCount;
SYSTEM_MODULE Modules[0];
} SYSTEM_MODULE_INFORMATION, *PSYSTEM_MODULE_INFORMATION;
See SYSTEM_MODULE for details. See NtQuerySystemInformation with SystemModuleInformation class for global module enumeration. See LdrQueryProcessModuleInformation for process module enumeration.