WdfUsbTargetDeviceCreate() failing

Hello All,
I am writing NDIS-USB WDF driver . I am facing a couple of issues :

-> WdfUsbTargetDeviceCreate() is returning 0xC0000010 i.e STATUS_INVALID_DEVICE_REQUEST

-> My device is shown to ROOT enumerated !

I guess both my problems are interrelated , i am not sure . Can any guide me on what could be the reason for the above problems.

TIA,
Venkatesh

How did you install the driver? Add new hw wizard or devcon install <…>? Yes, the problems are correlated. You created a new device stack. Use devcon update <…> instead.

d

dent from a phpne with no keynoard

-----Original Message-----
From: xxxxx@gmail.com
Sent: November 08, 2010 4:51 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] WdfUsbTargetDeviceCreate() failing

Hello All,
I am writing NDIS-USB WDF driver . I am facing a couple of issues :

-> WdfUsbTargetDeviceCreate() is returning 0xC0000010 i.e STATUS_INVALID_DEVICE_REQUEST

-> My device is shown to ROOT enumerated !

I guess both my problems are interrelated , i am not sure . Can any guide me on what could be the reason for the above problems.

TIA,
Venkatesh


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

Thanks Doron . It fixed it .