diff --git a/misc/toolhelp.c b/misc/toolhelp.c index 8541336ac1a..0455d9b0466 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 ce923bd59d7..99e25cae73b 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