mamut
October 14th, 2004, 03:24 AM
I wrote a simple kernel-mode driver which handles MJ_CREATE, MJ_CLOSE, MJ_READ and MJ_WRITE. I compiled this driver under Windows 2000 DDK, also made an user-mode application which utilizes that driver.
When using this driver in Windows 2000 there is no problem. But in Windows XP, if the user-mode application shutdowns abnormally (i.e. memory access violation or forced termination), the MJ_CLOSE' handler will not triggered.
Is there any suggestion?
When using this driver in Windows 2000 there is no problem. But in Windows XP, if the user-mode application shutdowns abnormally (i.e. memory access violation or forced termination), the MJ_CLOSE' handler will not triggered.
Is there any suggestion?