mirror of
https://github.com/reactos/reactos.git
synced 2024-09-13 06:11:59 +00:00
- Fix 2 bugs:
- The Category member is LPGUID not GUID - Check if there is a category member svn path=/trunk/; revision=43201
This commit is contained in:
parent
6dbd846a42
commit
eaf6203af2
|
@ -378,8 +378,11 @@ KsPinPropertyHandler(
|
||||||
Irp->IoStatus.Status = STATUS_BUFFER_TOO_SMALL;
|
Irp->IoStatus.Status = STATUS_BUFFER_TOO_SMALL;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (Descriptor[Pin->PinId].Category)
|
||||||
|
{
|
||||||
|
RtlMoveMemory(Buffer, Descriptor[Pin->PinId].Category, sizeof(GUID));
|
||||||
|
}
|
||||||
|
|
||||||
RtlMoveMemory(Buffer, &Descriptor[Pin->PinId].Category, sizeof(GUID));
|
|
||||||
Irp->IoStatus.Status = STATUS_SUCCESS;
|
Irp->IoStatus.Status = STATUS_SUCCESS;
|
||||||
Irp->IoStatus.Information = Size;
|
Irp->IoStatus.Information = Size;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue