From: Johannes Anderwald Date: Tue, 29 Sep 2009 00:25:05 +0000 (+0000) Subject: - Retrieve the correct pin name X-Git-Tag: ReactOS-0.3.11~713 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=dfeea3b92e0fe8a8bdb3c1130c052e934c9026ef - Retrieve the correct pin name svn path=/trunk/; revision=43219 --- 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;