mirror of
https://github.com/reactos/reactos.git
synced 2025-07-14 19:24:15 +00:00
display some extra debug messages on boot to see whats going on.
svn path=/trunk/; revision=3725
This commit is contained in:
parent
c2cdc52d2e
commit
e0461e2d52
1 changed files with 8 additions and 1 deletions
|
@ -73,13 +73,18 @@ BOOLEAN MouseClassCallBack(PDEVICE_OBJECT ClassDeviceObject, PMOUSE_INPUT_DATA M
|
||||||
|
|
||||||
// Throw data up to GDI callback
|
// Throw data up to GDI callback
|
||||||
if(*(PGDI_SERVICE_CALLBACK_ROUTINE)ClassDeviceExtension->GDIInformation.CallBack != NULL) {
|
if(*(PGDI_SERVICE_CALLBACK_ROUTINE)ClassDeviceExtension->GDIInformation.CallBack != NULL) {
|
||||||
|
DbgPrint("MouseClassCallBack() Calling GDI callback at %p\n", ClassDeviceExtension->GDIInformation.CallBack);
|
||||||
(*(PGDI_SERVICE_CALLBACK_ROUTINE)ClassDeviceExtension->GDIInformation.CallBack)
|
(*(PGDI_SERVICE_CALLBACK_ROUTINE)ClassDeviceExtension->GDIInformation.CallBack)
|
||||||
(ClassDeviceExtension->PortData - ReadSize, ReadSize);
|
(ClassDeviceExtension->PortData - ReadSize, ReadSize);
|
||||||
|
} else {
|
||||||
|
DbgPrint("MouseClassCallBack() NO GDI callback installed\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
ClassDeviceExtension->PortData -= ReadSize;
|
ClassDeviceExtension->PortData -= ReadSize;
|
||||||
ClassDeviceExtension->InputCount -= ReadSize;
|
ClassDeviceExtension->InputCount -= ReadSize;
|
||||||
ClassDeviceExtension->ReadIsPending = FALSE;
|
ClassDeviceExtension->ReadIsPending = FALSE;
|
||||||
|
} else {
|
||||||
|
DbgPrint("MouseClassCallBack() entered, InputCount = %d - DOING NOTHING\n", *InputCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
@ -232,6 +237,8 @@ NTSTATUS STDCALL MouseClassInternalDeviceControl(IN PDEVICE_OBJECT DeviceObject,
|
||||||
DeviceExtension->GDIInformation =
|
DeviceExtension->GDIInformation =
|
||||||
*((PGDI_INFORMATION)Stack->Parameters.DeviceIoControl.Type3InputBuffer);
|
*((PGDI_INFORMATION)Stack->Parameters.DeviceIoControl.Type3InputBuffer);
|
||||||
|
|
||||||
|
DbgPrint("MouseClassInternalDeviceControl() installed GDI callback at %p\n", DeviceExtension->GDIInformation.CallBack);
|
||||||
|
|
||||||
status = STATUS_SUCCESS;
|
status = STATUS_SUCCESS;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue