ndisuio question-urgent

Discussion in 'Windows Vista Drivers' started by r.y., May 6, 2004.

  1. r.y.

    r.y. Guest

    I have spent a lot of time on using ndisuio, I am very anxious for your help...

    I try to use Ndisuio in windows 2000 or XP.
    When I used “add hardware wizard†to install myndisuio driver, I specified the inf file location and then click ok, the system popup a dialog ,it shows â€the specifed location doesn’t contain information about your hardware â€

    Would you please help me out? Is my inf file correct

    ----------------------------------what I did-----------------------------------
    At first , my ndisuio was from windows xp ddk sp1 5.

    I did the following steps
    1 I did some modifications
    a. modified protoName (located in ntdisp.c) to “MYNDISUIOâ€

    b. Modify the NT_DEVICE_NAME and DOS_DEVICE_NAME(located in ndisuio.h file) to "MYNdisuioâ€

    c . modified target name (located in source file) to myndisui

    2 built it using the windows xp DDK Build Utility(WXP DDK sp1 51
    it built successfully

    3 modified INF file( I attached inf at the bottom

    4 When I used “add hardware wizard†to install myndisuio driver, I specified the inf file location and then click ok, the system popup a dialog ,it shows â€the specifed location doesn’t contain information about your hardware â€

    -----------------inf file --------------------------------------------------------------------
    [version
    Signature = "$Windows NT$
    Class = NetTran
    ClassGUID = {4d36e975-e325-11ce-bfc1-08002be10318
    Provider = %Msft
    LayoutFile = layout.in

    [Manufacturer
    %Msft%=MSF

    [MSFT
    %NDISUIO_Desc%=Install, MS_NDISUI

    [Install
    AddReg=Inst_Nd
    Characteristics=0x28 ; NCF_HIDDEN | NCF_NOT_USER_REMOVABL
    CopyFiles=CpyFiles_Sy

    [Inst_Ndi
    HKR,Ndi,Service,,"MYNdisuio
    HKR,Ndi,HelpText,,%NDISUIO_HelpText
    HKR, Ndi\Interfaces, UpperRange,, nouppe
    HKR,"Ndi\Interfaces","LowerRange",,"ndis5,ndis4,ndis5_uio

    [Install.Services
    AddService=MYNdisuio,,NDISUIO_Service_Ins

    [Ndisuio_Service_Inst
    DisplayName = %NDISUIO_Desc
    ServiceType = 1 ;SERVICE_KERNEL_DRIVE
    StartType = 3 ;SERVICE_MANUAL_STAR
    ErrorControl = 1 ;SERVICE_ERROR_NORMA
    ServiceBinary = %12%\MYndisuio.sy
    LoadOrderGroup = NDI
    Description = %NDISUIO_Desc

    [Install.Remove.Services
    DelService=MYNdisui

    [DestinationDirs
    CpyFiles_Sys = 12 ; DIRID_DRIVER

    [CpyFiles_Sys
    MYNdisuio.sys,,,

    [Strings
    Msft = "Microsoft
    NDISUIO_Desc = "NDIS Usermode I/O Protocol
    NDISUIO_HelpText = "A driver to support user-mode I/O on NDIS devices
     
    r.y., May 6, 2004
    #1
    1. Advertisements

  2. The Windows 2000 network class installer *might* have an issue with a
    driver name that is longer than eight characters. A long time ago I worked
    on an issue that makes me think that this might be tru, but I may be
    mistaken. Please test for yourself. Perhaps someone else in the newsgroup
    can confirm or deny.

    Make sure the driver name, service name and the protocol name match.

    Bryan S. Burgin


    This posting is provided "AS IS" with no warranties, and confers no rights.
     
    Bryan S. Burgin [MSFT], May 9, 2004
    #2
    1. Advertisements

  3. r.y.

    shawn Guest

    Install it as a protocol from the network control panal.

    Shawn

    the inf file location and then click ok, the system popup a dialog ,it
    shows "the specifed location doesn't contain information about your
    hardware "
    specified the inf file location and then click ok, the system popup a dialog
    ,it shows "the specifed location doesn't contain information about your
    hardware "
    file ---------------------------------------------------------------------
     
    shawn, May 10, 2004
    #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.