Hi,
I am trying to call WdfDeviceWdmGetDeviceObject in an export driver, on a WDFDEVICE created by a driver that is using this export driver.
I see that it crashes with 0x7e code.SYSTEM_THREAD_EXCEPTION_NOT_HANDLED
I see that IP has become NULL soon after WdfDeviceWdmGetDeviceObject.
Hence wanted to know if it is allowed to do such an operation or I must debug my driver in order to find the real cause.
WDF handles are local to a driver. What you're trying to do will never
work.
Jake Oshins
Windows Kernel Team
This message offers no warranties and confers no rights.
wrote in message news:xxxxx@ntdev...
Hi,
I am trying to call WdfDeviceWdmGetDeviceObject in an export driver, on a
WDFDEVICE created by a driver that is using this export driver.
I see that it crashes with 0x7e code.SYSTEM_THREAD_EXCEPTION_NOT_HANDLED
I see that IP has become NULL soon after WdfDeviceWdmGetDeviceObject.
Hence wanted to know if it is allowed to do such an operation or I must
debug my driver in order to find the real cause.