- Fix creation of mixer pin

svn path=/trunk/; revision=43314
This commit is contained in:
Johannes Anderwald
2009-10-06 09:55:19 +00:00
parent 167a790409
commit d4e6ed42ab
+1 -1
View File
@@ -227,7 +227,7 @@ ComputeCompatibleFormat(
/* Query pin data ranges */
Status = KsSynchronousIoControlDevice(Entry->FileObject, KernelMode, IOCTL_KS_PROPERTY, (PVOID)PinRequest, sizeof(KSP_PIN), NULL, 0, &BytesReturned);
if (Status != STATUS_BUFFER_TOO_SMALL)
if (Status != STATUS_MORE_ENTRIES)
{
/* Failed to data ranges */
return Status;