From e3e268e3d5c184253988f912d1344f4d0200d0d5 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 18 Mar 1999 17:29:40 +0000 Subject: [PATCH] Added Module32* stubs. --- misc/toolhelp.c | 22 ++++++++++++++++++++++ relay32/kernel32.spec | 4 ++-- 2 files changed, 24 insertions(+), 2 deletions(-) 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 -- 2.11.4.GIT