Welcome to WinForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

NDIS-WDM USB WLAN Miniport driver: WdfUsbTargetDeviceCreat..

 
   Windows XP (Home) -> XP Device Driver RSS
Next:  screen res. changes when I close lid  
Author Message
Neeraj

External


Since: Jan 17, 2007
Posts: 1



(Msg. 1) Posted: Wed Jan 17, 2007 3:27 am
Post subject: NDIS-WDM USB WLAN Miniport driver: WdfUsbTargetDeviceCreate error
Archived from groups: microsoft>public>windowsxp>device_driver>dev (more info?)

I'm porting my NDIS 5.1 based WLAN Miniport driver with WDM-USB
lower edge on KMDF, the call's to WdfUsbTargetDeviceCreate always
fail with status STATUS_NOT_SUPPORTED.The function
WdfUsbTargetDeviceCreate is called from my MiniportInitialize routine.
Please let me know what might be the possible problem. Also, below is
snapshot of same code from my MiniportInitalize function.


WDF_OBJECT_ATTRIBUTES attributes;
WDFDEVICE WdfDevice;
WDFUSBDEVICE WdfUsbTargetDevice;
WDF_OBJECT_ATTRIBUTES_INIT(&attributes);

NdisMGetDeviceProperty(MiniportAdapterHandle,
&Pdo,
&Fdo,
&NextDeviceObject,
NULL,
NULL);


Status = WdfDeviceMiniportCreate(WdfGetDriver(),
& attributes,
Pdo,
Fdo,
NextDeviceObject,
&WdfDevice);
if (!NT_SUCCESS (Status)){...........}

Status = WdfUsbTargetDeviceCreate(WdfDevice,
WDF_NO_OBJECT_ATTRIBUTES,
&WdfUsbTargetDevice);
if (!NT_SUCCESS(Status)) {.............}



Thanks in Advance.

 >> Stay informed about: NDIS-WDM USB WLAN Miniport driver: WdfUsbTargetDeviceCreat.. 
Back to top
Login to vote
Doron Holan MS1

External


Since: Jan 28, 2004
Posts: 15



(Msg. 2) Posted: Fri Jan 19, 2007 7:38 pm
Post subject: Re: NDIS-WDM USB WLAN Miniport driver: WdfUsbTargetDeviceCreate error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

after the error, what does !wdfkd.wdflogdump <your driver name> say?

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Neeraj" <neeraj.kandwal.TakeThisOut@gmail.com> wrote in message
news:1169033242.132398.184020@s34g2000cwa.googlegroups.com...
> I'm porting my NDIS 5.1 based WLAN Miniport driver with WDM-USB
> lower edge on KMDF, the call's to WdfUsbTargetDeviceCreate always
> fail with status STATUS_NOT_SUPPORTED.The function
> WdfUsbTargetDeviceCreate is called from my MiniportInitialize routine.
> Please let me know what might be the possible problem. Also, below is
> snapshot of same code from my MiniportInitalize function.
>
>
> WDF_OBJECT_ATTRIBUTES attributes;
> WDFDEVICE WdfDevice;
> WDFUSBDEVICE WdfUsbTargetDevice;
> WDF_OBJECT_ATTRIBUTES_INIT(&attributes);
>
> NdisMGetDeviceProperty(MiniportAdapterHandle,
> &Pdo,
> &Fdo,
> &NextDeviceObject,
> NULL,
> NULL);
>
>
> Status = WdfDeviceMiniportCreate(WdfGetDriver(),
> & attributes,
> Pdo,
> Fdo,
> NextDeviceObject,
> &WdfDevice);
> if (!NT_SUCCESS (Status)){...........}
>
> Status = WdfUsbTargetDeviceCreate(WdfDevice,
> WDF_NO_OBJECT_ATTRIBUTES,
> &WdfUsbTargetDevice);
> if (!NT_SUCCESS(Status)) {.............}
>
>
>
> Thanks in Advance.
>

 >> Stay informed about: NDIS-WDM USB WLAN Miniport driver: WdfUsbTargetDeviceCreat.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
NDIS 5.0 in Vista ? - Hi Experts: I have a question on NDIS version usable under Windows Vista: We have been using an NDIS miniport driver writing using NDIS 5.0. Will this work under Windows Vista? If not, what should I do to make it work in Vista with minimum change? Fo...

LTO3 driver for XP PRO to allow using ntbackup? - Hi. A couple of brief questions regarding LTO-3 Ultrium 400GB tape on XP Pro that I hope some brainy person can help me with. My DLT7000 and SCSI works fine with my XP Pro Intel. A new IBM LTO3 Ultrium drive runs fine in NovaBackup, but doesn't run..

Q: programmable restart of a 64-bit driver from a 32-bit a.. - Hello, we have an application that need to restart network driver to apply configuration changes without restarting the system. We are using SetupDi* functions to do this. The 32-bits version of the application works fine on 32-bits system as well....

Automate Driver Installation of a nonpnp driver - Is there command line way to automate driver installation of a nonpnp driver? The inf is below. [Source Media Descriptions] 1 = "Altera Programmer Driver" , TAGFILE = disk1 2 = "Altera ByteBlaster Driver" , TAGFILE = disk1...

Problems with Twinhan Mantis BDA Driver (WHQL) - Hello, I mentioned that the Twinhan Mantis BDA Driver which is WHQL certified in Version 1.015 causes a lot of CPU Usage, even when nothing is done on the system. Has anyone heard about this or any ideas what can solve this problem? Regards Christoph
   Windows XP (Home) -> XP Device Driver All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
  Windows XP
 Windows Vista!
 Win 2000/NT/98/ME


[ Contact us | Terms of Service/Privacy Policy ]