Author: hpoussin
Date: Sat Apr 22 22:00:47 2006
New Revision: 21711
URL:
http://svn.reactos.ru/svn/reactos?rev=21711&view=rev
Log:
Don't tell we succeeded IOCTL_KEYBOARD_QUERY_INDICATORS and
IOCTL_KEYBOARD_QUERY_INDICATOR_TRANSLATION, as it is not true.
Fixes bug 1408
Modified:
trunk/reactos/drivers/usb/miniport/common/fdo.c
trunk/reactos/drivers/usb/miniport/common/main.c
Modified: trunk/reactos/drivers/usb/miniport/common/fdo.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/drivers/usb/miniport/common…
==============================================================================
--- trunk/reactos/drivers/usb/miniport/common/fdo.c (original)
+++ trunk/reactos/drivers/usb/miniport/common/fdo.c Sat Apr 22 22:00:47 2006
@@ -455,7 +455,7 @@
&DevExt->KeyboardIndicators,
sizeof(KEYBOARD_INDICATOR_PARAMETERS));*/
- Irp->IoStatus.Status = STATUS_SUCCESS;
+ Irp->IoStatus.Status = STATUS_NOT_SUPPORTED;
break;
case IOCTL_KEYBOARD_QUERY_TYPEMATIC:
DPRINT("USBMP: IOCTL_KEYBOARD_QUERY_TYPEMATIC\n");
@@ -527,7 +527,7 @@
&IndicatorTranslation,
sizeof(LOCAL_KEYBOARD_INDICATOR_TRANSLATION));*/
- Irp->IoStatus.Status = STATUS_SUCCESS;
+ Irp->IoStatus.Status = STATUS_NOT_SUPPORTED;
break;
case IOCTL_INTERNAL_I8042_HOOK_KEYBOARD:
/* Nothing to do here */
Modified: trunk/reactos/drivers/usb/miniport/common/main.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/drivers/usb/miniport/common…
==============================================================================
--- trunk/reactos/drivers/usb/miniport/common/main.c (original)
+++ trunk/reactos/drivers/usb/miniport/common/main.c Sat Apr 22 22:00:47 2006
@@ -322,9 +322,7 @@
{
DPRINT1("USBMP: FDO stub for major function 0x%lx\n",
IoGetCurrentIrpStackLocation(Irp)->MajorFunction);
-#ifndef NDEBUG
- DbgBreakPoint();
-#endif
+ ASSERT(FALSE);
return ForwardIrpAndForget(DeviceObject, Irp);
}
else
@@ -334,9 +332,7 @@
*/
DPRINT1("USBMP: PDO stub for major function 0x%lx\n",
IoGetCurrentIrpStackLocation(Irp)->MajorFunction);
-#ifndef NDEBUG
- DbgBreakPoint();
-#endif
+ ASSERT(FALSE);
}
Status = Irp->IoStatus.Status;