Re: NDIS-WDM USB WLAN Miniport driver: WdfUsbTargetDeviceCreate error
- From: "Doron Holan [MS]" <doronh@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 19 Jan 2007 19:38:56 -0800
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@xxxxxxxxx> wrote in message
news:1169033242.132398.184020@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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.
.
- References:
- Prev by Date: stop error
- Next by Date: GfxSwap - for a built-in audio device
- Previous by thread: NDIS-WDM USB WLAN Miniport driver: WdfUsbTargetDeviceCreate error
- Next by thread: stop error
- Index(es):