We are passing an event flag (from "CreateEvent") into a Device Driver with
the command "DeviceIOControl" to signal an Interrupt from the hardware back
to the software and make sure it is properly synchronized. This works OK
until we try to close the Windows Console application when Windows 98 hangs
up and needs to be rebooted. Walter Oney's instructions were heeded: closing
the handle to the Device Driver and calling "ObDereferenceObject" with
"KeReleaseSpinLock" to release the event flag inside the Device Driver.
However the Windows Console application still does not exit cleanly. Any
clues would be appreciated.
|