question

rajasekarankrishnan-5201 avatar image
0 Votes"
rajasekarankrishnan-5201 asked DoronHolan commented

WdfUsbTargetCreateDevice fails with 0x800070B1

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-hardwarewindows-hardware-wdkwindows-hardware-code-general
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Can some please guide me to know the meaning of the NTSTATUS=0x800070B1?

0 Votes 0 ·
DoronHolan avatar image DoronHolan rajasekarankrishnan-5201 ·

does !wdfkd.wdflogdump <your driver name> have any log entries related to the failure? Is this a new driver or one that worked previously?

0 Votes 0 ·

0 Answers