mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 12:29:56 +00:00
fix a psapi winetest
svn path=/trunk/; revision=36328
This commit is contained in:
parent
eb778285cf
commit
b4c9d9e321
1 changed files with 6 additions and 0 deletions
|
@ -922,6 +922,12 @@ GetModuleInformation(HANDLE hProcess,
|
|||
DWORD cb)
|
||||
{
|
||||
GET_MODULE_INFORMATION_FLAGS Flags = {FALSE, FALSE, FALSE};
|
||||
|
||||
if (cb < sizeof(MODULEINFO))
|
||||
{
|
||||
SetLastError(ERROR_INSUFFICIENT_BUFFER);
|
||||
return FALSE;
|
||||
}
|
||||
return (BOOL)InternalGetModuleInformation(hProcess, hModule, Flags, lpmodinfo, cb);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue