CoNdis miniports questions

Discussion in 'Windows Vista Drivers' started by Gabriel Bogdan, Feb 27, 2005.

  1. Well, I have a couple of questions about the diferences between Wan, CoNdis
    and CoNdis Wan miniports.

    A ndis miniport is connection oriented if MajorNdisVersion is 5 or if
    MajorNdisVersion is >=5 and the MiniportCoXXX functions are defined?

    And, if MiniportCharacteristics.Reserved is NDIS_USE_WAN_WRAPPER then a
    CoNdisMiniport is also a CoNdis Wan miniport?

    And, if MajorNdisVersion is <5 and MiniportCharacteristics.Reserved is
    NDIS_USE_WAN_WRAPPER then the miniport is a plain Wan miniport?

    A CoNdis miniports must only register a CoRequestHandler, and will never be
    called at MiniportQueryInformation? or MiniportQueryInformation is always
    required? ( this means that MiniportCoRequest handles the CoRequests and
    MiniportQueryInformation handle the normal requests, that are not associated
    with a line?)

    Thanks
     
    Gabriel Bogdan, Feb 27, 2005
    #1
    1. Advertisements

  2. Bryan S. Burgin [MSFT], Feb 27, 2005
    #2
    1. Advertisements

  3. Thanks for the replay,
    rights.


    Still, it's not clear to me how a miniport drivers identifies itself to NDIS
    as one of thees variants, WAN, CoNdis and CoNdis Wan.

    For WAN it's quite clear, you have to use
    MiniportCharacteristics.MajorNdisVersion 3 or 4 and
    MiniportCharacteristics.Reserved has to be set to NDIS_USE_WAN_WRAPPER, when
    you call NdisMRegisterMiniport.

    If MiniportCharacteristics.MajorNdisVersion is >=5 and any MiniportCoXXX
    handler is registred NDIS will think the miniport is a CoNdis? right?
    If MiniportCharacteristics.MajorNdisVersion is >=5 and no MiniportCoXXX are
    registred the miniport is assumed to be conectionless? right?


    Another thing, the 3 OIDs that are both supported by Ndis WAN and CoNdis
    WAN, theese WAN OIDs will be received by a CoNdis WAN minipot at the
    MiniportCoRequest, with MiniportVcContext=NULL? Or, to ask this in another
    way, non connection specific queryes will be received by MiniportCoRequest
    and

    MiniportQueryInformation is not used at all for CoNdis?
     
    Gabriel Bogdan, Feb 27, 2005
    #3
    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.