diff --git a/misc/toolhelp.c b/misc/toolhelp.c index 8541336ac1a502b3086cacf0a3600b151b8a7cc3..0455d9b0466d1453014a7b1d7042eefe6c0b19e6 100644 --- a/misc/toolhelp.c +++ b/misc/toolhelp.c @@ -187,3 +187,25 @@ BOOL WINAPI Process32Next(HANDLE hSnapshot, LPPROCESSENTRY lppe) { return TOOLHELP_Process32Next( hSnapshot, lppe, FALSE ); } + +/*********************************************************************** + * Module32First (KERNEL32.527) + * + * Return info about the "first" module in a toolhelp32 snapshot + */ +BOOL WINAPI Module32First(HANDLE hSnapshot, LPMODULEENTRY lpme) +{ + FIXME(toolhelp,"(%d,%p),stub!\n",hSnapshot,lpme); + return FALSE; +} + +/*********************************************************************** + * Module32Next (KERNEL32.528) + * + * Return info about the "next" module in a toolhelp32 snapshot + */ +BOOL WINAPI Module32Next(HANDLE hSnapshot, LPMODULEENTRY lpme) +{ + FIXME(toolhelp,"(%d,%p),stub!\n",hSnapshot,lpme); + return FALSE; +} diff --git a/relay32/kernel32.spec b/relay32/kernel32.spec index ce923bd59d71640f24d7b1f4e7569164bdc519ae..99e25cae73ba0d45cc44b7f9ae75464e36f5ea6e 100644 --- a/relay32/kernel32.spec +++ b/relay32/kernel32.spec @@ -542,8 +542,8 @@ init MAIN_KernelInit 524 stdcall MapSLFix(long) MapSLFix 525 stdcall MapViewOfFile(long long long long long) MapViewOfFile 526 stdcall MapViewOfFileEx(long long long long long ptr) MapViewOfFileEx -527 stub Module32First -528 stub Module32Next +527 stdcall Module32First(long ptr) Module32First +528 stdcall Module32Next(long ptr) Module32Next 529 stdcall MoveFileA(str str) MoveFileA 530 stdcall MoveFileExA(str str long) MoveFileExA 531 stdcall MoveFileExW(wstr wstr long) MoveFileExW