Hi Guys,
i have installed PCI Bus Upper Filter Driver in my machine.
but when i try to get handle of it using CreateFile Api from user mode, it returns me INVALID_FILE_HANDLE. when i looked my driver and device object in Device Tree tool it shows me. i tried to track irp using IrpTracker but it reported me that NO_SUCH_DEVICE - 0x890000.
am i missing something? or should i follow another approach for filter driver to get handle?
Is there a device object (the fdo most likely) above yours? If so, it is most likely blocking the create.
d
Sent from my phone with no t9, all spilling mistakes are not intentional.
-----Original Message-----
From: xxxxx@gmail.com
Sent: Monday, August 24, 2009 8:23 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] CreateFile Function Failed
Hi Guys,
i have installed PCI Bus Upper Filter Driver in my machine.
but when i try to get handle of it using CreateFile Api from user mode, it returns me INVALID_FILE_HANDLE. when i looked my driver and device object in Device Tree tool it shows me. i tried to track irp using IrpTracker but it reported me that NO_SUCH_DEVICE - 0x890000.
am i missing something? or should i follow another approach for filter driver to get handle?
—
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
in device tree my device object’s NextDeviceObject field =0x0 means it should be most upper driver or lower driver?
oh i think my driver is not top most driver it has lots of driver above it. so now what should i do?
Run
!devstack (your device object pointer)
To see the stack in windbg. NextDeviceObject is the next debovj your driver creates
d
Sent from my phone with no t9, all spilling mistakes are not intentional.
-----Original Message-----
From: xxxxx@gmail.com
Sent: Monday, August 24, 2009 8:51 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] CreateFile Function Failed
in device tree my device object’s NextDeviceObject field =0x0 means it should be most upper driver or lower driver?
—
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
Let me first say that you are way in over your head. Why do you need a file handle? What type of io are you going to send back and forth? A lot of IOs with hiuge buffers? Sporadic tiny IOs?
d
Sent from my phone with no t9, all spilling mistakes are not intentional.
-----Original Message-----
From: xxxxx@gmail.com
Sent: Monday, August 24, 2009 9:05 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] CreateFile Function Failed
oh i think my driver is not top most driver it has lots of driver above it. so now what should i do?
—
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer