Author: cwittich
Date: Thu Nov 22 14:36:32 2007
New Revision: 30668
URL:
http://svn.reactos.org/svn/reactos?rev=30668&view=rev
Log:
fix some PREfast warnings
Modified:
trunk/reactos/drivers/base/beep/beep.c
Modified: trunk/reactos/drivers/base/beep/beep.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/base/beep/beep.c?r…
==============================================================================
--- trunk/reactos/drivers/base/beep/beep.c (original)
+++ trunk/reactos/drivers/base/beep/beep.c Thu Nov 22 14:36:32 2007
@@ -45,6 +45,7 @@
InterlockedDecrement(&DeviceExtension->TimerActive);
}
+DRIVER_DISPATCH BeepCreate;
NTSTATUS
NTAPI
BeepCreate(IN PDEVICE_OBJECT DeviceObject,
@@ -70,6 +71,7 @@
return STATUS_SUCCESS;
}
+DRIVER_DISPATCH BeepClose;
NTSTATUS
NTAPI
BeepClose(IN PDEVICE_OBJECT DeviceObject,
@@ -106,6 +108,7 @@
return STATUS_SUCCESS;
}
+DRIVER_CANCEL BeepCancel;
VOID
NTAPI
BeepCancel(IN PDEVICE_OBJECT DeviceObject,
@@ -135,6 +138,7 @@
IoCompleteRequest (Irp, IO_NO_INCREMENT);
}
+DRIVER_DISPATCH BeepCleanup;
NTSTATUS
NTAPI
BeepCleanup(IN PDEVICE_OBJECT DeviceObject,
@@ -195,6 +199,7 @@
return STATUS_SUCCESS;
}
+DRIVER_DISPATCH BeepDeviceControl;
NTSTATUS
NTAPI
BeepDeviceControl(IN PDEVICE_OBJECT DeviceObject,
@@ -256,6 +261,7 @@
return Status;
}
+DRIVER_UNLOAD BeepUnload;
VOID
NTAPI
BeepUnload(IN PDRIVER_OBJECT DriverObject)
@@ -282,6 +288,7 @@
IoDeleteDevice(DeviceObject);
}
+DRIVER_STARTIO BeepStartIo;
VOID
NTAPI
BeepStartIo(IN PDEVICE_OBJECT DeviceObject,