Hi All,
I am writing a WDM USB driver for my USB adapter. I am
using Walter Oney’s method for handling interrupt
pipe. This is working fine and I am getting the USB
data. The problem is that, when I remove my USB
adapter (Surprise Removal ), I am getting a page
fault. Softice shows “Page Fault (0Eh) Fault=0002”
I noticed that, I am getting the page fault before
hitting my PNP IRP handler. I think I will get a
IRP_MN_SURPRISE_REMOVAL Request in response to the
device removal.Does any one know how Walter Oney is
handling the surprise removal. I found that he is
calling the StopDevice() routine from Generic code.
Thanks in advance
Suja.
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html