How about SdBusOpenInterface()



iwub
07-10-2005, 12:41 AM
How about SdBusOpenInterface()

I call it in my MiniportInitialize() function, but it failed.


NdisMGetDeviceProperty(
Adapter->MrvDrvAdapterHdl,
&(Adapter->PhyDeviceObject),
&(Adapter->FuncDeviceObject),
&(Adapter->LowerDeviceObject),
NULL,
NULL
);
KdPrint(("NdisMGetDeviceProperty() Adapter = %x,\nPDO = %x,\n FDO
= %x,\n LDO = %x\n",Adapter->MrvDrvAdapterHdl,
Adapter->PhyDeviceObject,Adapter->FuncDeviceObject,Adapter->LowerDeviceObject));

//Open Sd
Status = SdBusOpenInterface(
Adapter->LowerDeviceObject,//UnderlyingPDO
&Adapter->SdBusIfStd,
sizeof(SDBUS_INTERFACE_STANDARD),
SDBUS_INTERFACE_VERSION);


where should I modify? thanks!

Peter Foldes
07-10-2005, 12:41 AM
Try here

news:\\msnews.microsoft.com\microsoft.public.inetexplorer.scripting

--
Peter

Please Reply to Newsgroup for the benefit of others
Requests for assistance by email can not and will not be acknowledged.

"iwub" <iwub@etang.com> wrote in message news:uwx1XWAYFHA.2520@TK2MSFTNGP09.phx.gbl...
> How about SdBusOpenInterface()
>
> I call it in my MiniportInitialize() function, but it failed.
>
>
> NdisMGetDeviceProperty(
> Adapter->MrvDrvAdapterHdl,
> &(Adapter->PhyDeviceObject),
> &(Adapter->FuncDeviceObject),
> &(Adapter->LowerDeviceObject),
> NULL,
> NULL
> );
> KdPrint(("NdisMGetDeviceProperty() Adapter = %x,\nPDO = %x,\n FDO
> = %x,\n LDO = %x\n",Adapter->MrvDrvAdapterHdl,
> Adapter->PhyDeviceObject,Adapter->FuncDeviceObject,Adapter->LowerDeviceObject));
>
> //Open Sd
> Status = SdBusOpenInterface(
> Adapter->LowerDeviceObject,//UnderlyingPDO
> &Adapter->SdBusIfStd,
> sizeof(SDBUS_INTERFACE_STANDARD),
> SDBUS_INTERFACE_VERSION);
>
>
> where should I modify? thanks!
>
>
>


How about SdBusOpenInterface()