From dfeea3b92e0fe8a8bdb3c1130c052e934c9026ef Mon Sep 17 00:00:00 2001 From: Johannes Anderwald Date: Tue, 29 Sep 2009 00:25:05 +0000 Subject: [PATCH] - Retrieve the correct pin name svn path=/trunk/; revision=43219 --- reactos/drivers/ksfilter/ks/connectivity.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/drivers/ksfilter/ks/connectivity.c b/reactos/drivers/ksfilter/ks/connectivity.c index bbca6a13bc8..3aa55b99079 100644 --- a/reactos/drivers/ksfilter/ks/connectivity.c +++ b/reactos/drivers/ksfilter/ks/connectivity.c @@ -487,14 +487,14 @@ KsPinPropertyHandler( break; } - if (!Descriptor[Pin->PinId].Category) + if (!Descriptor[Pin->PinId].Name) { Irp->IoStatus.Information = 0; Status = STATUS_SUCCESS; break; } - Status = KspReadMediaCategory((LPGUID)Descriptor[Pin->PinId].Category, &KeyInfo); + Status = KspReadMediaCategory((LPGUID)Descriptor[Pin->PinId].Name, &KeyInfo); if (!NT_SUCCESS(Status)) { Irp->IoStatus.Information = 0;