fix some PREfast issues

svn path=/trunk/; revision=27436
This commit is contained in:
Christoph von Wittich 2007-07-06 21:33:51 +00:00
parent e3d5443c9a
commit a9c2017b33
3 changed files with 15 additions and 0 deletions

View file

@ -29,6 +29,19 @@
UNICODE_STRING I8042RegistryPath;
DRIVER_ADD_DEVICE I8042AddDevice;
static NTSTATUS STDCALL I8042AddDevice(PDRIVER_OBJECT DriverObject,
PDEVICE_OBJECT Pdo);
DRIVER_STARTIO I8042StartIo;
static VOID STDCALL I8042StartIo(PDEVICE_OBJECT DeviceObject, PIRP Irp);
DRIVER_DISPATCH I8042CreateDispatch;
static NTSTATUS STDCALL I8042CreateDispatch(PDEVICE_OBJECT DeviceObject, PIRP Irp);
DRIVER_DISPATCH I8042InternalDeviceControl;
static NTSTATUS STDCALL I8042InternalDeviceControl(PDEVICE_OBJECT DeviceObject, PIRP Irp);
/* FUNCTIONS *****************************************************************/
/*

View file

@ -304,6 +304,7 @@ BOOLEAN STDCALL I8042PacketIsr(PDEVICE_EXTENSION DevExt,
VOID I8042PacketDpc(PDEVICE_EXTENSION DevExt);
IO_WORKITEM_ROUTINE I8042SendHookWorkItem;
VOID STDCALL I8042SendHookWorkItem(PDEVICE_OBJECT DeviceObject,
PVOID Context);

View file

@ -39,6 +39,7 @@ static LOCAL_KEYBOARD_INDICATOR_TRANSLATION IndicatorTranslation = { 3, {
{0x45, KEYBOARD_NUM_LOCK_ON},
{0x46, KEYBOARD_SCROLL_LOCK_ON}}};
IO_WORKITEM_ROUTINE I8042DebugWorkItem;
static VOID STDCALL I8042DebugWorkItem(PDEVICE_OBJECT DeviceObject,
PVOID Context);