mirror of
https://github.com/reactos/reactos.git
synced 2024-07-10 14:45:06 +00:00
[KS]
- Store missing result of operation - Fixes a regression of KsStudio svn path=/trunk/; revision=44755
This commit is contained in:
parent
b5f2a44d75
commit
5231279bee
|
@ -741,6 +741,7 @@ KsHandleSizedListQuery(
|
|||
if (IoStack->Parameters.DeviceIoControl.OutputBufferLength == sizeof(KSMULTIPLE_ITEM))
|
||||
{
|
||||
/* buffer can only hold the length descriptor */
|
||||
Irp->IoStatus.Information = sizeof(KSMULTIPLE_ITEM);
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
@ -159,7 +159,9 @@ KsTopologyPropertyHandler(
|
|||
HANDLE hKey;
|
||||
PKEY_VALUE_PARTIAL_INFORMATION KeyInfo;
|
||||
|
||||
DPRINT("KsTopologyPropertyHandler Irp %p Property %p Data %p Topology %p\n", Irp, Property, Data, Topology);
|
||||
IoStack = IoGetCurrentIrpStackLocation(Irp);
|
||||
|
||||
DPRINT("KsTopologyPropertyHandler Irp %p Property %p Data %p Topology %p OutputLength %lu PropertyId %lu\n", Irp, Property, Data, Topology, IoStack->Parameters.DeviceIoControl.OutputBufferLength, Property->Id);
|
||||
|
||||
if (Property->Flags != KSPROPERTY_TYPE_GET)
|
||||
{
|
||||
|
@ -168,8 +170,6 @@ KsTopologyPropertyHandler(
|
|||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
IoStack = IoGetCurrentIrpStackLocation(Irp);
|
||||
|
||||
switch(Property->Id)
|
||||
{
|
||||
case KSPROPERTY_TOPOLOGY_CATEGORIES:
|
||||
|
|
Loading…
Reference in a new issue