WdfIoTargetSendInternalIoctlSynchronously

I want to send a UsbBuildGetDescriptorRequest() URB to my device, I was thinking of using WdfIoTargetSendInternalIoctlSynchronously() to do so.

But I read this :

“WdfIoTargetSendInternalIoctlSynchronously does not know how to put the URB
in the right stack location in the urb. you want to call
WdfUsbTargetDeviceSendControlTransferSynchronously instead.”

in
http://www.eggheadcafe.com/software/aspnet/32296276/wdfiotargetsendinternalioctlsynchronously-does-not-know-how-to-put-the-urb-in.aspx

Is this still the case? (I’m sure if it “does not know” by design or “for the moment”)

If this is still the case, how do I use “WdfUsbTargetDeviceSendControlTransferSynchronously instead” while in my KMDF Filter’s EvtDriverDeviceAdd?

I ask since WdfUsbTargetDeviceSendControlTransferSynchronously requires I believe a WDFUSBDEVICE as first argument and it seems like one cannot get it/create it before my EvtDriverDeviceAdd (no EvtDevicePrepareHardware if I understand properly in KMDF Filter drivers).

(There are a few WDM solutions around, but I would really like to use a nice and simple KMDF one)

You can use this api, just pass the purb as othersarg1

d

dent from a phpne with no keynoard

-----Original Message-----
From: xxxxx@live.ca
Sent: October 04, 2010 6:07 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] WdfIoTargetSendInternalIoctlSynchronously

I want to send a UsbBuildGetDescriptorRequest() URB to my device, I was thinking of using WdfIoTargetSendInternalIoctlSynchronously() to do so.

But I read this :

“WdfIoTargetSendInternalIoctlSynchronously does not know how to put the URB
in the right stack location in the urb. you want to call
WdfUsbTargetDeviceSendControlTransferSynchronously instead.”

in
http://www.eggheadcafe.com/software/aspnet/32296276/wdfiotargetsendinternalioctlsynchronously-does-not-know-how-to-put-the-urb-in.aspx

Is this still the case? (I’m sure if it “does not know” by design or “for the moment”)

If this is still the case, how do I use “WdfUsbTargetDeviceSendControlTransferSynchronously instead” while in my KMDF Filter’s EvtDriverDeviceAdd?

I ask since WdfUsbTargetDeviceSendControlTransferSynchronously requires I believe a WDFUSBDEVICE as first argument and it seems like one cannot get it/create it before my EvtDriverDeviceAdd (no EvtDevicePrepareHardware if I understand properly in KMDF Filter drivers).

(There are a few WDM solutions around, but I would really like to use a nice and simple KMDF one)


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

That would be

ioStack->Parameters.Others.Arg1 = pmyUrb;

for anyone who doesn’t understand Doron’s phone.

:slight_smile:

Peter
OSR

Actually, I meant exactly what I typed (modulo the s) :). But I was wrong about the API itself. You want to use WdfIoTargetSendInternalIoctlOthersSynchronously, not WdfIoTargetSendInternalIoctlSynchronously

NTSTATUS
WdfIoTargetSendInternalIoctlOthersSynchronously(
WDFIOTARGET IoTarget,
WDFREQUEST Request,
ULONG IoctlCode,
PWDF_MEMORY_DESCRIPTOR OtherArg1, <– this arg is where you want to pass the URB
PWDF_MEMORY_DESCRIPTOR OtherArg2,
PWDF_MEMORY_DESCRIPTOR OtherArg4,
PWDF_REQUEST_SEND_OPTIONS RequestOptions,
PULONG_PTR BytesReturned
);

d
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@osr.com
Sent: Monday, October 04, 2010 12:51 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] WdfIoTargetSendInternalIoctlSynchronously

[quote]
You can use this api, just pass the purb as othersarg1 [/quote]

That would be

ioStack->Parameters.Others.Arg1 = pmyUrb;

for anyone who doesn’t understand Doron’s phone.

:slight_smile:

Peter
OSR


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

LOL… Sorry, Doron.

I just spent the last 2 weeks in the land of WDM… my brain is now damaged. I should have known better than to try to intelligently answer a KMDF question until I’ve had a chance to bask in the warm glow of WDF for a while and get the pallor from my having to think about WDM completely erased.

Peter
OSR

Doron thank you for your answer.

I tried the following code (I hope I did not make any huge mistake) in my EvtDriverDeviceAdd() method :

URB urb;
WDF_MEMORY_DESCRIPTOR urbRequest;

USB_DEVICE_DESCRIPTOR deviceDescriptor;
WDF_REQUEST_SEND_OPTIONS syncReqOptions;

WDFREQUEST request;
ULONG bytesReturned;

if (timeout > LIBUSB_MAX_CONTROL_TRANSFER_TIMEOUT)
{
timeout = LIBUSB_MAX_CONTROL_TRANSFER_TIMEOUT;
}

WDF_REQUEST_SEND_OPTIONS_INIT(
&syncReqOptions,
0
);
WDF_REQUEST_SEND_OPTIONS_SET_TIMEOUT(
&syncReqOptions,
WDF_REL_TIMEOUT_IN_SEC(timeout)
);

UsbBuildGetDescriptorRequest(
&urb,
sizeof(urb),
USB_DEVICE_DESCRIPTOR_TYPE,
0, // this parameter not used for device descriptors
0, // this parameter not used for device descriptors
&deviceDescriptor,
NULL,
sizeof(deviceDescriptor),
NULL);

WDF_MEMORY_DESCRIPTOR_INIT_BUFFER(
&urbRequest,
(PVOID)&urb,
sizeof(URB));

status = WdfIoTargetSendInternalIoctlOthersSynchronously(
WdfDeviceGetIoTarget(device),
NULL,
IOCTL_INTERNAL_USB_SUBMIT_URB,
&urbRequest, // URB
NULL,
NULL,
&syncReqOptions,
&bytesReturned);

if (!NT_SUCCESS(status)) {
traceInFileX(“WdfIoTargetSendInternalIoctlSynchronously Failed with error 0x%x\r\n”,status);
return status;
}

Unfortunately I get a STATUS_INVALID_PARAMETER and I can’t see the mistake.

Any hint about what may be wrong?

Many thanks in advance.

What does

!wdfkd.wdflogdump <your driver name with no .sys extension>

Say right after you get the error value back?

d

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@live.ca
Sent: Monday, October 04, 2010 4:30 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] WdfIoTargetSendInternalIoctlSynchronously

Doron thank you for your answer.

I tried the following code (I hope I did not make any huge mistake) in my EvtDriverDeviceAdd() method :

URB urb;
WDF_MEMORY_DESCRIPTOR urbRequest;

USB_DEVICE_DESCRIPTOR deviceDescriptor;
WDF_REQUEST_SEND_OPTIONS syncReqOptions;

WDFREQUEST request;
ULONG bytesReturned;

if (timeout > LIBUSB_MAX_CONTROL_TRANSFER_TIMEOUT)
{
timeout = LIBUSB_MAX_CONTROL_TRANSFER_TIMEOUT;
}

WDF_REQUEST_SEND_OPTIONS_INIT(
&syncReqOptions,
0
);
WDF_REQUEST_SEND_OPTIONS_SET_TIMEOUT(
&syncReqOptions,
WDF_REL_TIMEOUT_IN_SEC(timeout)
);

UsbBuildGetDescriptorRequest(
&urb,
sizeof(urb),
USB_DEVICE_DESCRIPTOR_TYPE,
0, // this parameter not used for device descriptors
0, // this parameter not used for device descriptors
&deviceDescriptor,
NULL,
sizeof(deviceDescriptor),
NULL);

WDF_MEMORY_DESCRIPTOR_INIT_BUFFER(
&urbRequest,
(PVOID)&urb,
sizeof(URB));

status = WdfIoTargetSendInternalIoctlOthersSynchronously(
WdfDeviceGetIoTarget(device),
NULL,
IOCTL_INTERNAL_USB_SUBMIT_URB,
&urbRequest, // URB
NULL,
NULL,
&syncReqOptions,
&bytesReturned);

if (!NT_SUCCESS(status)) {
traceInFileX(“WdfIoTargetSendInternalIoctlSynchronously Failed with error 0x%x\r\n”,status);
return status;
}

Unfortunately I get a STATUS_INVALID_PARAMETER and I can’t see the mistake.

Any hint about what may be wrong?

Many thanks in advance.


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

Here is what I get back (no idea how much you needed or if something is missing) :

Log at 85282000
Gather log: Please wait, this may take a moment (reading 4032 bytes).
% read so far … 10, 20, 30, 40, 50, 60, 70, 80, 90, 100
There are 91 log entries
— start of log —
589: FxPkgFdo::HandleQueryPnpDeviceStateCompletion - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 returning PNP_DEVICE_STATE 0x0 IRP 0x846E3CE8
590: FxPkgPnp::Dispatch - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8, IRP_MJ_PNP, 0x00000007(IRP_MN_QUERY_DEVICE_RELATIONS) type BusRelations IRP 0x846E3CE8
591: FxPkgPnp::HandleQueryBusRelations - WDFDEVICE 7ACCBC28 returning 1 devices in relations E14E3380
592: FxPkgPnp::Dispatch - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40, IRP_MJ_PNP, 0x00000007(IRP_MN_QUERY_DEVICE_RELATIONS) type BusRelations IRP 0x845CB008
593: FxPkgPnp::HandleQueryBusRelations - WDFDEVICE 7B26B630 returning 0 devices in relations 852F7340
594: FxPkgPnp::Dispatch - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8, IRP_MJ_PNP, 0x00000007(IRP_MN_QUERY_DEVICE_RELATIONS) type RemovalRelations IRP 0x845BF2E8
595: FxPkgPnp::Dispatch - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8, IRP_MJ_PNP, 0x00000007(IRP_MN_QUERY_DEVICE_RELATIONS) type EjectionRelations IRP 0x845BF2E8
596: FxPkgPnp::Dispatch - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8, IRP_MJ_PNP, 0x00000017(IRP_MN_SURPRISE_REMOVAL) IRP 0x845BF2E8
597: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering PnP State WdfDevStatePnpSurpriseRemoveIoStarted from WdfDevStatePnpStarted
598: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering PnP State WdfDevStatePnpFailedIoStarting from WdfDevStatePnpSurpriseRemoveIoStarted
599: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering not power policy owner state WdfDevStatePwrPolStopping from WdfDevStatePwrPolStartingSucceeded
600: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering Power State WdfDevStatePowerGotoD3Stopped from WdfDevStatePowerD0
601: FxPkgIo::StopProcessingForPower - Perform FxIoStopProcessingForPowerHold for all queues of WDFDEIVCE 0x7ACCBC28
602: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering Power State WdfDevStatePowerStopped from WdfDevStatePowerGotoD3Stopped
603: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering not power policy owner state WdfDevStatePwrPolStoppingWaitingForImplicitPowerDown from WdfDevStatePwrPolStopping
604: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering not power policy owner state WdfDevStatePwrPolStoppingSendStatus from WdfDevStatePwrPolStoppingWaitingForImplicitPowerDown
605: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering not power policy owner state WdfDevStatePwrPolStopped from WdfDevStatePwrPolStoppingSendStatus
606: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering PnP State WdfDevStatePnpFailedOwnHardware from WdfDevStatePnpFailedIoStarting
607: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering PnP State WdfDevStatePnpFailed from WdfDevStatePnpFailedOwnHardware
608: FxPkgIo::StopProcessingForPower - Perform FxIoStopProcessingForPowerPurgeManaged for all queues of WDFDEIVCE 0x7ACCBC28
609: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering PnP State WdfDevStatePnpFailedWaitForRemove from WdfDevStatePnpFailed
610: FxPkgPnp::Dispatch - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 IRP_MJ_POWER, 0x00000000(IRP_MN_WAIT_WAKE) IRP 0x84611A70 for PowerSystemUnspecified (S-1)
611: FxPkgPnp::Dispatch - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 IRP_MJ_POWER, 0x00000002(IRP_MN_SET_POWER) IRP 0x851AA428 for PowerDeviceD2
612: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerGotoDx from WdfDevStatePowerD0
613: FxPkgIo::StopProcessingForPower - Perform FxIoStopProcessingForPowerHold for all queues of WDFDEIVCE 0x7B26B630
614: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering not power policy owner state WdfDevStatePwrPolGotoDx from WdfDevStatePwrPolStartingSucceeded
615: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerGotoDxIoStopped from WdfDevStatePowerGotoDx
616: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering not power policy owner state WdfDevStatePwrPolDx from WdfDevStatePwrPolGotoDx
617: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerDx from WdfDevStatePowerGotoDxIoStopped
618: FxPkgPnp::Dispatch - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8, IRP_MJ_PNP, 0x00000002(IRP_MN_REMOVE_DEVICE) IRP 0x851AA428
619: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering PnP State WdfDevStatePnpRemoved from WdfDevStatePnpFailedWaitForRemove
620: FxChildList::NotifyDeviceRemove - WDFCHILDLIST 7AD07900: removing children
621: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering PnP State WdfDevStatePnpRemovedChildrenRemoved from WdfDevStatePnpRemoved
622: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering PnP State WdfDevStatePnpFdoRemoved from WdfDevStatePnpRemovedChildrenRemoved
623: FxPkgIo::StopProcessingForPower - Perform FxIoStopProcessingForPowerPurgeNonManaged for all queues of WDFDEIVCE 0x7ACCBC28
624: FxIoTarget::WaitForDisposeEvent - WDFIOTARGET 7B96D490, Waiting on Dispose event F7963A0C
625: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering PnP State WdfDevStatePnpFinal from WdfDevStatePnpFdoRemoved
626: FxPkgPnp::_PnpRemoveDevice - WDFDEVICE 7ACCBC28, !devobj 851CB6A8 waiting for remove event to finish processing
627: FxPkgPnp::Dispatch - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 IRP_MJ_POWER, 0x00000002(IRP_MN_SET_POWER) IRP 0x8464ADB8 for PowerDeviceD0
628: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerCheckDeviceType from WdfDevStatePowerDx
629: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerWaking from WdfDevStatePowerCheckDeviceType
630: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerWakingConnectInterrupt from WdfDevStatePowerWaking
631: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerWakingDmaEnable from WdfDevStatePowerWakingConnectInterrupt
632: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering not power policy owner state WdfDevStatePwrPolGotoD0 from WdfDevStatePwrPolDx
633: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerStartSelfManagedIo from WdfDevStatePowerWakingDmaEnable
634: FxPkgIo::ResumeProcessingForPower - Power resume all queues of WDFDEVICE 0x7B26B630
635: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering not power policy owner state WdfDevStatePwrPolStartingSucceeded from WdfDevStatePwrPolGotoD0
636: FxPkgPnp::Dispatch - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 IRP_MJ_POWER, 0x00000002(IRP_MN_SET_POWER) IRP 0x8467F0E8 for PowerDeviceD0
637: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerD0 from WdfDevStatePowerStartSelfManagedIo
638: FxDevice::Destroy - Deleting !devobj 851CB6A8, WDFDEVICE 7ACCBC28, attached to !devobj 846C23A8
639: FxPkgPnp::Dispatch - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 IRP_MJ_POWER, 0x00000000(IRP_MN_WAIT_WAKE) IRP 0x851AA428 for PowerSystemUnspecified (S-1)
640: FxPkgPnp::Dispatch - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 IRP_MJ_POWER, 0x00000002(IRP_MN_SET_POWER) IRP 0x8467F0E8 for PowerDeviceD2
641: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerGotoDx from WdfDevStatePowerD0
642: FxPkgIo::StopProcessingForPower - Perform FxIoStopProcessingForPowerHold for all queues of WDFDEIVCE 0x7B26B630
643: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering not power policy owner state WdfDevStatePwrPolGotoDx from WdfDevStatePwrPolStartingSucceeded
644: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerGotoDxIoStopped from WdfDevStatePowerGotoDx
645: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering not power policy owner state WdfDevStatePwrPolDx from WdfDevStatePwrPolGotoDx
646: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerDx from WdfDevStatePowerGotoDxIoStopped
647: FxPkgPnp::Dispatch - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 IRP_MJ_POWER, 0x00000002(IRP_MN_SET_POWER) IRP 0x846A24F0 for PowerDeviceD0
648: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerCheckDeviceType from WdfDevStatePowerDx
649: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerWaking from WdfDevStatePowerCheckDeviceType
650: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerWakingConnectInterrupt from WdfDevStatePowerWaking
651: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerWakingDmaEnable from WdfDevStatePowerWakingConnectInterrupt
652: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering not power policy owner state WdfDevStatePwrPolGotoD0 from WdfDevStatePwrPolDx
653: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerStartSelfManagedIo from WdfDevStatePowerWakingDmaEnable
654: FxPkgIo::ResumeProcessingForPower - Power resume all queues of WDFDEVICE 0x7B26B630
655: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering not power policy owner state WdfDevStatePwrPolStartingSucceeded from WdfDevStatePwrPolGotoD0
656: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerD0 from WdfDevStatePowerStartSelfManagedIo
657: FxPkgPnp::Dispatch - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40, IRP_MJ_PNP, 0x00000007(IRP_MN_QUERY_DEVICE_RELATIONS) type BusRelations IRP 0x846A24F0
658: FxPkgPnp::HandleQueryBusRelations - WDFDEVICE 7B26B630 returning 1 devices in relations 84EA72F0
659: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering PnP State WdfDevStatePnpInit from WdfDevStatePnpObjectCreated
660: FxPkgPnp::Dispatch - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430, IRP_MJ_PNP, 0x00000000(IRP_MN_START_DEVICE) IRP 0x851AA428
661: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering PnP State WdfDevStatePnpInitStarting from WdfDevStatePnpInit
662: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering PnP State WdfDevStatePnpHardwareAvailable from WdfDevStatePnpInitStarting
663: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering not power policy owner state WdfDevStatePwrPolStarting from WdfDevStatePwrPolObjectCreated
664: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering Power State WdfDevStatePowerStartingCheckDeviceType from WdfDevStatePowerObjectCreated
665: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering Power State WdfDevStatePowerD0Starting from WdfDevStatePowerStartingCheckDeviceType
666: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering Power State WdfDevStatePowerD0StartingConnectInterrupt from WdfDevStatePowerD0Starting
667: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering Power State WdfDevStatePowerD0StartingDmaEnable from WdfDevStatePowerD0StartingConnectInterrupt
668: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering Power State WdfDevStatePowerD0StartingStartSelfManagedIo from WdfDevStatePowerD0StartingDmaEnable
669: FxPkgIo::ResumeProcessingForPower - Power resume all queues of WDFDEVICE 0x7ADAFCB8
670: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering Power State WdfDevStatePowerDecideD0State from WdfDevStatePowerD0StartingStartSelfManagedIo
671: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering Power State WdfDevStatePowerD0 from WdfDevStatePowerDecideD0State
672: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering not power policy owner state WdfDevStatePwrPolStarted from WdfDevStatePwrPolStarting
673: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering not power policy owner state WdfDevStatePwrPolStartingSucceeded from WdfDevStatePwrPolStarted
674: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering PnP State WdfDevStatePnpEnableInterfaces from WdfDevStatePnpHardwareAvailable
675: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering PnP State WdfDevStatePnpStarted from WdfDevStatePnpEnableInterfaces
676: FxPkgPnp::Dispatch - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430, IRP_MJ_PNP, 0x00000014(IRP_MN_QUERY_PNP_DEVICE_STATE) IRP 0x851AA428
677: FxPkgFdo::HandleQueryPnpDeviceStateCompletion - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 returning PNP_DEVICE_STATE 0x0 IRP 0x851AA428
678: FxPkgPnp::Dispatch - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430, IRP_MJ_PNP, 0x00000007(IRP_MN_QUERY_DEVICE_RELATIONS) type BusRelations IRP 0x851AA428
679: FxPkgPnp::HandleQueryBusRelations - WDFDEVICE 7ADAFCB8 returning 1 devices in relations E296DBD0
---- end of log ----

Did you run !wdflogdump right after the error code was returned or after it returned and then ran for a while. Put a bp on the return from the API call and then run the command, the log you sent has no relevant info

d

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@live.ca
Sent: Monday, October 04, 2010 10:52 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] WdfIoTargetSendInternalIoctlSynchronously

Here is what I get back (no idea how much you needed or if something is missing) :

Log at 85282000
Gather log: Please wait, this may take a moment (reading 4032 bytes).
% read so far … 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 There are 91 log entries
— start of log —
589: FxPkgFdo::HandleQueryPnpDeviceStateCompletion - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 returning PNP_DEVICE_STATE 0x0 IRP 0x846E3CE8
590: FxPkgPnp::Dispatch - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8, IRP_MJ_PNP, 0x00000007(IRP_MN_QUERY_DEVICE_RELATIONS) type BusRelations IRP 0x846E3CE8
591: FxPkgPnp::HandleQueryBusRelations - WDFDEVICE 7ACCBC28 returning 1 devices in relations E14E3380
592: FxPkgPnp::Dispatch - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40, IRP_MJ_PNP, 0x00000007(IRP_MN_QUERY_DEVICE_RELATIONS) type BusRelations IRP 0x845CB008
593: FxPkgPnp::HandleQueryBusRelations - WDFDEVICE 7B26B630 returning 0 devices in relations 852F7340
594: FxPkgPnp::Dispatch - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8, IRP_MJ_PNP, 0x00000007(IRP_MN_QUERY_DEVICE_RELATIONS) type RemovalRelations IRP 0x845BF2E8
595: FxPkgPnp::Dispatch - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8, IRP_MJ_PNP, 0x00000007(IRP_MN_QUERY_DEVICE_RELATIONS) type EjectionRelations IRP 0x845BF2E8
596: FxPkgPnp::Dispatch - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8, IRP_MJ_PNP, 0x00000017(IRP_MN_SURPRISE_REMOVAL) IRP 0x845BF2E8
597: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering PnP State WdfDevStatePnpSurpriseRemoveIoStarted from WdfDevStatePnpStarted
598: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering PnP State WdfDevStatePnpFailedIoStarting from WdfDevStatePnpSurpriseRemoveIoStarted
599: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering not power policy owner state WdfDevStatePwrPolStopping from WdfDevStatePwrPolStartingSucceeded
600: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering Power State WdfDevStatePowerGotoD3Stopped from WdfDevStatePowerD0
601: FxPkgIo::StopProcessingForPower - Perform FxIoStopProcessingForPowerHold for all queues of WDFDEIVCE 0x7ACCBC28
602: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering Power State WdfDevStatePowerStopped from WdfDevStatePowerGotoD3Stopped
603: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering not power policy owner state WdfDevStatePwrPolStoppingWaitingForImplicitPowerDown from WdfDevStatePwrPolStopping
604: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering not power policy owner state WdfDevStatePwrPolStoppingSendStatus from WdfDevStatePwrPolStoppingWaitingForImplicitPowerDown
605: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering not power policy owner state WdfDevStatePwrPolStopped from WdfDevStatePwrPolStoppingSendStatus
606: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering PnP State WdfDevStatePnpFailedOwnHardware from WdfDevStatePnpFailedIoStarting
607: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering PnP State WdfDevStatePnpFailed from WdfDevStatePnpFailedOwnHardware
608: FxPkgIo::StopProcessingForPower - Perform FxIoStopProcessingForPowerPurgeManaged for all queues of WDFDEIVCE 0x7ACCBC28
609: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering PnP State WdfDevStatePnpFailedWaitForRemove from WdfDevStatePnpFailed
610: FxPkgPnp::Dispatch - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 IRP_MJ_POWER, 0x00000000(IRP_MN_WAIT_WAKE) IRP 0x84611A70 for PowerSystemUnspecified (S-1)
611: FxPkgPnp::Dispatch - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 IRP_MJ_POWER, 0x00000002(IRP_MN_SET_POWER) IRP 0x851AA428 for PowerDeviceD2
612: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerGotoDx from WdfDevStatePowerD0
613: FxPkgIo::StopProcessingForPower - Perform FxIoStopProcessingForPowerHold for all queues of WDFDEIVCE 0x7B26B630
614: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering not power policy owner state WdfDevStatePwrPolGotoDx from WdfDevStatePwrPolStartingSucceeded
615: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerGotoDxIoStopped from WdfDevStatePowerGotoDx
616: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering not power policy owner state WdfDevStatePwrPolDx from WdfDevStatePwrPolGotoDx
617: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerDx from WdfDevStatePowerGotoDxIoStopped
618: FxPkgPnp::Dispatch - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8, IRP_MJ_PNP, 0x00000002(IRP_MN_REMOVE_DEVICE) IRP 0x851AA428
619: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering PnP State WdfDevStatePnpRemoved from WdfDevStatePnpFailedWaitForRemove
620: FxChildList::NotifyDeviceRemove - WDFCHILDLIST 7AD07900: removing children
621: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering PnP State WdfDevStatePnpRemovedChildrenRemoved from WdfDevStatePnpRemoved
622: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering PnP State WdfDevStatePnpFdoRemoved from WdfDevStatePnpRemovedChildrenRemoved
623: FxPkgIo::StopProcessingForPower - Perform FxIoStopProcessingForPowerPurgeNonManaged for all queues of WDFDEIVCE 0x7ACCBC28
624: FxIoTarget::WaitForDisposeEvent - WDFIOTARGET 7B96D490, Waiting on Dispose event F7963A0C
625: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0x7ACCBC28 !devobj 0x851CB6A8 entering PnP State WdfDevStatePnpFinal from WdfDevStatePnpFdoRemoved
626: FxPkgPnp::_PnpRemoveDevice - WDFDEVICE 7ACCBC28, !devobj 851CB6A8 waiting for remove event to finish processing
627: FxPkgPnp::Dispatch - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 IRP_MJ_POWER, 0x00000002(IRP_MN_SET_POWER) IRP 0x8464ADB8 for PowerDeviceD0
628: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerCheckDeviceType from WdfDevStatePowerDx
629: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerWaking from WdfDevStatePowerCheckDeviceType
630: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerWakingConnectInterrupt from WdfDevStatePowerWaking
631: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerWakingDmaEnable from WdfDevStatePowerWakingConnectInterrupt
632: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering not power policy owner state WdfDevStatePwrPolGotoD0 from WdfDevStatePwrPolDx
633: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerStartSelfManagedIo from WdfDevStatePowerWakingDmaEnable
634: FxPkgIo::ResumeProcessingForPower - Power resume all queues of WDFDEVICE 0x7B26B630
635: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering not power policy owner state WdfDevStatePwrPolStartingSucceeded from WdfDevStatePwrPolGotoD0
636: FxPkgPnp::Dispatch - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 IRP_MJ_POWER, 0x00000002(IRP_MN_SET_POWER) IRP 0x8467F0E8 for PowerDeviceD0
637: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerD0 from WdfDevStatePowerStartSelfManagedIo
638: FxDevice::Destroy - Deleting !devobj 851CB6A8, WDFDEVICE 7ACCBC28, attached to !devobj 846C23A8
639: FxPkgPnp::Dispatch - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 IRP_MJ_POWER, 0x00000000(IRP_MN_WAIT_WAKE) IRP 0x851AA428 for PowerSystemUnspecified (S-1)
640: FxPkgPnp::Dispatch - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 IRP_MJ_POWER, 0x00000002(IRP_MN_SET_POWER) IRP 0x8467F0E8 for PowerDeviceD2
641: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerGotoDx from WdfDevStatePowerD0
642: FxPkgIo::StopProcessingForPower - Perform FxIoStopProcessingForPowerHold for all queues of WDFDEIVCE 0x7B26B630
643: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering not power policy owner state WdfDevStatePwrPolGotoDx from WdfDevStatePwrPolStartingSucceeded
644: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerGotoDxIoStopped from WdfDevStatePowerGotoDx
645: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering not power policy owner state WdfDevStatePwrPolDx from WdfDevStatePwrPolGotoDx
646: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerDx from WdfDevStatePowerGotoDxIoStopped
647: FxPkgPnp::Dispatch - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 IRP_MJ_POWER, 0x00000002(IRP_MN_SET_POWER) IRP 0x846A24F0 for PowerDeviceD0
648: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerCheckDeviceType from WdfDevStatePowerDx
649: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerWaking from WdfDevStatePowerCheckDeviceType
650: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerWakingConnectInterrupt from WdfDevStatePowerWaking
651: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerWakingDmaEnable from WdfDevStatePowerWakingConnectInterrupt
652: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering not power policy owner state WdfDevStatePwrPolGotoD0 from WdfDevStatePwrPolDx
653: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerStartSelfManagedIo from WdfDevStatePowerWakingDmaEnable
654: FxPkgIo::ResumeProcessingForPower - Power resume all queues of WDFDEVICE 0x7B26B630
655: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering not power policy owner state WdfDevStatePwrPolStartingSucceeded from WdfDevStatePwrPolGotoD0
656: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40 entering Power State WdfDevStatePowerD0 from WdfDevStatePowerStartSelfManagedIo
657: FxPkgPnp::Dispatch - WDFDEVICE 0x7B26B630 !devobj 0x84D9CB40, IRP_MJ_PNP, 0x00000007(IRP_MN_QUERY_DEVICE_RELATIONS) type BusRelations IRP 0x846A24F0
658: FxPkgPnp::HandleQueryBusRelations - WDFDEVICE 7B26B630 returning 1 devices in relations 84EA72F0
659: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering PnP State WdfDevStatePnpInit from WdfDevStatePnpObjectCreated
660: FxPkgPnp::Dispatch - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430, IRP_MJ_PNP, 0x00000000(IRP_MN_START_DEVICE) IRP 0x851AA428
661: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering PnP State WdfDevStatePnpInitStarting from WdfDevStatePnpInit
662: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering PnP State WdfDevStatePnpHardwareAvailable from WdfDevStatePnpInitStarting
663: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering not power policy owner state WdfDevStatePwrPolStarting from WdfDevStatePwrPolObjectCreated
664: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering Power State WdfDevStatePowerStartingCheckDeviceType from WdfDevStatePowerObjectCreated
665: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering Power State WdfDevStatePowerD0Starting from WdfDevStatePowerStartingCheckDeviceType
666: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering Power State WdfDevStatePowerD0StartingConnectInterrupt from WdfDevStatePowerD0Starting
667: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering Power State WdfDevStatePowerD0StartingDmaEnable from WdfDevStatePowerD0StartingConnectInterrupt
668: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering Power State WdfDevStatePowerD0StartingStartSelfManagedIo from WdfDevStatePowerD0StartingDmaEnable
669: FxPkgIo::ResumeProcessingForPower - Power resume all queues of WDFDEVICE 0x7ADAFCB8
670: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering Power State WdfDevStatePowerDecideD0State from WdfDevStatePowerD0StartingStartSelfManagedIo
671: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering Power State WdfDevStatePowerD0 from WdfDevStatePowerDecideD0State
672: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering not power policy owner state WdfDevStatePwrPolStarted from WdfDevStatePwrPolStarting
673: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering not power policy owner state WdfDevStatePwrPolStartingSucceeded from WdfDevStatePwrPolStarted
674: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering PnP State WdfDevStatePnpEnableInterfaces from WdfDevStatePnpHardwareAvailable
675: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 entering PnP State WdfDevStatePnpStarted from WdfDevStatePnpEnableInterfaces
676: FxPkgPnp::Dispatch - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430, IRP_MJ_PNP, 0x00000014(IRP_MN_QUERY_PNP_DEVICE_STATE) IRP 0x851AA428
677: FxPkgFdo::HandleQueryPnpDeviceStateCompletion - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430 returning PNP_DEVICE_STATE 0x0 IRP 0x851AA428
678: FxPkgPnp::Dispatch - WDFDEVICE 0x7ADAFCB8 !devobj 0x84FDC430, IRP_MJ_PNP, 0x00000007(IRP_MN_QUERY_DEVICE_RELATIONS) type BusRelations IRP 0x851AA428
679: FxPkgPnp::HandleQueryBusRelations - WDFDEVICE 7ADAFCB8 returning 1 devices in relations E296DBD0
---- end of log ----


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