WdfUsbTargetCreateDevice fails with 0x800070B1

rajasekaran krishnan 6 Reputation points
2021-02-18T09:57:12.537+00:00

I am working on to fix a kernel-pnp error 411 with code 0x0A for a WBF driver. After investigation, I can see the wdfUsbTargetDeviceCreate( ) api call failing with NTSTATUS=0x800070B1 from EvtPrepareHardware_Callback( ) This failure is reproducible whenever I do upgrade the driver. The sequence of events is given below D0PowerState Entry - Start D0PowerState Entry - Exit EvtDeviceQueryRemove Entry EvtDeviceQueryRemove exit with success EvtDeviceD0Exit Entry EvtDeviceD0Exit Exit with success EvtDeviceReleaseHardware Entry EvtDeviceReleaseHardware Exit EvtDriverContextCleanup Entry EvtDriverContextCleanup Exit with success -----unload completes here------------------------- -----driver load starts again----------------- DriverEntry Entry DriverEntry Exit EvtDeviceAdd Entry EvtDeviceAdd Exit with success EvtDevicePrepareHardware Entry wdfUsbTargetDeviceCreate( ) --- Fails EvtDevicePrepareHardware Exit with failure status.

Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,625 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.