mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 02:32:57 +00:00
Replaced some calls to DbgPrint with the DPRINT macro.
svn path=/trunk/; revision=3882
This commit is contained in:
parent
2774a7c60b
commit
5f09dd1402
1 changed files with 6 additions and 3 deletions
|
@ -15,6 +15,9 @@
|
||||||
#include "../include/mouse.h"
|
#include "../include/mouse.h"
|
||||||
#include "mouclass.h"
|
#include "mouclass.h"
|
||||||
|
|
||||||
|
#define NDEBUG
|
||||||
|
#include <debug.h>
|
||||||
|
|
||||||
BOOLEAN AlreadyOpened = FALSE;
|
BOOLEAN AlreadyOpened = FALSE;
|
||||||
|
|
||||||
BOOLEAN MouseClassCallBack(PDEVICE_OBJECT ClassDeviceObject, PMOUSE_INPUT_DATA MouseDataStart,
|
BOOLEAN MouseClassCallBack(PDEVICE_OBJECT ClassDeviceObject, PMOUSE_INPUT_DATA MouseDataStart,
|
||||||
|
@ -73,18 +76,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);
|
DPRINT("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 {
|
} else {
|
||||||
DbgPrint("MouseClassCallBack() NO GDI callback installed\n");
|
DPRINT("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 {
|
} else {
|
||||||
DbgPrint("MouseClassCallBack() entered, InputCount = %d - DOING NOTHING\n", *InputCount);
|
DPRINT("MouseClassCallBack() entered, InputCount = %d - DOING NOTHING\n", *InputCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue