From eaf6203af239620bb6210247f1cf2f9e38219add Mon Sep 17 00:00:00 2001 From: Johannes Anderwald Date: Mon, 28 Sep 2009 10:38:23 +0000 Subject: [PATCH] - Fix 2 bugs: - The Category member is LPGUID not GUID - Check if there is a category member svn path=/trunk/; revision=43201 --- reactos/drivers/ksfilter/ks/connectivity.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/reactos/drivers/ksfilter/ks/connectivity.c b/reactos/drivers/ksfilter/ks/connectivity.c index 02c36e772e9..8ce3eb14489 100644 --- a/reactos/drivers/ksfilter/ks/connectivity.c +++ b/reactos/drivers/ksfilter/ks/connectivity.c @@ -378,8 +378,11 @@ KsPinPropertyHandler( Irp->IoStatus.Status = STATUS_BUFFER_TOO_SMALL; 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.Information = Size; break;