porting ndis IM driver from winxp/2k to win98

Discussion in 'Windows Vista Drivers' started by nimeesh, Jul 18, 2003.

  1. nimeesh

    nimeesh Guest

    Hi,

    One basic question ..Is it possible to install mux sample
    from XP ddk on win98??

    We have tried all changes whatever we found in previous
    discussion on this topic in this group.

    For installing on win98, notify object is required or is
    it optional???

    If we don't use notify object ??? How to handle the
    binding in mux???

    It looks to be mainly inf problem...

    What kind of changes are expected in inf??

    The following is the inf that tried to use, but it gives
    error "Specified Location Dose not contain any information
    about your hardware"

    This inf makes registry modification as specified in
    Protocol Edge section, it looks to have some problem in
    miniport edge..

    [Version]
    Signature = "$CHICAGO$"
    Class = NetTrans
    ClassGUID = {4D36E975-E325-11CE-BFC1-08002BE10318}
    Provider = %Msft%
    DriverVer= 18/7/2003

    [ControlFlags]
    ExcludeFromSelect = MS_MUXMP

    [Manufacturer]
    %Msft% = MSFT

    [MSFT]
    %MUXP_Desc% = MUXP.ndi, MS_MUXP
    %MUXMP_Desc% = MUXMP.ndi, MS_MUXMP

    ;protocol edge
    [MUXP.ndi]
    DeviceID = MUXP
    AddReg = MUXP.ndi.AddReg
    Characteristics = 0x80 ; NCF_HAS_UI
    copyfiles =
    MUXP.CopyFiles.sys,MUXP.CopyFiles.dll
    CopyInf = mux_mp.inf

    [MUXP.ndi.AddReg]
    HKR,Ndi,DeviceID,,MUXP
    HKR,Ndi,MaxInstance,,4
    HKR,NDIS,LogDriverName,,MUXP
    HKR,NDIS,MiniportLogDriverName,,MUXMP
    HKR,NDIS,MajorNdisversion,1,03
    HKR,NDIS,MinorNdisVersion,1,0A
    HKR,Ndi,NdiInstaller,,"mux.dll"
    HKR,Ndi\Compatibility,requireAll,,"MUXMP"

    HKR, Ndi, HelpText, 0, "%
    MUXP_HELP%"
    HKR, Ndi\Interfaces, UpperRange, 0, "MUXP"
    HKR, Ndi\Interfaces, LowerRange, 0, "ndis3"

    HKR,,ProviderName,,"jyotsna"
    HKR,,Driver,,"mux.sys"
    HKR,,DevLoader,,*ndis
    HKR,,DeviceVxDs,,"mux.sys"
    HKR,,IntermediateProtocol,,1

    HKR,Ndi\InstallInf,,0,"mux_mp.inf"

    ;Miniport edge

    [MUXMP.ndi]
    DeviceID=MUXMP
    AddReg = MUXMP.ndi.AddReg
    MaxInstance=4
    Characteristics = 0x21 ;NCF_NOT_USER_REMOVABLE |
    NCF_VIRTUAL | NCF_HIDDEN
    copyfiles = MUXP.CopyFiles.DLL, MUXP.CopyFiles.sys

    [MUXMP.ndi.AddReg]
    HKR, Ndi, DeviceID,, MUXMP
    HKR, Ndi,Maxinstance,,4
    HKR,NDIS,LogDriverName,,MUXMP
    HKR,NDIS,MajorNdisversion,1,03
    HKR,NDIS,MinorNdisVersion,1,0A

    HKR,NDI\Compatibility,RequireAll,0,"MUXP"

    HKR, Ndi, HelpText, 0, "%MUXMP_HELP%"
    HKR, Ndi\Interfaces, UpperRange, 0, "ndis3,ndis4,ndis5"
    HKR, Ndi\Interfaces, LowerRange, 0, "MUXP"

    HKR, Ndi\params\VlanID, ParamDesc, 0, %VlanID%
    HKR, Ndi\params\VlanID, default, 0, "0"
    HKR, Ndi\params\VlanID, type, 0, "long"
    HKR, Ndi\params\VlanID, min, 0, "0"
    HKR, Ndi\params\VlanID, max, 0, "4095"
    HKR, Ndi\params\VlanID, step, 0, "1"
    HKR, Ndi\params\VlanID, base, 0, "10"

    HKR,Ndi\Install,,,"MUXMP.Install"


    [MUXMP.Install]
    AddReg=MUXMP.AddReg

    [MUXMP.AddReg]
    HKR,,DevLoader,,"*ndis"
    HKR,,DeviceVxDs,,"mux.sys"
    HKR,,RealClass,,Net

    [SourceDisksNames]
    1=%DiskDescription%,"",,

    [SourceDisksFiles]
    mux.sys = 1
    mux.dll = 1

    [DestinationDirs]
    DefaultDestDir = 12
    MUXP.CopyFiles.DLL = 11 ; %windir%\System32
    MUXP.CopyFiles.Sys = 11 ; %windir%\System32\drivers

    [MUXP.CopyFiles.Sys]
    mux.sys,,,2

    [MUXP.CopyFiles.DLL]
    mux.dll,,,2

    [Strings]
    Msft = "Microsoft"
    MUXMP_Desc = "Sample MUX-IM Virtual Miniport Driver"
    MUXMP_HELP = "Sample MUX-IM Virtual Miniport Instance"

    VlanID = "VLAN ID"

    MUXP_Desc = "Sample Mux-IM Protocol Driver"
    MUXP_HELP = "Sample Mux-IM Protocol"

    DiskDescription = "Microsoft MUX Sample Driver Disk"
     
    nimeesh, Jul 18, 2003
    #1
    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.