- Retrieve the correct pin name

svn path=/trunk/; revision=43219
This commit is contained in:
Johannes Anderwald 2009-09-29 00:25:05 +00:00
parent 1265b9904e
commit dfeea3b92e

View file

@ -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;