Author: janderwald
Date: Sat Jan 17 16:36:58 2009
New Revision: 38858
URL:
http://svn.reactos.org/svn/reactos?rev=38858&view=rev
Log:
- Handle IRP_MN_QUERY_INTERFACE
Modified:
trunk/reactos/drivers/wdm/audio/backpln/portcls/irp.c
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/irp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/irp.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/irp.c [iso-8859-1] Sat Jan 17 16:36:58
2009
@@ -141,7 +141,16 @@
/* Do not complete? */
Irp->IoStatus.Status = STATUS_SUCCESS;
}
-
+ else if ( irp_stack->MinorFunction == IRP_MN_QUERY_INTERFACE )
+ {
+ //FIXME
+ // call next lower device object
+ Irp->IoStatus.Status = STATUS_UNSUCCESSFUL;
+ return Irp->IoStatus.Status;
+ }
+
+
+ DPRINT1("unhandled function %u\n", irp_stack->MinorFunction);
return STATUS_SUCCESS;
}