NDIS Intermediate Drivers (Ndis.lib library conflicts)

Discussion in 'Windows Vista Drivers' started by Ganesan, Oct 14, 2004.

  1. Ganesan

    Ganesan Guest

    Hi

    I built(config is Pocket PC) the NDIS intermediate driver under
    eVC 3.0 and linked to ndis.lib, ntcompat.lib etc. from PPC 2002
    libraries.

    It works fine for PPC 2002 device

    BUT
    1. Under Pocket PC (PPC 2000) - Stops at
    NdisIMRegisterLayeredMiniport.
    When I looked at Ndis.lib under Pocket PC, its different from PPC2002
    and in fact NdisIMRegisterLayeredMiniport function is NOT there in
    PPC2000 ndis.lib. If I link with ndis.lib from PPC2000, I get few
    linker errors for missing functions like
    NdisIMRegisterLayeredMiniport.

    2. Under Pocket PC 2003 - Underlying miniport Resets at the first
    MiniportQueryInformation call.

    How to build or write a NDIS Intermediate driver that runs across
    these different devices?

    Any suggestions??

    Note: Its not a complex driver using too many functionalities. Basic
    one.

    Thanx
    ganesan
     
    Ganesan, Oct 14, 2004
    #1
    1. Advertisements

  2. Pocket PC 2002 (CE 3.0) uses NDIS Version 4.0. Here you would use a NDIS IM
    driver that is similar to the NDIS IM drivers for Windows NT 4.0.

    Pocket PC 2003 (CE 4.2) uses NDIS Version 5.?. Here you would use a NDIS IM
    driver that is similar to the NDIS IM drivers for Windows 2000 and higher.

    Unfortunately, there are differences between NDIS 4 and NDIS 5 NDIS IM
    drivers.

    You will need to make a new NDIS IM driver for PPC 2003. It may use many of
    the same functions as your PPC 2002 driver, but there are other substantial
    differences. You may be able to accommodate these differences using #define
    in your code.

    On the bright side, PB 4.2 includes a CE 4.2 PassThru NDIS IM driver sample.
    You should compare that with your PPC 2002 driver to start seeing what the
    differences are.

    Don't have a clue about PPC 2000, however. I think that will be really
    hard... I do not think that CE 2 actually had any NDIS IM support at all...

    Good luck,

    Thomas F. Divine, Windows DDK MVP

    http://www.rawether.net
     
    Thomas F. Divine [DDK MVP], Oct 14, 2004
    #2
    1. Advertisements

  3. On the bright side, PB 4.2 includes a CE 4.2 PassThru NDIS IM driver sample.

    Note that power management is absolutely broken in this sample. The iPaq hangs
    on a deadlock when trying to awaken if this sample is installed.
     
    Maxim S. Shatskih, Oct 14, 2004
    #3
  4. Ganesan,

    As mentioned before, our DNE product makes Pocket PC
    2002, 2003 and CE transparent to the DNE plugin.
    Platform independence of your code can save a lot of time
    and maintenance in the future.


    Steve
     
    Steve Jackowski, Oct 18, 2004
    #4
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.