NDIS + SDIO

From: Henri Fallon (henri.fallon_at_dibcom.fr)
Date: 03/01/05


Date: 1 Mar 2005 04:04:54 -0800

Hi all,

 all I could find about this was posted before CE 5.0, and I reckon
things have changed a bit.

 Basically what I need to do is an NDIS driver for an SDIO device, and
I'm not sure about a few implementation details :

1- the documentation says an NDIS driver must have a DriverEntry and a
Dllmain, and SDIO client drivers must expose a XXX_Init

How would the DLL be loaded ? Upon insertion in which case I guess
XXX_Init would be called first, or manually, in which case I suppose
DriverEntry or DllMain would be called first ?

Looking at the BTSDIO sample, I guess it could work the same way, but
having it confirmed would be really nice before starting the
development.

2- If (1) is wrong, then I must get a handle to my sdio device just
from an NDIS context and not expose a Stream interface. Which argument
can I then give to SDGetDeviceHandle ?

3- how do I declare this Dll in the registry so that it's seen
appropriately ?

Thanks a lot

-- 
Henri Fallon


Relevant Pages

  • NDIS-SDIO Driver
    ... I have written a basic SDIO Driver. ... I want to write a NDIS Driver and load ... both drivers when i connect my SDIO device. ... cannot call any NDIS functions in a WDM driver (correct me if i am ...
    (microsoft.public.development.device.drivers)
  • Re: FTDI USB Serial Drivers
    ... The DLL accesses the inf for setup ... from the FTDI driver readme: ... Notes on INF files ... particular VID and PID requires access to a registry editor which (unlike ...
    (microsoft.public.windowsce.platbuilder)
  • Re: FTDI USB Serial Drivers
    ... The DLL accesses the inf for setup ... from the FTDI driver readme: ... Notes on INF files ... particular VID and PID requires access to a registry editor which (unlike ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Reprise: Pended IOCtrl + LoadLibrary == Deadlock?
    ... Is your driver handle open in FILE_FLAG_OVERLAPPED mode? ... > happen at startup and shutdown. ... The dll is loaded and instructed by the ... >>> Devstudio and windbg both use int 3 for breakpoints. ...
    (microsoft.public.development.device.drivers)
  • Re: Questions about kernel DLLs and hook AddDevice()
    ... as long as a driver which imports a function from ... your DLL is loaded, your DLL will remain loaded as well. ... As briefly mentioned above I have an upper filter bus ... >>> to load my disk class driver. ...
    (microsoft.public.development.device.drivers)