mirror of
https://github.com/reactos/reactos.git
synced 2024-09-07 11:19:14 +00:00
[KS]
- Return correct status code svn path=/trunk/; revision=44658
This commit is contained in:
parent
28c158a870
commit
5440b0612a
|
@ -308,7 +308,7 @@ KsTopologyPropertyHandler(
|
||||||
if (KeyInfo->DataLength + sizeof(WCHAR) > IoStack->Parameters.DeviceIoControl.OutputBufferLength)
|
if (KeyInfo->DataLength + sizeof(WCHAR) > IoStack->Parameters.DeviceIoControl.OutputBufferLength)
|
||||||
{
|
{
|
||||||
Irp->IoStatus.Information = KeyInfo->DataLength + sizeof(WCHAR);
|
Irp->IoStatus.Information = KeyInfo->DataLength + sizeof(WCHAR);
|
||||||
Status = STATUS_BUFFER_TOO_SMALL;
|
Status = STATUS_MORE_ENTRIES;
|
||||||
ExFreePool(KeyInfo);
|
ExFreePool(KeyInfo);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue