mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
- NtQueryKey should return STATUS_BUFFER_TOO_SMALL and not STATUS_BUFFER_OVERFLOW.
svn path=/trunk/; revision=8444
This commit is contained in:
parent
d6fd3dcb34
commit
9b3df405d1
1 changed files with 3 additions and 3 deletions
|
@ -944,7 +944,7 @@ NtQueryKey(IN HANDLE KeyHandle,
|
||||||
|
|
||||||
if (Length < *ResultLength)
|
if (Length < *ResultLength)
|
||||||
{
|
{
|
||||||
Status = STATUS_BUFFER_OVERFLOW;
|
Status = STATUS_BUFFER_TOO_SMALL;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -968,7 +968,7 @@ NtQueryKey(IN HANDLE KeyHandle,
|
||||||
|
|
||||||
if (Length < *ResultLength)
|
if (Length < *ResultLength)
|
||||||
{
|
{
|
||||||
Status = STATUS_BUFFER_OVERFLOW;
|
Status = STATUS_BUFFER_TOO_SMALL;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -1005,7 +1005,7 @@ NtQueryKey(IN HANDLE KeyHandle,
|
||||||
|
|
||||||
if (Length < *ResultLength)
|
if (Length < *ResultLength)
|
||||||
{
|
{
|
||||||
Status = STATUS_BUFFER_OVERFLOW;
|
Status = STATUS_BUFFER_TOO_SMALL;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue