Hi,
I used CreateWdfFile() in my UMDF driver in order to create a file object
for my driver created request.
However, when I call Close() for that file object in my OnReleaseHardware(),
I always get the following exception in Windbg:
**** WUDF DriverStop - Internal error 0x400000000000000
**** in Host
****
d:\w7rtm\drivers\wdf\umdf\DriverHost\common\inc\pr ivate\TrackedObject.h:347(CTrackedObject::Release) :
Dereference of destroyed object, Context Record: .cxr 0x000000000100EC40
I ended up commented out all the code and simple call CreateWdfFile() in my
device Configure() funtion and call Close() in my OnReleaseHardwar() function
and still got the same error!!
My code is pretty much the same as the one in Doron's blog:
http://blogs.msdn.com/888_umdf_4_you...3/2117342.aspx
Did I miss something? Or did I use the file object wrong?
Regards,
G.