mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:45:50 +00:00
[kernel32] Check for valid atom, fixes the remaining eight kernel32 atom winetests
svn path=/trunk/; revision=43709
This commit is contained in:
parent
0b487b45aa
commit
5cb190acc6
1 changed files with 5 additions and 0 deletions
|
@ -302,6 +302,11 @@ InternalGetAtomName(BOOLEAN Local,
|
||||||
SetLastErrorByStatus(STATUS_BUFFER_OVERFLOW);
|
SetLastErrorByStatus(STATUS_BUFFER_OVERFLOW);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
if (!Atom)
|
||||||
|
{
|
||||||
|
SetLastErrorByStatus(STATUS_INVALID_PARAMETER);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* Check if this is a global query */
|
/* Check if this is a global query */
|
||||||
if (Local)
|
if (Local)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue