- Code: Select all Expand view RUN
- // m.dwSize = sizeof(MODULEENTRY32);
if (good)
starttime = GetTickCount();
if (module_first(handle, ( LPMODULEENTRY32 ) &m))
do
RAND_add(&m, sizeof(MODULEENTRY32), 9);
while (module_next(handle, ( LPMODULEENTRY32 ) &m)
&& (!good
|| (GetTickCount() - starttime) < MAXDELAY));
if (close_snap)
close_snap(handle);
else
CloseHandle(handle);